RFR: 8316927: JFR: Move shouldCommit check earlier for socket events

Alan Bateman alanb at openjdk.org
Thu Oct 12 13:07:48 UTC 2023


On Mon, 25 Sep 2023 16:57:46 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

Changes in this area only require one reviewer so it's okay to integrate if you want.

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

PR Comment: https://git.openjdk.org/jdk/pull/15908#issuecomment-1759495468


More information about the nio-dev mailing list