Blame SOURCES/rh1214835.patch

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