RFR: JDK-6396411 java.lang.management.MemoryMXBean.gc should force GC even if DisableExplicitGC is set
Alan Bateman
Alan.Bateman at oracle.com
Wed Jul 19 07:55:54 UTC 2017
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