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

Dmitry Fazunenko dmitry.fazunenko at oracle.com
Thu Apr 16 11:40:24 UTC 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-gc-dev/attachments/20150416/d7ffcc93/attachment.html>


More information about the hotspot-gc-dev mailing list