Integrated: 8316927: JFR: Move shouldCommit check earlier for socket events
Erik Gahlin
egahlin at openjdk.org
Tue Oct 17 14:03:11 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
This pull request has now been integrated.
Changeset: 6aa837ee
Author: Erik Gahlin <egahlin at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/6aa837eee62c2243689142915abcd85db85d0eed
Stats: 55 lines in 5 files changed: 26 ins; 6 del; 23 mod
8316927: JFR: Move shouldCommit check earlier for socket events
Reviewed-by: alanb, dfuchs, mgronlun
-------------
PR: https://git.openjdk.org/jdk/pull/15908
More information about the nio-dev
mailing list