RFR(XS): 8004170: G1: Verbose GC output is not getting flushed to log file using JDK 8
jesper.wilhelmsson at oracle.com
Mon Dec 3 10:34:15 PST 2012
On 2012-12-03 18:52, John Cuthbertson wrote:
> Hi Everyone,
> Can I have a couple of volunteers look over the changes for this CR - the
> webrev can be found at: http://cr.openjdk.java.net/~johnc/8004170/webrev.0/
> When we changed the G1 evacuation pause to not use instances of the TraceTime
> class we forgot to flush the GC log file (which happened during the TraceTime
> destructor). The fix is to add a flush call to
> G1CollectedHeap::log_gc_footer(). I also noticed that TraceCPUTime destructor
> does not flush the specified log file and, since it only seems to be
> instantiated from GC code, it probably should.
> GCOld with -XX:G1LogLevel=fine,finer,finest and -Xloggc. The submitter of the
> CR has also verified the fix.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 236 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/hotspot-gc-dev/attachments/20121203/d0e7a8f5/jesper_wilhelmsson.vcf
More information about the hotspot-gc-dev