-
Notifications
You must be signed in to change notification settings - Fork 849
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
OpenJDK 11 is unsupported? #218
Comments
Async-profiler does support OpenJDK 11, and it is known to work on Arch Linux. Have you tried the most recent async-profiler built from |
@apangin actually, after rebuilding the JDK with debug symbols, it worked. Maybe the error message could be improved? |
Actually, the error message in the application log is more specific:
BTW, there is async-profiler package in AUR. |
It looks like debug symbols are broken in the current package: https://bugs.archlinux.org/task/60955
|
@incubos the message in the application log is not related. When you do cpu profiling for example, the message appears, but async-profiler works well (even if accuracy is improved if you have debug symbols). My problem was with alloc profiling, which doesn't work at all without debug symbols. Also, I already linked to the archlinux bug in the description of the current issue, we are aware of it :) |
This is true that allocation profiling requires debug symbols.
So, I believe the problem is specific to Arch Linux, and is probably related to OpenJDK build environment. Normally even stripped |
Hi,
I am using openjdk 11 and when trying to profile heap allocation (with -e alloc), I get the following error:
I am using it on Archlinux (which doesn't include debug symbols unfortunately, see https://bugs.archlinux.org/task/60955)
My process is running with the following JVM args as recommended in the README:
Is this expected or am I missing something?
The text was updated successfully, but these errors were encountered: