Mercurial > hg > graal-jvmci-8
comparison src/share/vm/prims/jvmtiExport.hpp @ 1577:852d0157c696
6956931: assert(SafepointSynchronize::is_at_safepoint()) failed: must be executed at a safepoint
Reviewed-by: kvn, dcubed
author | never |
---|---|
date | Wed, 02 Jun 2010 14:23:23 -0700 |
parents | b4776199210f |
children | e9ff18c4ace7 |
comparison
equal
deleted
inserted
replaced
1576:4a2e260bb13a | 1577:852d0157c696 |
---|---|
142 } | 142 } |
143 | 143 |
144 // posts any pending CompiledMethodUnload events. | 144 // posts any pending CompiledMethodUnload events. |
145 static void post_pending_compiled_method_unload_events(); | 145 static void post_pending_compiled_method_unload_events(); |
146 | 146 |
147 // Perform the actual notification to interested JvmtiEnvs. | |
148 static void post_compiled_method_unload_internal(JavaThread* self, jmethodID mid, const void* code_begin); | |
149 | |
147 // posts a DynamicCodeGenerated event (internal/private implementation). | 150 // posts a DynamicCodeGenerated event (internal/private implementation). |
148 // The public post_dynamic_code_generated* functions make use of the | 151 // The public post_dynamic_code_generated* functions make use of the |
149 // internal implementation. | 152 // internal implementation. |
150 static void post_dynamic_code_generated_internal(const char *name, const void *code_begin, const void *code_end) KERNEL_RETURN; | 153 static void post_dynamic_code_generated_internal(const char *name, const void *code_begin, const void *code_end) KERNEL_RETURN; |
151 | 154 |
297 jint *cached_length_ptr); | 300 jint *cached_length_ptr); |
298 static void post_native_method_bind(methodOop method, address* function_ptr) KERNEL_RETURN; | 301 static void post_native_method_bind(methodOop method, address* function_ptr) KERNEL_RETURN; |
299 static void post_compiled_method_load(nmethod *nm) KERNEL_RETURN; | 302 static void post_compiled_method_load(nmethod *nm) KERNEL_RETURN; |
300 static void post_dynamic_code_generated(const char *name, const void *code_begin, const void *code_end) KERNEL_RETURN; | 303 static void post_dynamic_code_generated(const char *name, const void *code_begin, const void *code_end) KERNEL_RETURN; |
301 | 304 |
302 // used at a safepoint to post a CompiledMethodUnload event | 305 // used to post a CompiledMethodUnload event |
303 static void post_compiled_method_unload_at_safepoint(jmethodID mid, const void *code_begin) KERNEL_RETURN; | 306 static void post_compiled_method_unload(jmethodID mid, const void *code_begin) KERNEL_RETURN; |
304 | 307 |
305 // similiar to post_dynamic_code_generated except that it can be used to | 308 // similiar to post_dynamic_code_generated except that it can be used to |
306 // post a DynamicCodeGenerated event while holding locks in the VM. Any event | 309 // post a DynamicCodeGenerated event while holding locks in the VM. Any event |
307 // posted using this function is recorded by the enclosing event collector | 310 // posted using this function is recorded by the enclosing event collector |
308 // -- JvmtiDynamicCodeEventCollector. | 311 // -- JvmtiDynamicCodeEventCollector. |