RFR: 8296024: Usage of DIrectBuffer::address should be guarded [v6]

Alan Bateman alanb at openjdk.org
Tue Nov 22 09:34:36 UTC 2022


On Mon, 21 Nov 2022 15:29:11 GMT, Per Minborg <pminborg at openjdk.org> wrote:

> That is clear to me but I am trying to prevent future redundant guarding. Anyway, I will remove the comments.

The faraway use sites look much better now. The performance sensitive usages need close attention. Can you summarise the changes to DatagramChannel, are you creating a NoOpScopeAcquisition for every  send/receive? This is low level code where we do do something different to avoid the try-with-resources.

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

PR: https://git.openjdk.org/jdk/pull/11260



More information about the security-dev mailing list