RFR 8194086: Remove deprecated experimental flag UseCGroupMemoryLimitForHeap

harold seigel harold.seigel at oracle.com
Mon Jan 22 13:51:30 UTC 2018


Thanks David!

Harold

On 1/19/2018 9:02 PM, David Holmes wrote:
> 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