-
Notifications
You must be signed in to change notification settings - Fork 154
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
Cannot run JFR profiler on JDK9/macos #76
Comments
At first I thought you weren't using an Oracle JDK, but it actually is trying to parse the settings file. Odd, I haven't seen that before. Maybe the configuration format changed between JVM releases? Or did the temp file creation not work on your machine? |
I think I'll try this again on Linux in case there is macos jvm or tooling foo. Does the profiler project have public builds, where? I guess they run jdk8. |
I checked and the JDK8: JDK9: Note
|
Thanks for checking, that's super helpful! I'll add a config file for Java 9. |
I made it run on Java 9, though it won't produce flame graphs yet (see #77). That API has changed too :/ |
I noticed that I couldn't self-profile the
gradle-profiler
build (taskhelp
) when running JDK9. JDK8 works fine. I don't know yet whether this is a JDK/platform issue, or something to do with howgradle-profiler
interacts with the profiler/instrumentation.JDK/platform:
Build
gradle-profiler
then run:Output:
Cause in
profile-out/profile.log
:I've not yet been able to capture a
jfc
file or determine any cause. Please advise if any debugging or verbose logging can be added to a run.The text was updated successfully, but these errors were encountered: