RFR: 8300917: Regression 2x and bimodal startup on Mac aarch64 in b27

David Holmes dholmes at openjdk.org
Wed Feb 1 06:20:49 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.

I can't quite see the effect of the change here. You went from a synchronized instance method, to a non-synchronized static method which then immediately synchronizes on the passed in instance. ??

That aside I'm not sure what the synchronization issues are here - isn't setting the native access bit an idempotent operation?

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

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


More information about the core-libs-dev mailing list