src/hotspot/share/prims/jvmtiExport.hpp
changeset 52319 625f6c742392
parent 52225 3c12f0c0a68c
child 52354 a39d9d4ab891
equal deleted inserted replaced
52318:124af9276e44 52319:625f6c742392
   326   inline static void set_should_post_class_file_load_hook(bool on)     { _should_post_class_file_load_hook = on;  }
   326   inline static void set_should_post_class_file_load_hook(bool on)     { _should_post_class_file_load_hook = on;  }
   327   inline static bool should_post_class_file_load_hook()           {
   327   inline static bool should_post_class_file_load_hook()           {
   328     JVMTI_ONLY(return _should_post_class_file_load_hook);
   328     JVMTI_ONLY(return _should_post_class_file_load_hook);
   329     NOT_JVMTI(return false;)
   329     NOT_JVMTI(return false;)
   330   }
   330   }
       
   331   static bool is_early_phase();
       
   332   static bool has_early_class_hook_env();
   331   // Return true if the class was modified by the hook.
   333   // Return true if the class was modified by the hook.
   332   static bool post_class_file_load_hook(Symbol* h_name, Handle class_loader,
   334   static bool post_class_file_load_hook(Symbol* h_name, Handle class_loader,
   333                                         Handle h_protection_domain,
   335                                         Handle h_protection_domain,
   334                                         unsigned char **data_ptr, unsigned char **end_ptr,
   336                                         unsigned char **data_ptr, unsigned char **end_ptr,
   335                                         JvmtiCachedClassFileData **cache_ptr) NOT_JVMTI_RETURN_(false);
   337                                         JvmtiCachedClassFileData **cache_ptr) NOT_JVMTI_RETURN_(false);