Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VisualVM Profiling of JavaFX Application

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?

like image 362
JRA_TLL Avatar asked Dec 01 '14 08:12

JRA_TLL


1 Answers

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.

like image 117
eckig Avatar answered Oct 21 '22 10:10

eckig