RFR: 8361639: JFR: Incorrect top frame for I/O events
Erik Gahlin
egahlin at openjdk.org
Fri Jul 11 09:34:04 UTC 2025
On Wed, 9 Jul 2025 17:59:44 GMT, Alan Bateman <alanb 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.
I added support for adapters.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26211#discussion_r2200197667
More information about the hotspot-jfr-dev
mailing list