8161225: Assert failure in JVMTI GetNamedModule at JPLISAgent.c line: 792
Summary: Made the assert less restrictive.
Reviewed-by: dholmes, dcubed, sspitsyn
--- 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>