Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions src/coreclr/vm/clsload.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2851,14 +2851,8 @@ void ClassLoader::NotifyLoad(TypeHandle typeHnd)
{
BEGIN_PROFILER_CALLBACK(CORProfilerTrackClasses());
// We don't tell profilers about typedescs, as per IF above. Also, we don't
// tell profilers about:
if (
// ...generics with unbound variables
(!pMT->ContainsGenericVariables()) &&
// ...or array method tables
// (This check is mainly for NGEN restore, as JITted code won't hit
// this code path for array method tables anyway)
(!pMT->IsArray()))
// tell profilers about generics with unbound variables.
if (!pMT->ContainsGenericVariables())
{
LOG((LF_CLASSLOADER, LL_INFO1000, "Notifying profiler of Started1 %p %s\n", pMT, pMT->GetDebugClassName()));
// Record successful load of the class for the profiler
Expand Down