RFR: 8300917: Regression 2x and bimodal startup on Mac aarch64 in b27
Viktor Klang
duke at openjdk.org
Wed Feb 1 07:23:50 UTC 2023
On Wed, 25 Jan 2023 12:26:26 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.
src/java.base/share/classes/java/lang/Module.java line 281:
> 279:
> 280: private static boolean isNativeAccessEnabled(Module target) {
> 281: if (target.enableNativeAccess)
@minborg It'd seem a bit easier to implement using VarHandle and not having to use `synchronized`? Is the reason that you don't want to init VarHandle in this class? 🤔
-------------
PR: https://git.openjdk.org/jdk/pull/12193
More information about the core-libs-dev
mailing list