changeset 12040:5a4770b4b7bf

8161225: Assert failure in JVMTI GetNamedModule at JPLISAgent.c line: 792 Summary: Made the assert less restrictive. Reviewed-by: dholmes, dcubed, sspitsyn
author cjplummer
date Wed, 21 Sep 2016 12:53:16 -0700
parents ce26917b8cf8
children 736bbd7b1433
files src/share/vm/prims/jvmtiEnter.xsl
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/prims/jvmtiEnter.xsl	Wed Sep 21 18:40:50 2016 +0000
+++ b/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>