< prev index next >

src/hotspot/share/prims/jvmtiExport.cpp

Print this page
@@ -1074,10 +1074,20 @@
      }
    }
    return false;
  }
  
+ bool JvmtiExport::has_early_vmstart_env() {
+   JvmtiEnvIterator it;
+   for (JvmtiEnv* env = it.first(); env != nullptr; env = it.next(env)) {
+     if (env->early_vmstart_env()) {
+       return true;
+     }
+   }
+   return false;
+ }
+ 
  bool JvmtiExport::_should_post_class_file_load_hook = false;
  
  // This flag is read by C2 during VM internal objects allocation
  int JvmtiExport::_should_notify_object_alloc = 0;
  
< prev index next >