RFR: 8361639: JFR: Incorrect top frame for I/O events

Alan Bateman alanb at openjdk.org
Fri Jul 11 09:34:04 UTC 2025


On Wed, 9 Jul 2025 05:49:30 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:

> Could I have a review of the change that ensures that the top frame for I/O events is not an internal JDK method, such as FileReadEvent::offer? This change is dependent on [JDK-8361640](https://bugs.openjdk.org/browse/JDK-8361640).
> 
> Testing: tier1, tier2 + jdk/jdk/jfr
> 
> Thanks
> Erik

test/jdk/jdk/jfr/event/io/TestIOTopFrame.java line 74:

> 72:         testFileRead();
> 73:         testSocketStreams();
> 74:         testSocketChannels();

The other case is the socket adaptor, as in SocketChannel::socket.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/26211#discussion_r2195672061


More information about the hotspot-jfr-dev mailing list