[15] RFR(S) 8237045: JVM uses excessive memory with -XX:+EnableJVMCI -XX:JVMCICounterSize=2147483648

Claes Redestad claes.redestad at oracle.com
Mon Mar 16 22:35:15 UTC 2020


Hi,

+             case "MethodProfileWidth":
+                 option.addPrepend("-XX:+EnableJVMCI");
+                 break;

given that you're removing MethodProfileWidth in JDK-8240976 I'm a bit
surprised to see this here.

Otherwise looks good to me.

/Claes

On 2020-03-13 03:08, Vladimir Kozlov wrote:
> https://bugs.openjdk.java.net/browse/JDK-8237045
> http://cr.openjdk.java.net/~kvn/8237045/webrev.00/
> 
> After discussion JVMCICounterSize flag's value range is limited to 1M.
> I also added other missing ranges for JVMCI flags.
> 
> Fixed TestOptionsWithRanges.java test to add -XX:+EnableJVMCI for JVMCI 
> flags which requires it.
> And do not test max value for JVMCI threads counts values as we do for 
> other threads counts flags.
> 
> Tested hs-tier1-3.
> 
> Thanks,
> Vladimir


More information about the hotspot-compiler-dev mailing list