8161225: Assert failure in JVMTI GetNamedModule at JPLISAgent.c line: 792
authorcjplummer
Wed, 21 Sep 2016 12:53:16 -0700
changeset 41298 03f92d5ca5ec
parent 41297 9e686d23e640
child 41300 903f7ee17d80
8161225: Assert failure in JVMTI GetNamedModule at JPLISAgent.c line: 792 Summary: Made the assert less restrictive. Reviewed-by: dholmes, dcubed, sspitsyn
hotspot/src/share/vm/prims/jvmtiEnter.xsl
--- a/hotspot/src/share/vm/prims/jvmtiEnter.xsl	Wed Sep 21 18:40:50 2016 +0000
+++ b/hotspot/src/share/vm/prims/jvmtiEnter.xsl	Wed Sep 21 12:53:16 2016 -0700
@@ -487,8 +487,8 @@
 </xsl:text>
     <xsl:if test="$trace='Trace'">
       <xsl:text>    if (trace_flags) {
-          log_trace(jvmti)("[-] %s %s",  func_name, 
-                    JvmtiUtil::error_name(JVMTI_ERROR_WRONG_PHASE));
+          log_trace(jvmti)("[-] %s %s(%d)", func_name,
+                    JvmtiUtil::error_name(JVMTI_ERROR_WRONG_PHASE), JvmtiEnv::get_phase());
     }
 </xsl:text>
     </xsl:if>