changeset 9676:f6e711e276ad

PR3647: Backed out changeset 4e3ea67d3b69 (JDK-4890063/PR2305/RH1214835)
author andrew
date Fri, 15 Feb 2019 18:32:18 +0000
parents 1e35de8840b3
children 0839b7f5f978
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	Mon Jan 07 06:00:04 2019 +0000
+++ b/src/share/demo/jvmti/hprof/hprof_init.c	Fri Feb 15 18:32:18 2019 +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);
         }