Blame SOURCES/rh1214835.patch

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