Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 309551 - Last Review: July 14, 2003 - Revision: 2.3
INFO: CLR Profiling Services Problems
This article was previously published under Q309551
SUMMARY
This article provides a list of known problems with the
Common Language Runtime (CLR) Profiling Services.
MORE INFORMATION
The following problems may occur when you use the CLR
Profiling Services:
- The ObjectAllocatedbyClass callback provides only an
approximation of the number of objects that are allocated between two
consecutive garbage collections.For additional information, click the article
number below to view the article in the Microsoft Knowledge Base:
311273Â
(http://kbalertz.com/Feedback.aspx?kbNumber=311273/EN-US/
)
ObjectAllocatedByClass Callback Does Not Return the Exact Number of Objects Allocated
- A probe function that is injected by the profiler may cause
an unhandled exception if the miPreserveSig flag is not set.For
additional information, click the article number below to view the article in
the Microsoft Knowledge Base:
310827Â
(http://kbalertz.com/Feedback.aspx?kbNumber=310827/EN-US/
)
PRB: Probe Function Injected by Profiler May Cause Unhandled Exception
- The profiler may receive a just-in-time (JIT) compilation
event but not a function enter event if the function is executed on
context-bound objects.For additional information, click the article number below to
view the article in the Microsoft Knowledge Base:
310828Â
(http://kbalertz.com/Feedback.aspx?kbNumber=310828/EN-US/
)
PRB: JIT-Compilation Event Received for Method but Not FunctionEnter Event
- A method whose ID is passed to an
UnmangedToManagedTransition callback with the flag COR_PRF_TRANSITION_CALL may not be just-in-time compiled.For additional information, click the
article number below to view the article in the Microsoft Knowledge Base:
312222Â
(http://kbalertz.com/Feedback.aspx?kbNumber=312222/EN-US/
)
PRB: Profiler Does Not Receive JIT-Compilation Notifications for Method with Reason COR_PRF_TRANSITION_RETURN
- A method whose ID is passed to a
ManagedToUnmanagedTransition callback with the reason COR_PRF_TRANSITION_RETURN may be a "stub" function, and therefore the profiler will not
receive just-in-time compilation and function enter/leave events for this
method.For
additional information, click the article number below to view the article in
the Microsoft Knowledge Base:
312220Â
(http://kbalertz.com/Feedback.aspx?kbNumber=312220/EN-US/
)
Function Passed to UnmanagedToManagedTransition Callback Is Not JIT-Compiled
- The profiler may not receive transition-related
notifications in some Interop scenarios. For example, no
UnmanagedToManagedTransition will be received if CoCreateInstance results in a
managed object.For additional information, click the article number below
to view the article in the Microsoft Knowledge Base:
312225Â
(http://kbalertz.com/Feedback.aspx?kbNumber=312225/EN-US/
)
BUG: You Do Not Receive Transition-Related Notifications in Interop Scenarios
- The profiler may receive an AssemblyUnloadFinished
notification before the AssemblyLoadFinished notification if the CLR aborts the
loading of the assembly.For additional information, click the article number
below to view the article in the Microsoft Knowledge Base:
310832Â
(http://kbalertz.com/Feedback.aspx?kbNumber=310832/EN-US/
)
PRB: You Receive the AssemblyUnloadFinished Notification Before the AssemblyLoadFinished Notification
- SetILInstrumentedCodeMap may cause an access violation if
it is called from a JitCompilationStarted callback with the fJitStart flag set to "FALSE".For
additional information, click the article number below to view the article in
the Microsoft Knowledge Base:
310833Â
(http://kbalertz.com/Feedback.aspx?kbNumber=310833/EN-US/
)
SetILInstrumentedCodeMap May Cause Access Violation
- The .NET Profiling Service's remoting callbacks are
unreliable. They may provide inaccurate information or cause the application
that is being profiled to stop responding.For additional information, click
the article number below to view the article in the Microsoft Knowledge Base:
310835Â
(http://kbalertz.com/Feedback.aspx?kbNumber=310835/EN-US/
)
BUG: .NET Profiling Service Remoting Callbacks Are Unreliable
REFERENCES
For other top-hit Visual C++ .NET KB articles, visit the
following Microsoft Web site:
APPLIES TO
- Microsoft Visual C++ .NET 2003 Standard Edition
- Microsoft .NET Framework 1.1
- Microsoft Visual C++ .NET 2002 Standard Edition
- Microsoft .NET Framework 1.0
| kbinfo kbperformancetool kbreadme KB309551 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate
Be the first to leave feedback, to help others about this knowledge base
article.
(Optional) Name
(Optional)
Public URL Or Email
Comments
No
HTML -- Text Only Please