changeset 13549:48f9c0c9d8c4 icedtea-3.10.0pre01

PR3646: Backed out changeset 6e3f4784affc (PR2304)
author andrew
date Mon, 12 Nov 2018 15:34:03 +0000
parents 301e37235636
children 488c6752876a
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	Wed Oct 31 17:04:47 2018 -0300
+++ b/src/share/demo/jvmti/hprof/hprof_init.c	Mon Nov 12 15:34:03 2018 +0000
@@ -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);
         }