RFR(XXS): JDK-6883953 java -client -XX:ValueMapInitialSize=0 crashes

Coleen Phillimore coleen.phillimore at oracle.com
Thu May 15 21:22:49 UTC 2014


Hi Yuri,
Since this is a compiler change, I'm including the compiler alias.
Coleen

On 5/15/14, 11:29 AM, Yuri Gaevsky wrote:
> Hello.
>
> I am looking for a sponsor to review and to integrate this simple fix into JDK 9:
>
> $ cat hotspot.patch
> --- old/src/share/vm/runtime/arguments.cpp      2014-05-15 18:43:52.907532800 +0400
> +++ new/src/share/vm/runtime/arguments.cpp      2014-05-15 18:43:52.595018700 +0400
> @@ -2335,6 +2335,7 @@
>     status = status && verify_percentage(MarkSweepDeadRatio, "MarkSweepDeadRatio");
>   
>     status = status && verify_min_value(MarkSweepAlwaysCompactCount, 1, "MarkSweepAlwaysCompactCount");
> +  status = status && verify_min_value(ValueMapInitialSize, 1, "ValueMapInitialSize");
>   
>     if (PrintNMTStatistics) {
>   #if INCLUDE_NMT
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-6883953
> Summary: Limit ValueMapInitialSize minimal value by 1.
> Tests:  JCK-runtime-8 [api/[java_lang|java_util] & vm/] (Windows).
>
> Thank you,
> -Yuri
>



More information about the hotspot-runtime-dev mailing list