< prev index next >

src/hotspot/share/prims/jvmtiExport.cpp

Print this page

@@ -992,10 +992,20 @@
       _curr_env->Deallocate(_curr_data);
     }
   }
 };
 
+bool JvmtiExport::early_class_hook_env() {
+  JvmtiEnvIterator it;
+  for (JvmtiEnv* env = it.first(); env != NULL; env = it.next(env)) {
+    if (env->early_class_hook_env()) {
+      return true;
+    }
+  }
+  return false;
+}
+
 bool JvmtiExport::_should_post_class_file_load_hook = false;
 
 // this entry is for class file load hook on class load, redefine and retransform
 bool JvmtiExport::post_class_file_load_hook(Symbol* h_name,
                                             Handle class_loader,
< prev index next >