src/hotspot/share/prims/jvmtiExport.cpp
changeset 52319 625f6c742392
parent 52179 597ed181a9e8
child 52619 5b4242996d8c
equal deleted inserted replaced
52318:124af9276e44 52319:625f6c742392
   992       _curr_env->Deallocate(_curr_data);
   992       _curr_env->Deallocate(_curr_data);
   993     }
   993     }
   994   }
   994   }
   995 };
   995 };
   996 
   996 
       
   997 bool JvmtiExport::is_early_phase() {
       
   998   return JvmtiEnvBase::get_phase() <= JVMTI_PHASE_PRIMORDIAL;
       
   999 }
       
  1000 
       
  1001 bool JvmtiExport::has_early_class_hook_env() {
       
  1002   JvmtiEnvIterator it;
       
  1003   for (JvmtiEnv* env = it.first(); env != NULL; env = it.next(env)) {
       
  1004     if (env->early_class_hook_env()) {
       
  1005       return true;
       
  1006     }
       
  1007   }
       
  1008   return false;
       
  1009 }
       
  1010 
   997 bool JvmtiExport::_should_post_class_file_load_hook = false;
  1011 bool JvmtiExport::_should_post_class_file_load_hook = false;
   998 
  1012 
   999 // this entry is for class file load hook on class load, redefine and retransform
  1013 // this entry is for class file load hook on class load, redefine and retransform
  1000 bool JvmtiExport::post_class_file_load_hook(Symbol* h_name,
  1014 bool JvmtiExport::post_class_file_load_hook(Symbol* h_name,
  1001                                             Handle class_loader,
  1015                                             Handle class_loader,