changeset 861:8fe3fcbb3fdb

profilers: perfasm, show top 20 hottest regions.
author shade
date Fri, 27 Jun 2014 16:41:44 +0400
parents d47845518c0a
children 556673b8b4e3
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	Fri Jun 27 16:27:20 2014 +0400
+++ b/jmh-core/src/main/java/org/openjdk/jmh/profile/LinuxPerfAsmProfiler.java	Fri Jun 27 16:41:44 2014 +0400
@@ -72,7 +72,7 @@
     private static final double THRESHOLD_RATE = Double.valueOf(System.getProperty("jmh.perfasm.hotThreshold", "0.10"));
 
     /** Show this number of top hottest code regions */
-    private static final int SHOW_TOP = Integer.getInteger("jmh.perfasm.top", 10);
+    private static final int SHOW_TOP = Integer.getInteger("jmh.perfasm.top", 20);
 
     /** Cutoff threshold for large region: the region larger than this would be truncated */
     private static final int THRESHOLD_TOO_BIG = Integer.getInteger("jmh.perfasm.tooBigThreshold", 1000);