I try to profile some equinox OSGi bundles. I set up my visualVM like descripted here. I'm able to start my application and visualVM. Than I connect and start profiling. Everything seems to work. But if check the call tree. All I see is the Thread.run call. The method I would like to messure is within this thread. It looks like that I am not able to see any plugins written by myself.
These are my VM arguments:
-Dosgi.requiredJavaVersion=1.5 -Xms256m -Xmx1024m -Dosgi.console.enable.builtin=true
-Dorg.osgi.framework.bootdelegation=org.netbeans.lib.profiler,org.netbeans.lib.profiler.*
-Xbootclasspath/a:PathToVisualVM\profiler\lib\jfluid-server.jar
I checked already this but it didn't help me. If you need more information just let me know. I just don't know where to look.
Does anybody have an idea why I'm not able to see the bundle content within the Snapshot?
Sincereley