Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A thread was blocked at two objects multi times at the same time in Java Monitor Blocked event #659

Open
qsLI opened this issue Oct 20, 2022 · 4 comments

Comments

@qsLI
Copy link

qsLI commented Oct 20, 2022

As the picture shows, http-nio-21066-exec-386 thread was blocked at monitor address 0x385C1B410 and 0x2E83DB5A8,and the start time and end time is almost same. And there are four events related to 0x2E83DB5A8, with same start and end time. Is that possible?

image

@apangin
Copy link
Collaborator

apangin commented Oct 20, 2022

What was the version of JDK and the command for starting profiler?

@qsLI
Copy link
Author

qsLI commented Oct 21, 2022

What was the version of JDK and the command for starting profiler?

version (internal patched version): JAVA_VERSION 11.0.1
command: start,event=cpu,alloc=1m,lock=10ms,interval=10ms,jfrsync=/tmp/k.jfc,jfr=7,file=/tmp/profile1666343400004.jfr
CentOS Linux release 7.2.1511 (Core)
uname:Linux 4.18.0-2.4.3.kwai.x86_64 #1 SMP Fri Apr 23 14:40:10 CST 2021 x86_64
libc:glibc 2.17 NPTL 2.17
java.vm.name OpenJDK 64-Bit Server VM

Using java api in-process profling,async profiler version 2.8

@apangin
Copy link
Collaborator

apangin commented Oct 21, 2022

This does not look normal.
Is there a reliable way to reproduce the issue?

@qsLI
Copy link
Author

qsLI commented Oct 24, 2022

Currently, no stable way to reproduce.
We use async profiler in jfrsync mode continuously monitor our app performance,the blocking happens occasionally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants