[DMARC FAILURE] [11u] [JFR] RFR 8225797: OldObjectSample event creates unexpected amount of checkpoint data

Langer, Christoph christoph.langer at sap.com
Thu Jan 2 09:57:13 UTC 2020


Hi Jaroslav,

done with the next step. JDK-8214850 successfully runs through our test system. I applied it manually and came to the same result as you in your webrev (http://cr.openjdk.java.net/~jbachorik/8214850/webrev.00/) . So I'll approve and push now and will then apply and test the last prereq change JDK-8209802.

Best regards
Christoph

> -----Original Message-----
> From: Langer, Christoph
> Sent: Montag, 30. Dezember 2019 09:59
> To: Jaroslav Bachorík <jaroslav.bachorik at datadoghq.com>; jdk-updates-dev
> <jdk-updates-dev at openjdk.java.net>
> Subject: RE: [DMARC FAILURE] [11u] [JFR] RFR 8225797: OldObjectSample
> event creates unexpected amount of checkpoint data
> 
> Hi Jaroslav,
> 
> I just reviewed and tested the backport for JDK-8210024. It mostly applies,
> just one trivial resolve in thread.cpp is necessary. I end up with the same
> patch as in your webrev. Running it through jdk11u-dev build & testing shows
> no problems so I'll approve and push it now and continue with JDK-8214850.
> 
> Best regards
> Christoph
> 
> 
> > -----Original Message-----
> > From: jdk-updates-dev <jdk-updates-dev-bounces at openjdk.java.net> On
> > Behalf Of Jaroslav Bachorík
> > Sent: Freitag, 15. November 2019 16:46
> > To: jdk-updates-dev <jdk-updates-dev at openjdk.java.net>
> > Subject: [DMARC FAILURE] [11u] [JFR] RFR 8225797: OldObjectSample
> event
> > creates unexpected amount of checkpoint data
> >
> > Hi,
> >
> > I would like to get this non-trivial JFR related backport reviewed. This
> > backport is required because OldObjectSample event in the current (JDK
> 11)
> > form will cause unlimited growth of the recording thus making this event
> > unsuitable in production memory leak detection - which is its main
> purpose.
> >
> > The backport for 8225797 requires several other changes to be backported
> as
> > well. I am listing the changes and the related webrevs here in order to
> > have all the pieces in one place. The webrevs, unfortunately, are showing
> > cumulative changes, so please, disregard that information. Each webrev is
> > generated for that particular commit.
> >
> > The following tests were run successfully:
> > - jdk_tier1
> > - jdk_tier2
> > - jdk_jfr
> > - jdk_core
> >
> > ---
> >
> > Prerequisites:
> > # 8209850 : Allow NamedThreads to use GlobalCounter critical sections
> > - applied almost cleanly with only minimal changes to account for slightly
> > different code structure (patch diff -
> > http://cr.openjdk.java.net/~jbachorik/8209850/webrev.00/patch.diff)
> > JIRA .   : https://bugs.openjdk.java.net/browse/JDK-8209850
> > Webrev : http://cr.openjdk.java.net/~jbachorik/8209850/webrev.00/
> >
> > # 8209976: Improve iteration over non-JavaThreads
> > - applied almost cleanly with only minimal changes to account for slightly
> > different code structure  (patch diff -
> > http://cr.openjdk.java.net/~jbachorik/8209976/webrev.00/patch.diff)
> > - JIRA . : https://bugs.openjdk.java.net/browse/JDK-8209976
> > - Webrev : http://cr.openjdk.java.net/~jbachorik/8209976/webrev.00/
> > <http://cr.openjdk.java.net/~jbachorik/8209850/webrev.00/>
> >
> > # 8210024: JFR calls virtual is_Java_thread from ~Thread()
> > - applied almost cleanly with only minimal changes to account for slightly
> > different code structure  (patch diff -
> > http://cr.openjdk.java.net/~jbachorik/8210024/webrev.00/patch.diff)
> > - JIRA . : https://bugs.openjdk.java.net/browse/JDK-8210024
> > - Webrev : http://cr.openjdk.java.net/~jbachorik/8210024/webrev.00/
> >
> > # 8214850: Rename vm_operations.?pp files to vmOperations.?pp files
> > - applied almost cleanly with only minimal changes to account for slightly
> > different code structure  (patch diff -
> > http://cr.openjdk.java.net/~jbachorik/8214850/webrev.00/patch.diff)
> > - JIRA . : https://bugs.openjdk.java.net/browse/JDK-8214850
> > - Webrev : http://cr.openjdk.java.net/~jbachorik/8214850/webrev.00/
> >
> > # 8209802: Garbage collectors should register JFR types themselves to
> avoid
> > build errors.
> > - applied almost cleanly with only minimal changes to account for slightly
> > different code locations for g1 sources (patch diff -
> > http://cr.openjdk.java.net/~jbachorik/8209802/webrev.00/patch.diff)
> > - JIRA . : https://bugs.openjdk.java.net/browse/JDK-8209802
> > - Webrev : http://cr.openjdk.java.net/~jbachorik/8209802/webrev.00/
> >
> >
> > Backport:
> > # 8225797: OldObjectSample event creates unexpected amount of
> > checkpoint
> > data
> > - the original patch had to be accommodated to the JDK 11 status of JFR to
> > minimize the number of prerequisite backports and therefore it is slightly
> > more complex (patch diff -
> > http://cr.openjdk.java.net/~jbachorik/8225797/webrev.00/patch.diff)
> > - JIRA . : https://bugs.openjdk.java.net/browse/JDK-8225797
> > - Webrev : http://cr.openjdk.java.net/~jbachorik/8225797/webrev.00/
> >
> >
> > Thanks!
> >
> > -JB-


More information about the jdk-updates-dev mailing list