On Mon, 25 Sep 2023 16:57:46 GMT, Erik Gahlin <[email protected]> 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

I was planning to change the convenience function to take functions as 
arguments.  With this change there is a bunch of duplicated code.

I was planning to push the change for JDK-8310978 today, but I guess that will 
have to wait as it's impacted by this.

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

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

Reply via email to