src/share/vm/prims/jvmtiEnvBase.hpp

Print this page

        

@@ -160,10 +160,14 @@
 
   jvmtiCapabilities *get_capabilities()             { return &_current_capabilities; }
 
   jvmtiCapabilities *get_prohibited_capabilities()  { return &_prohibited_capabilities; }
 
+  bool early_class_hook_env() {
+    return get_capabilities()->can_generate_early_class_hook_events != 0;
+  }
+
   bool early_vmstart_env() {
     return get_capabilities()->can_generate_early_vmstart != 0;
   }
 
   static char** get_all_native_method_prefixes(int* count_ptr);