hotspot/src/share/vm/prims/jvmtiEnter.xsl
changeset 33589 7cbd1b2c139b
parent 33148 68fa8b6c4340
child 34633 2a6c7c7b30a7
--- a/hotspot/src/share/vm/prims/jvmtiEnter.xsl	Mon Oct 19 15:03:58 2015 +0200
+++ b/hotspot/src/share/vm/prims/jvmtiEnter.xsl	Thu Oct 22 13:07:10 2015 -0400
@@ -629,8 +629,8 @@
   jint trace_flags = JvmtiTrace::trace_flags(</xsl:text>
       <xsl:value-of select="@num"/>
       <xsl:text>);
-  const char *func_name;
-  const char *curr_thread_name;
+  const char *func_name = NULL;
+  const char *curr_thread_name = NULL;
   if (trace_flags) {
     func_name = JvmtiTrace::function_name(</xsl:text>
       <xsl:value-of select="@num"/>