RFR: 8266310: deadlock while loading the JNI code [v5]

Aleksei Voitylov avoitylov at openjdk.java.net
Thu May 27 14:32:07 UTC 2021


On Wed, 26 May 2021 02:36:34 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Aleksei Voitylov has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   fix whitespace
>
> src/java.base/share/classes/jdk/internal/loader/NativeLibraries.java line 497:
> 
>> 495: 
>> 496:     private static void acquireNativeLibraryLock(String libraryName) {
>> 497:         nativeLibraryLockMap.compute(libraryName, (name, lock) -> {
> 
> This would be clearer if lock were named currentLock as for releaseNLLock

David, lock is now renamed to currentLock

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

PR: https://git.openjdk.java.net/jdk/pull/3976


More information about the core-libs-dev mailing list