RFR: JDK-6396411 java.lang.management.MemoryMXBean.gc should force GC even if DisableExplicitGC is set

Ujwal Vangapally ujwal.vangapally at oracle.com
Wed Jul 19 08:57:25 UTC 2017


Thanks for the review Alan.

will update the spec and send a new webrev after getting approval for 
this fix.

-Ujwal.


On 7/19/2017 1:25 PM, Alan Bateman wrote:
> On 19/07/2017 06:20, Ujwal Vangapally wrote:
>> Hi,
>>
>> Kindly review the fix
>>
>> https://bugs.openjdk.java.net/browse/JDK-6396411
>>
>> webrev: 
>> http://cr.openjdk.java.net/~uvangapally/webrev/2017/6396411/webrev.00/
> MemoryMXBean gc() is a Java SE API so the spec update isn't 
> appropriate. If it really important to document in the javadoc how it 
> behaves with -XX:+DisableExplicitGC then that is text for an @implNote.
>
> -Alan



More information about the serviceability-dev mailing list