changeset 843:5b9c5c60a11c

profilers: disable dumping asm dump by default
author shade
date Thu, 26 Jun 2014 19:56:26 +0400
parents 0842ed1cdb69
children f742ae6dd9d6
files jmh-core/src/main/java/org/openjdk/jmh/profile/LinuxPerfAsmProfiler.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jmh-core/src/main/java/org/openjdk/jmh/profile/LinuxPerfAsmProfiler.java	Thu Jun 26 18:36:58 2014 +0400
+++ b/jmh-core/src/main/java/org/openjdk/jmh/profile/LinuxPerfAsmProfiler.java	Thu Jun 26 19:56:26 2014 +0400
@@ -375,7 +375,7 @@
         /**
          * Print annotated assembly, if needed:
          */
-        if (SAVE_ASM_OUTPUT != null) {
+        if (SAVE_ASM_OUTPUT) {
             String target = (SAVE_ASM_OUTPUT_TO_FILE == null) ?
                     SAVE_ASM_OUTPUT_TO + "/" + params.id() + ".asm" :
                     SAVE_ASM_OUTPUT_TO_FILE;