changeset 8183:1a4d0c3331bf

4890063, PR2305, RH1214835: HPROF: default text truncated when using doe=n option
author andrew
date Fri, 24 Apr 2015 17:45:59 +0100
parents 80f2e59761dd
children a5fcd1d93d68
files src/share/demo/jvmti/hprof/hprof_init.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/demo/jvmti/hprof/hprof_init.c	Tue Apr 14 21:40:47 2015 +0100
+++ b/src/share/demo/jvmti/hprof/hprof_init.c	Fri Apr 24 17:45:59 2015 +0100
@@ -1361,7 +1361,7 @@
         } rawMonitorExit(gdata->dump_lock);
 
         /* Dump everything if we need to */
-        if (gdata->dump_on_exit && need_to_dump) {
+        if (gdata->dump_on_exit || need_to_dump) {
 
             dump_all_data(env);
         }