RFR: 8226897: Provide object age with JFR OldObjectSample event
Mikhailo Seledtsov
mikhailo.seledtsov at oracle.com
Wed Nov 13 19:44:10 UTC 2019
Looks good to me. Please update copyright year on TestObjectAge.java
prior to integration.
Misha
On 11/11/19, 11:11 AM, Erik Gahlin wrote:
> Hi,
>
> Could I have a review of this fix that adds object age to the Old
> Object Sample event.
>
> Example usage:
>
> $ jfr print --events OldObjectSample recording.jfr
> jdk.OldObjectSample {
> startTime = 19:00:04.543
> allocationTime = 18:59:41.395
> objectAge = 23,148 s
> lastKnownHeapUsage = 983,1 kB
> object = [
> java.lang.Class Class Name: java.awt.Conditional
> ]
> arrayElements = N/A
> root = N/A
> eventThread = "AWT-EventQueue-0" (javaThreadId = 34)
> }
> ...
>
> Webrev: http://cr.openjdk.java.net/~egahlin/8226897/
> Bug: https://bugs.openjdk.java.net/browse/JDK-8226897
> Testing: test/jdk/jdk/jfr
>
> Thanks
> Erik
>
More information about the hotspot-jfr-dev
mailing list