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

is https://github.com/async-profiler/async-profiler/issues/154 already fixed in latest async profiler? #850

Closed
zdyj3170101136 opened this issue Nov 29, 2023 · 3 comments

Comments

@zdyj3170101136
Copy link

i find that in #154.

seems start async profiler, use asprof start or asprof stop would possible crash JVM.

only -agentpath could fix this problem, is this right?

@zdyj3170101136
Copy link
Author

i use this command to continous profiling, every 60 minutes run once.

asprof start --cstack dwarf -d 59 -o jfr -f /tmp/pid.jfr pid
asprof stop pid

@zdyj3170101136
Copy link
Author

https://bugs.openjdk.org/browse/JDK-8212155 is only fixed in java 17, this means i should stop all async profiler in prod, cause my java version is 1.8.

is there any possible way to fix problem 154 by not upgrading the process java version.

@apangin
Copy link
Collaborator

apangin commented Nov 29, 2023

Creating a new issue to discuss an existing one is an abuse of GitHub issues (sorry, just mentioned that as it's not the first time I notice this pattern). Please comment on an existing ticket or start a discussion on the corresponding GitHub section.

As to the question - the referenced issue has all the information: it's a JVM bug and has been fixed in OpenJDK. Creating a workaround in async-profiler is feasible, but is not our top priority, since the bug is very rare and occurs only on old JDK versions.

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