RFR: 8301578: Perform output outside synchronization in Module.class [v6]
Alan Bateman
alanb at openjdk.org
Fri Feb 10 08:56:46 UTC 2023
On Thu, 9 Feb 2023 16:46:08 GMT, Per Minborg <pminborg at openjdk.org> wrote:
>> This PR proposed to reduce contention in synchronized methods mainly by doing I/O operations outside synch blocks.
>
> Per Minborg has updated the pull request incrementally with one additional commit since the last revision:
>
> Undo more unintended edits
I think this is a good cleanup overall.
src/java.base/share/classes/java/lang/Module.java line 288:
> 286: * in the outer Module class as that would create a circular initializer dependency.
> 287: */
> 288: private static final class EnableNativeAccessHandler {
I see this has been renamed EnableNativeAccessHandler, maybe drop "Handler" as it just sets the enableNativeAccess bit, nothing more.
-------------
PR: https://git.openjdk.org/jdk/pull/12193
More information about the core-libs-dev
mailing list