RFR: 8316927: JFR: Move shouldCommit check earlier for socket events [v2]

Erik Gahlin egahlin at openjdk.org
Tue Oct 17 10:39:34 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

Erik Gahlin has updated the pull request incrementally with one additional commit since the last revision:

  Update microbenchmark

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15908/files
  - new: https://git.openjdk.org/jdk/pull/15908/files/3b398bc4..185f6bfa

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=15908&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=15908&range=00-01

  Stats: 8 lines in 1 file changed: 6 ins; 0 del; 2 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