Article ID: 312220 - Last Review: January 16, 2006 - Revision: 4.1

The functionId that is passed to UnmanagedToManagedTransition callback is not JIT-compiled in Visual C++ .NET or in Visual C++ 2005

This article was previously published under Q312220
Expand all | Collapse all

SYMPTOMS

When the profiler receives an UnmanagedToManagedTransition notification with reason COR_PRF_TRANSITION_CALL, the functionId that is passed to the callback may correspond to a managed function that is not yet Just In Time (JIT)-compiled. Therefore, when you use this functionId in any ICorProfilerInfo methods to retrieve information about the corresponding managed function, you may experience failures.

CAUSE

This behavior can occur if the managed function is not available (it is not yet JIT-compiled).

For additional information about CLR profiling, click the article number below to view the article in the Microsoft Knowledge Base:
309551  (http://support.microsoft.com/kb/309551/EN-US/ ) INFO: CLR Profiling Services Problems

STATUS

This behavior is by design.

APPLIES TO
  • Microsoft Visual C++ .NET 2002 Standard Edition
  • Microsoft .NET Framework 1.0
  • Microsoft Visual C++ .NET 2003 Standard Edition
  • Microsoft .NET Framework 1.1
  • Microsoft Visual C++ 2005 Express Edition
Keywords: 
kbperformancetool kbprb KB312220
 

Article Translations