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.”

Thanks,
/Staffan

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.")                   \

Reply via email to