[foreign-memaccess+abi] RFR: Fix sonar issues and thread safety bug

Per Minborg pminborg at openjdk.org
Tue Oct 10 12:41:54 UTC 2023


On Tue, 10 Oct 2023 10:11:04 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> This PR proposes some fix of Sonar warnings and a thread safety issue.
>
> src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/windows/WindowsAArch64Linker.java line 52:
> 
>> 50: 
>> 51:     public static WindowsAArch64Linker getInstance() {
>> 52:         class Holder {
> 
> I suppose that is the multi-threaded fix?

Yes

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

PR Review Comment: https://git.openjdk.org/panama-foreign/pull/906#discussion_r1352392378


More information about the panama-dev mailing list