RFR 8221507: Implement JFR Events for Shenandoah

Erik Gahlin erik.gahlin at oracle.com
Sat May 4 21:16:00 UTC 2019


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.

That said, tests never hurts, even if they are experimental. I think 
test/jdk/jdk/jfr/event/gc/detailed would be a good place

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