Mercurial > hg > graal-jvmci-8
comparison src/share/vm/prims/jvmtiExport.hpp @ 2301:f91db74a6810
7017640: Fix for 6766644 deadlocks on some NSK tests when running with -Xcomp
Summary: Dynamic-code generated events should be deferred and processed by service thread
Reviewed-by: dsamersoff, dcubed
author | kamg |
---|---|
date | Sat, 26 Feb 2011 13:33:23 -0500 |
parents | bf8517f4e4d0 |
children | f6f3bb0ee072 |
comparison
equal
deleted
inserted
replaced
2265:162b62460264 | 2301:f91db74a6810 |
---|---|
138 static void post_field_modification(JavaThread *thread, methodOop method, address location, | 138 static void post_field_modification(JavaThread *thread, methodOop method, address location, |
139 KlassHandle field_klass, Handle object, jfieldID field, | 139 KlassHandle field_klass, Handle object, jfieldID field, |
140 char sig_type, jvalue *value); | 140 char sig_type, jvalue *value); |
141 | 141 |
142 | 142 |
143 private: | |
144 // posts a DynamicCodeGenerated event (internal/private implementation). | 143 // posts a DynamicCodeGenerated event (internal/private implementation). |
145 // The public post_dynamic_code_generated* functions make use of the | 144 // The public post_dynamic_code_generated* functions make use of the |
146 // internal implementation. | 145 // internal implementation. Also called from JvmtiDeferredEvent::post() |
147 static void post_dynamic_code_generated_internal(const char *name, const void *code_begin, const void *code_end) KERNEL_RETURN; | 146 static void post_dynamic_code_generated_internal(const char *name, const void *code_begin, const void *code_end) KERNEL_RETURN; |
148 | 147 |
148 private: | |
149 | 149 |
150 // GenerateEvents support to allow posting of CompiledMethodLoad and | 150 // GenerateEvents support to allow posting of CompiledMethodLoad and |
151 // DynamicCodeGenerated events for a given environment. | 151 // DynamicCodeGenerated events for a given environment. |
152 friend class JvmtiCodeBlobEvents; | 152 friend class JvmtiCodeBlobEvents; |
153 | 153 |