RFR: 8241881: ZGC: Add tests for JFR events

Erik Gahlin erik.gahlin at oracle.com
Tue Mar 31 14:46:04 UTC 2020


Hi Per,

Would it be possible to verify the values in the event? 

I don’t understand the semantics of the events, so it is hard for me to suggest what should actually be verified, but some sort of sanity check seems reasonable. For example, can capacityBefore be less than capacityAfter, or vice versa, in ZUncommit. 

Thanks
Erik

> On 30 Mar 2020, at 22:38, Per Liden <per.liden at oracle.com> wrote:
> 
> Add tests for the newly added ZGC-specific JFR events that we intend to make non-experimental as part of JEP 377. These events are:
> 
> ZAllocationStall
> ZPageAllocation
> ZPageCacheFlush
> ZRelocationSet
> ZRelocationSetGroup
> ZUncommit
> 
> Bug: https://bugs.openjdk.java.net/browse/JDK-8241881
> Webrev: http://cr.openjdk.java.net/~pliden/8241881/webrev.0
> 
> /Per




More information about the hotspot-gc-dev mailing list