src/share/vm/prims/jvmtiExport.cpp
Print this page
*** 663,673 ****
}
}
}
void post_to_env(JvmtiEnv* env, bool caching_needed) {
! if (env->phase() == JVMTI_PHASE_PRIMORDIAL) {
return;
}
unsigned char *new_data = NULL;
jint new_len = 0;
// EVT_TRACE(JVMTI_EVENT_CLASS_FILE_LOAD_HOOK,
--- 663,673 ----
}
}
}
void post_to_env(JvmtiEnv* env, bool caching_needed) {
! if (env->phase() == JVMTI_PHASE_PRIMORDIAL && !env->early_class_hook_env()) {
return;
}
unsigned char *new_data = NULL;
jint new_len = 0;
// EVT_TRACE(JVMTI_EVENT_CLASS_FILE_LOAD_HOOK,