Xloggc as manageable flag
Bengt Rutisson
bengt.rutisson at oracle.com
Mon Jun 8 07:23:19 UTC 2015
Hi Jakub,
On 2015-06-06 11:31, Jakub Kubrynski wrote:
> Hi,
>
> currently we can turn on GC logging in runtime by using jinfo. It
> helps a lot when we have to investigate gc related problems without
> restarting the JVM. But currently we cannot set gc log filename in
> other way than specifying -Xloggc. Maybe it'll be good idea to provide
> some modern manageable flag like -XX:GCLogFileName?
We are currently working on a new logging framework. That work is being
tracked in this JEP:
JEP 158: Unified JVM Logging
http://openjdk.java.net/jeps/158
As part of that work it will be possible to configure the logging during
runtime, as stated by this bullet:
"Logging can be configured dynamically at runtime via jcmd or MBeans"
Thanks,
Bengt
>
> --
> Best regards,
> Jakub Kubrynski
More information about the hotspot-gc-dev
mailing list