-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[GR-38579] Add support for ManagementFactory.getThreadMXBean().dumpAllThreads() #4714
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
Comments
Any chances of this getting implemented? It would help a lot with debugging performance problems. |
If you are looking into time spend on CPU, I would suggest using NOTE: I did get better results with |
Thanks for the advice, but my use case is somewhat different. I've developed a program for end users which I converted to Native Image. Previously when debugging performance issues I could have them just click a button which would log the stack trace in the log and they could send the log to me. Now asking them to run per inside a docker container is a bit more complex :-) |
I guess as an alternative you could use |
Didn't know that would work with graal, will try it out. Thanks!
Why would this work but not the other call? I wouldve thought it's
basically the same.
…On Mon, 19 Feb 2024, 16:33 SergejIsbrecht, ***@***.***> wrote:
I guess as an alternative you could use Thread.getAllStackTraces() to
write everything out to a file?
—
Reply to this email directly, view it on GitHub
<#4714 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADNUA6OEI7XJI7T546UWQWLYUNWDLAVCNFSM53H27XMKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJVGI3TANZVGM3Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
For Spring Actuator it's the same, it uses |
Right now,
ManagementFactory.getThreadMXBean().dumpAllThreads()
throws acom.oracle.svm.core.jdk.UnsupportedFeatureError
. Would be great if it could really do a thread dump.GraalVM: 22.1
The text was updated successfully, but these errors were encountered: