VisualVM Profiling of JavaFX Application

2k views Asked by At

I am trying to CPU profile a JavaFX 8 application with VisualVM (Java 8). While CPU sampling works fine, when starting CPU profiling, the application just hangs and VisualVM reports as status "profiling running (0 methods instrumented)".

I tried to limit profiling to my appĀ“s classes, but to no avail. Am I missing something?

1

There are 1 answers

9
eckig On BEST ANSWER

Most probably this is caused by lambda expression(s). Currently they are constantly throwing ClassNotFoundExceptions, see the bug report over here: https://java.net/jira/browse/VISUALVM-601

Updated: With the Version 1.3.9 this issue has been resolved.