Deadlock when loading JNI code after updating to openjdk 11.0.11

Andrew Haley aph at
Thu Apr 29 08:33:49 UTC 2021

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
looks like it might be relevant. But if the OP can reproduce the bug,
let's have it.

Andrew Haley  (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671

More information about the jdk-updates-dev mailing list