RFR (L): 8046148: JEP 158 Unified JVM Logging

Chris Newland cnewland at chrisnewland.com
Wed Sep 9 07:48:49 UTC 2015

Hi Marcus,

Thanks for your answers.

The nested XML structure of LogCompilation supports the description of
arbitrarily complicated JIT parsing chains.

The JIT compiler can log the start of a compilation with an opening XML
tag and then hand off to the various subsystems (inlining, escape
analysis, reg alloc etc.) which output child XML nodes and once they
return the parent tag is closed.

Do you have any thoughts on how this could be acheived in a non-XML format?

Kind regards,


>> Once implemented, will the current output formats still be available?
> Currently there is no specific support for XML output in the unified
> logging framework. Output can be directed either to stdout, stderr or plain
> text files. I'm not entirely sure how the migration of the XML logging
> will be done. Perhaps it will be preceded by an RFE to add better support
> for XML outputs in the unified logging framework, or it might just be
> treated as a regular text file.
> Thanks,
> Marcus

More information about the hotspot-dev mailing list