Community
Participate
Working Groups
m_pOwnerClass->StaticInitializerEmitted();
}
TResult res = m_instrumentor.ApplyInstrumentation();
TResult res;
try
{
res = m_instrumentor.ApplyInstrumentation();
catch (CModuleException e)
//TODO: log an error to the log file
res = MRTE_ERROR_FAIL;
return res;
*/
res = InstrumentAllocSites(pJavaClass, cpObjAllocCallback, cpArrayAllocCallback,
classInfo);
if (MRTE_ERROR_FAIL == res)
LOG_INFORMATIVE1("CHeapAdaptor", 0, false, "Internal error when instrumenting "
"class %s. Class will not be instrumented", szClassName);
else
// Finalize
pInstIter->Free();
res = pMethod->ApplyInstrumentation();
} // if (method information available)
DeallocateJavaMethodInfo(&javaMethodInfo);
if (res == MRTE_ERROR_FAIL)
break;
} // end of while (more methods to process)
pMethIter->Free();