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

Alan Bateman alanb at openjdk.org
Mon Nov 21 12:21:56 UTC 2022


On Mon, 21 Nov 2022 12:16:01 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> Eventually, I hope most of them will be named `_`.
>
> maybe just `bufferLock` and and just `acquireBuffer` ?

Would it be possible to re-examine acquireSession returning Runnable and 
acquireSessionAsAutoCloseable returning AutoCloseable. The naming is awkward at most of the use sites and maybe we can do better.

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

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



More information about the security-dev mailing list