RFR (XS): 8200730: Fix debug=gc+phases time tracking in Remark and Cleanup
thomas.schatzl at oracle.com
Wed Apr 4 12:26:09 UTC 2018
can I have reviews to let the recently introduced timing measurements
in Remark and Cleanup pauses actually show useful numbers?
The problem is that the GCTraceTime instances were not assigned to a
variable inside a scope so the compiler immediately destructed it,
always giving "0.000ms" lengths.
Also added to use the gc timer to these lines for JFR support.
I would like to think this is a trivial change.
manual verification that the shown numbers are sane
More information about the hotspot-gc-dev