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

serguei.spitsyn at oracle.com serguei.spitsyn at oracle.com
Thu Jun 18 10:11:42 UTC 2015


It looks good to me.

Thanks,
Serguei


On 6/18/15 1:56 AM, Staffan Larsen wrote:
> 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.")                   \
>



More information about the hotspot-runtime-dev mailing list