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

Markus Grönlund mgronlun at openjdk.org
Tue Oct 17 13:00:24 UTC 2023


On Tue, 17 Oct 2023 10:39:34 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:

>> 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

Marked as reviewed by mgronlun (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/15908#pullrequestreview-1682264504


More information about the hotspot-jfr-dev mailing list