Blame rh1214835.patch

74b02f
# HG changeset patch
74b02f
# User andrew
74b02f
# Date 1429893959 -3600
74b02f
#      Fri Apr 24 17:45:59 2015 +0100
74b02f
# Node ID 6e3f4784affc0de360d763ad69979690b2650a98
74b02f
# Parent  75acb9c0991bc118463debed137d38ce40358bc0
74b02f
4890063, PR2304, RH1214835: HPROF: default text truncated when using doe=n option
74b02f
74b02f
diff -r 75acb9c0991b -r 6e3f4784affc src/share/demo/jvmti/hprof/hprof_init.c
74b02f
--- openjdk/jdk/src/share/demo/jvmti/hprof/hprof_init.c	Thu Jun 04 18:00:35 2015 +0100
74b02f
+++ openjdk/jdk/src/share/demo/jvmti/hprof/hprof_init.c	Fri Apr 24 17:45:59 2015 +0100
74b02f
@@ -1361,7 +1361,7 @@
74b02f
         } rawMonitorExit(gdata->dump_lock);
74b02f
 
74b02f
         /* Dump everything if we need to */
74b02f
-        if (gdata->dump_on_exit && need_to_dump) {
74b02f
+        if (gdata->dump_on_exit || need_to_dump) {
74b02f
 
74b02f
             dump_all_data(env);
74b02f
         }