How to profile in jdk9?

Weijun Wang weijun.wang at oracle.com
Fri Mar 17 10:43:20 UTC 2017


Sorry if the question reveals my ignorance.

I need to profile with the latest jdk9 but everything I tried does not work:

- hprof gone

- try jvisualvm 1.3.9 but does not work with jdk9+161 on my Ubuntu. Even 
if I added 2 --add-opens still got a blank window because "cannot load 
even default layout".

- netbeans 20170316 always shows "java.lang.IllegalArgumentException: 
Root cannot be null" whenever I want to run/debug/profile a program.

What shall I do?

Thanks
Max


More information about the core-libs-dev mailing list