RFR: JDK-8122944 perfdata used is seen as too high on sparc zone with jdk1.9 and causes a test failure

Staffan Larsen staffan.larsen at oracle.com
Thu Jun 18 08:56:24 UTC 2015

This test is failing on machines with lots of CPUs since we create lots of compiler threads and there are 4 perf counters for each compiler thread. This eats memory.

A simple solution is to just bump the default for PerfDataMemorySize from 32K to 64K - "that should be enough for everyone.”


bug: https://bugs.openjdk.java.net/browse/JDK-8122944

diff --git a/src/share/vm/runtime/globals.hpp b/src/share/vm/runtime/globals.hpp
--- a/src/share/vm/runtime/globals.hpp
+++ b/src/share/vm/runtime/globals.hpp
@@ -3733,7 +3733,7 @@
   product(bool, PerfDisableSharedMem, false,                                \
           "Store performance data in standard memory")                      \
-  product(intx, PerfDataMemorySize, 32*K,                                   \
+  product(intx, PerfDataMemorySize, 64*K,                                   \
           "Size of performance data memory region. Will be rounded "        \
           "up to a multiple of the native os page size.")                   \

More information about the serviceability-dev mailing list