Skip to content

JVM hang suddenly with jdk version 1.8.0_312 #912

@xijiu

Description

@xijiu

Please provide a brief summary of the bug

Our online Kafka Broker service suddenly hung up, and it's occurs with low probability and without any time regularity. no error and no logs

The command "jstack [pid]" no response, then I print the stack trace with command "jstack -m [pid]", and I found all threads state are BLOCKED, include VM Thread.

VM Thread stack:
ox0000ffff99f4da8c __pthread_cond_wait
ox0000ffff997c014c _ZN2os13PlatformEvent4parkEv
ox0000ffff9976f014 _ZN7Monitor5IWaitEP6Thread1
ox0000ffff9976faf0 _ZN7Monitor4waitEblb
ox0000ffff999355dc _ZN20SuspendibleThreadSet11synchronizeEv
ox0000ffff99858a68 _ZN20SafepointSynchronize5beginEv
ox0000ffff999d3124 _ZN8VMThread4loopEv
ox0000ffff999d3458 _ZN8VMThread3runEv
ox0000ffff997b8204 _ZL10java_startP6Thread
ox0000ffff99f47800 start_thread

I'm not sure whether this is a JVM bug. STS call synchronize() stuck.

Please provide steps to reproduce where possible

no crash log, the JVM stuck

Expected Results

JVM run normaly

Actual Results

JVM stuck

What Java Version are you using?

openjdk version "1.8.0_312" OpenJDK Runtime Environment (build 1.8.0_312-b07) OpenJDK 64-Bit Server VM (build 25.312-b07, mixed mode)

What is your operating system and platform?

Linux on aarch64

How did you install Java?

a binary archive (tar.gz)

Did it work before?

it's occurs with low probability and without any time regularity. 
it occurs 3 times in half year (20 machines)

Did you test with the latest update version?

no

Did you test with other Java versions?

no

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions