RFR(s): 8073476: G1 logging ignores changes to PrintGC* flags via MXBeans

Jesper Wilhelmsson jesper.wilhelmsson at oracle.com
Thu Apr 16 12:18:29 UTC 2015


Looks good!

Thanks for fixing this!
/Jesper

Dmitry Fazunenko skrev den 16/4/15 13:40:
> Hello,
>
> Would you review a simple fix in G1.
>
> Short description:
> after introduction G1Log - dynamic changes of PrintGC and PrintGCDetails flag
> has no effect anymore, because G1Log looks for these flags during initialization
> only. The fix: sync the log level with the flags values.
>
> A huge thanks to Jesper who helped me a lot with my first product fix.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8073476
> Webrev: http://cr.openjdk.java.net/~dfazunen/8073476/webrev.06/
>
>
> Testing:
> I ran manually the test from the bug report to make sure the change fixes the
> problem.
> A regression test will be delivered separately as a fix of JDK-8077056
> <https://bugs.openjdk.java.net/browse/JDK-8077056>
>
> Thanks,
> Dima


More information about the hotspot-gc-dev mailing list