RFR 8221507: Implement JFR Events for Shenandoah
Ken Dobson
kdobson at redhat.com
Fri May 10 16:58:00 UTC 2019
Thanks everyone for their reviews. I've added tests similar to the tests
for the G1 events as well as addressed the changes that Erik recommended.
Here is the new webrev:
http://cr.openjdk.java.net/~kdobson/shenandoaheventswithtests/webrev/
Please let me know if there's anything else that should be addressed.
Thanks,
Ken Dobson
On Mon, May 6, 2019 at 11:38 AM <mikhailo.seledtsov at oracle.com> wrote:
>
>
> On 5/4/19 2:16 PM, Erik Gahlin wrote:
> > On 2019-05-04 00:19, mikhailo.seledtsov at oracle.com wrote:
> >> Hi,
> >>
> >> If possible and feasible, could you please implement tests for new
> >> events?
> >>
> >> Please place the tests under test/jdk/jdk/jfr/event/gc/. Perhaps
> >> create a "shenandoah" subfolder.
> >>
> >> If the events are too hard to test or not feasible, please add the
> >> event names to
> >> test/jdk/jdk/jfr/event/metadata/TestLookForUntestedEvents.java, to
> >> the hardToTestEvents set. Consider commenting why it is too hard to
> >> test.
> >
> > If events are are marked experimental, tests are ignored by
> > TestLookForUntestedEvents. java, so we should not add them to the
> > hardToTestEvents set. That may help them pass under the radar once the
> > experimental attribute is removed.
> Thank you. If the events are "experimental" this approach makes sense.
> Once the experimental status is removed, the
> TestLookForUntestedEvents.java should be able to notice if the event is
> not covered by tests.
> > That said, tests never hurts, even if they are experimental. I think
> > test/jdk/jdk/jfr/event/gc/detailed would be a good place
> +1
>
> Thank you,
> Misha
> >
> > Erik
> >
> >>
> >> Also, please make sure to run all jfr tests under test/jdk/jdk/jfr/
> >> prior to integration.
> >>
> >>
> >> Best regards,
> >>
> >> Misha
> >>
> >>
> >>
> >> On 5/3/19 7:44 AM, Ken Dobson wrote:
> >>> Hi all,
> >>>
> >>> Please review this patch that adds support for two new JFR events
> >>> ShenandoahHeapRegionStateChange and ShenandoahHeapRegionInformation.
> >>>
> >>> Bug: https://bugs.openjdk.java.net/browse/JDK-8221507
> >>> Webrev: http://cr.openjdk.java.net/~kdobson/53476/webrev/
> >>>
> >>> The Shenandoah team has also reviewed this patch and approved it
> >>> from their
> >>> end.
> >>>
> >>> Thanks,
> >>>
> >>> Ken Dobson
> >>
> >
>
>
More information about the jmc-dev
mailing list