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

show-busy-java-threads: jdk21没有展示stack信息 #120

Closed
jianyun opened this issue Feb 2, 2024 · 6 comments
Closed

show-busy-java-threads: jdk21没有展示stack信息 #120

jianyun opened this issue Feb 2, 2024 · 6 comments
Assignees

Comments

@jianyun
Copy link

jianyun commented Feb 2, 2024

jdk21

+ printf '\e[1;%sm%s\e[0m\n' 31 'Error: No java process found!'
Error: No java process found!
@jianyun
Copy link
Author

jianyun commented Feb 5, 2024

alpine 基础镜像

@oldratlee
Copy link
Owner

oldratlee commented Feb 5, 2024

@jianyun

  • 能确认有Java进程吗?给一下检查内容
  • 另外可以给一下你的
    • 运行方式
    • 和 debug运行输出(bash -x show-busy-java-threads

@jianyun
Copy link
Author

jianyun commented Feb 18, 2024

20240218094257541
Alpine_jdk21.txt

centos_jdk21.txt
升级了新的脚本还是获取不到

@jianyun
Copy link
Author

jianyun commented Feb 18, 2024

20240218094730172

oldratlee added a commit that referenced this issue Feb 18, 2024
Java21 changed the format of stack title line

#120
@oldratlee
Copy link
Owner

oldratlee commented Feb 18, 2024

解决了 Java 21 没有 stack信息问题:

oldratlee added a commit that referenced this issue Feb 18, 2024
Java21 changed the format of stack title line

#120
@jianyun
Copy link
Author

jianyun commented Feb 18, 2024

点赞,可以了

@jianyun jianyun closed this as completed Feb 18, 2024
@oldratlee oldratlee changed the title jdk21 show-busy-java-threads: jdk21没有展示stack信息 Feb 18, 2024
@oldratlee oldratlee self-assigned this Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants