RFR: 8316927: JFR: Move shouldCommit check earlier for socket events
Erik Gahlin
egahlin at openjdk.org
Tue Sep 26 05:11:36 UTC 2023
Hi,
The events for socket read and socket write retrieves the remote address even in cases where the event didn't exceed the threshold. By moving the shouldCommit check earlier, it can be avoided.
Testing: jdk/jdk/jfr
Thanks
Erik
-------------
Commit messages:
- Socket write event
- Initial
Changes: https://git.openjdk.org/jdk/pull/15908/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15908&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8316927
Stats: 47 lines in 4 files changed: 20 ins; 6 del; 21 mod
Patch: https://git.openjdk.org/jdk/pull/15908.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/15908/head:pull/15908
PR: https://git.openjdk.org/jdk/pull/15908
More information about the hotspot-jfr-dev
mailing list