When analyzing JFR recordings via the Java API, comparing RecordedFrame objects using HashSet or equals/hashCode doesn't work as expected. Frames are inlined structs (each a distinct object), while methods are stored as shared references, so RecordedMethod equality works but RecordedFrame equality doesn't. Since RecordedObject
Table of contents
ExampleThe Number of Unique Methods and FramesFrames and the Safepoint BiasFrames and EqualityMain DifferenceA Wrapper to Compare Them AllConclusionAuthorRelated Posts:Sort: