Deadlock when loading JNI code after updating to openjdk 11.0.11

Aleksei Voitylov aleksei.voitylov at bell-sw.com
Thu Apr 29 16:59:30 UTC 2021


I'm on it, creating a standalone test/reproducer now:
https://bugs.openjdk.java.net/browse/JDK-8266310

On 29/04/2021 11:33, Andrew Haley wrote:
> On 4/29/21 8:19 AM, Norman Maurer wrote:
>> In netty we have a bunch of JNI code that is loaded during initialisation. Yesterday a user reported that after upgrading from openjdk 11.0.10 to 11.0.11 he often see a deadlock while loading the JNI code. 
>> After looking at the stack trace it seems like all of this is really happening in “java land” and so looks more like a openjdk bug / regression than a netty bug. 
>> Any idea what could have caused this ?
> It's the sort of thing that could have been caused by something quite
> innocuous.
>
> http://hg.openjdk.java.net/jdk-updates/jdk11u-dev/rev/c82c3d65c256
> looks like it might be relevant. But if the OP can reproduce the bug,
> let's have it.
>


More information about the jdk-updates-dev mailing list