RFR 8194086: Remove deprecated experimental flag UseCGroupMemoryLimitForHeap

David Holmes david.holmes at oracle.com
Sat Jan 20 02:02:41 UTC 2018


Looks good Harold!

As this flag has moved directly from deprecated to expired and is now 
deleted from the flag table, there is no need to wait for the actual JDK 
11 version bump before pushing this.

Thanks,
David

On 20/01/2018 7:00 AM, harold seigel wrote:
> Hi,
> 
> Please review this small JDK-11 change to remove deprecated experimental 
> option UseCGroupMemoryLimitForHeap.
> 
> Open Webrev: 
> http://cr.openjdk.java.net/~hseigel/bug_8194086/webrev/index.html
> 
> JBS Bug: https://bugs.openjdk.java.net/browse/JDK-8194086
> 
> The change was tested by hand:
> 
>      > java -XX:+UseCGroupMemoryLimitForHeap -version
>     Unrecognized VM option 'UseCGroupMemoryLimitForHeap'
>     Error: Could not create the Java Virtual Machine.
>     Error: A fatal exception has occurred. Program will exit.
> 
>      > java -XX:-UseCGroupMemoryLimitForHeap -version
>     Unrecognized VM option 'UseCGroupMemoryLimitForHeap'
>     Error: Could not create the Java Virtual Machine.
>     Error: A fatal exception has occurred. Program will exit.
> 
> Additionally, JPRT and Mach5 t1 - t5 tests were run to check for any 
> tests that might rely on the option.
> 
> Thanks, Harold
> 
> 


More information about the hotspot-runtime-dev mailing list