diff 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
line wrap: on
line diff
--- a/src/share/vm/prims/jvmtiExport.hpp	Thu Feb 24 21:38:37 2011 -0500
+++ b/src/share/vm/prims/jvmtiExport.hpp	Sat Feb 26 13:33:23 2011 -0500
@@ -140,12 +140,12 @@
                                       char sig_type, jvalue *value);
 
 
- private:
   // posts a DynamicCodeGenerated event (internal/private implementation).
   // The public post_dynamic_code_generated* functions make use of the
-  // internal implementation.
+  // internal implementation.  Also called from JvmtiDeferredEvent::post()
   static void post_dynamic_code_generated_internal(const char *name, const void *code_begin, const void *code_end) KERNEL_RETURN;
 
+ private:
 
   // GenerateEvents support to allow posting of CompiledMethodLoad and
   // DynamicCodeGenerated events for a given environment.