Welcome to the VisualVM/Feedback chat. Let's share your feedback and discuss with the VisualVM developers and community!
anybody there?
Jiri Sedlacek
Hi - feel free to leave your feedback or comments here. Thanks!
hi Jiri, could you please take a look at oracle/visualvm#24 ?
Jiri Sedlacek
Sure - added a comment to the bugreport.
Thx, Jiri could you please check my last comment?
Falko Modler

Hi! I am trying to use Startup Profiler plugin to profile a maven plugin execution. The connection succeeds and VisualVM is doing something (the progress bar "Profiler is busy" pops up a couple of times) but it does not display any live data.
At the end of the execution VisualVM asks whether or not to take a snapshot but nothing happens when confirming.
I couldn't find any errors in the logfile.
What am I doing wrong?

VisualVM 1.3.9, --jdkhome ... and are set appropriately.

Java version: 1.8.0_102, vendor: Oracle Corporation
Java home: C:\Develop\CCS\jdk1.8.0_102\jre
Default locale: de_DE, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "dos"

Jiri Sedlacek
Hi Falko, the problem may be caused by wrong setup of the classes to be profiled. Please file a new Issue and provide as many details as possible, including the provided settings ( and VisualVM logfile saved after the unsuccessful profiling session (Help | About | Logfile).
Falko Modler
Thanks, will do!
Falko Modler

@jisedlac After not being able to reproduce the issue on my private PC I did some more research and I finally have a solution:

  1. I have to add -Djava.rmi.server.hostname=localhost to MAVEN_OPTS. Don't know why, probably due to some special network setup on my company laptop.
    See also:

  2. I have to start visualvm.exe from the very same console/path which I use for starting maven which is rather irritating because I've already set --jdkhome etc.

The Coherence 12.2.1 JVisualVM plugin has to be manually installed from a maven repo. Could it be added to the list of available plugins?
Paul Gardiner
Do you have any idea where I can find the plugin, or source code for the Memory Pools plugin by Kodewerk? It was on the old site, but I can't find it anywhere, including the Plugins page here.
Tomas Hurka
@pgardiner You have to ask Kirk Pepperdine, he wrote this plugin. it looks like he is going to upload plugin sources at github. More details in oracle/visualvm#25
Tomas Hurka
@philchung I don't know. You should ask someone from Coherence team, if they want to add it as official VisualVM plugin. If they are OK with it, I think I can add it to VisualVM plugins (JVisualVM will be complicated).
george udosen
hello all
@thurka I would like to know if JVisualVM and VisualVM are one and the same?
Jiri Sedlacek
Hello @udoyen, Java VisualVM is a rebranded and relicenced VisualVM, the tools are almost identical in terms of features. Java VisualVM lacks some plugins which are available for VisualVM. See for details on which VisualVM version is distributed in JDK releases.
My Visual VM 1.3.9 is starting, showing local java applications but then it is no longer responding. ProcessMonitor shows access of temp directory only. (happens with jdk 1.8_151 and _131 and 1.7_80)
Tomas Hurka
@rscadrde Please take a thread dump of the non-responding VisualVM process. This can help us diagnose your problem.
EventQueue hangs here:
Thread [AWT-EventQueue-0] (Suspended)
waiting for: org.netbeans.ModuleManager$SystemClassLoader (id=6734)
org.netbeans.ModuleManager$SystemClassLoader.getResourcesImpl(java.lang.String) line: 700
org.netbeans.ModuleManager$SystemClassLoader(org.netbeans.ProxyClassLoader).getResources(java.lang.String) line: 390<?>, java.util.Collection<org.openide.util.lookup.AbstractLookup.Pair<?>>) line: 199
org.openide.util.lookup.MetaInfServicesLookup.beforeLookup(org.openide.util.Lookup.Template<?>) line: 156
org.openide.util.lookup.MetaInfServicesLookup.beforeLookupResult(org.openide.util.Lookup.Template<?>) line: 135
org.openide.util.lookup.MetaInfServicesLookup(org.openide.util.lookup.AbstractLookup).lookup(org.openide.util.Lookup.Template<T>) line: 483
org.openide.util.lookup.ProxyLookup$R.initResults() line: 390
org.openide.util.lookup.ProxyLookup$R.myBeforeLookup(boolean, boolean) line: 669
org.openide.util.lookup.ProxyLookup$R.computeResult(int, boolean) line: 549
org.openide.util.lookup.ProxyLookup$R.allInstances(boolean) line: 509
org.openide.util.lookup.ProxyLookup$R.allInstances() line: 505
org.netbeans.core.startup.MainLookup(org.openide.util.Lookup).lookupAll(java.lang.Class<T>) line: 271 line: 332$000( line: 76$1AWTQuery.showDialog() line: 262$ line: 192
java.awt.event.InvocationEvent.dispatch() line: 311
java.awt.EventQueue.dispatchEventImpl(java.awt.AWTEvent, java.lang.Object) line: 756
java.awt.EventQueue.access$500(java.awt.EventQueue, java.awt.AWTEvent, java.lang.Object) line: 97
java.awt.EventQueue$ line: 709
java.awt.EventQueue$ line: 703<T>, line: not available [native method]$JavaSecurityAccessImpl.doIntersectionPrivilege(<T>,, line: 80
java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent) line: 726
java.awt.EventDispatchThread.pumpOneEventForFilters(int) line: 201
java.awt.EventDispatchThread.pumpEventsForFilter(int, java.awt.Conditional, java.awt.EventFilter) line: 116
java.awt.EventDispatchThread.pumpEventsForHierarchy(int, java.awt.Conditional, java.awt.Component) line: 105
java.awt.EventDispatchThread.pumpEvents(int, java.awt.Conditional) line: 101
java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional) line: 93 line: 82
Corresponding Thread that holds the Lock:

System Thread [pool-4-thread-1] (Suspended)
owns: org.netbeans.core.NbAuthenticator (id=6738)
owns: java.lang.Class ( (id=3137)
owns: org.netbeans.ModuleManager$SystemClassLoader (id=6734)
owns: (id=6739)
waiting for:$1AWTQuery (id=6737)
java.lang.Object.wait(long) line: not available [native method], boolean) line: 297 line: 173
org.netbeans.core.NbAuthenticator.getPasswordAuthentication() line: 101,, int, java.lang.String, java.lang.String, java.lang.String,,$RequestorType) line: 317 line: 65[]) line: 86 line: 858 line: 704 line: 617
sun.reflect.NativeMethodAccessorImpl.invoke0(java.lang.reflect.Method, java.lang.Object, java.lang.Object[]) line: not available [native method]
sun.reflect.NativeMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) line: 62
sun.reflect.DelegatingMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) line: 43
java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object...) line: 498 line: 755$000(, java.lang.String) line: 195$ line: 682$ line: 680<T>, line: not available [native method] line: 680 line: 587, org.ietf.jgss.Oid) line: 258, java.lang.String, java.lang.String, line: 158$ line: 335$ line: 331<T>) line: not available [native method],, int) line: 330,, int) line: 145, int, int, int) line: 122,, int) line: 187,, int, org.ietf.jgss.Oid) line: 224, line: 212[], int, int) line: 179[]) line: 882, int) line: 317, line: 212[], int, int) line: 179[]) line: 882, int) line: 317, line: 248[], int, int) line: 179 line: 108<init>( line: 117    
sun.reflect.NativeConstructorAccessorImpl.newInstance0(java.lang.reflect.Constructor<?>, java.lang.Object[]) line: not available [native method]    
sun.reflect.NativeConstructorAccessorImpl.newInstance(java.lang.Object[]) line: 62    
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(java.lang.Object[]) line: 45    
java.lang.reflect.Constructor.newInstance(java.lang.Object...) line: 423 line: 63 line: 138 line: 111<java.lang.String>) line: 200<init>(java.lang.String,,, boolean, java.util.Set<java.lang.String>) line: 143 line: 2097 line: 183 line: 162    
org.netbeans.modules.autoupdate.updateprovider.NetworkAccess$Task$ line: 166    
org.netbeans.modules.autoupdate.updateprovider.NetworkAccess$Task$ line: 148 line: 266    
java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) line: 1149    
java.util.concurrent.ThreadPoolExecutor$ line: 624 line: 748    
I just created a Bug Ticket: oracle/visualvm#48
Cleber Baldan Junior

Hello. I´m trying to install VisualVM 1.4 into my Eclipse Luna 4.4.2 X64, but it's failing.
What is odd to me is that it shows as version 1.1.2

Does it support Eclipse Luna or I have to update it?

An error occurred while collecting items to be installed
session context was:(, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: org.eclipse.update.feature,VisualVM_Launcher,1.1.2
No repository found containing: osgi.bundle,org.eclipse.visualvm.launcher.common,1.1.2
No repository found containing: osgi.bundle,,1.1.0
No repository found containing: osgi.bundle,org.eclipse.visualvm.launcher.pde,1.1.0
I am trying to run on macOS. It complains about the JDK version it is running on. How do I manually configure the JDK selection? I have not found any information in the documentation.
Tomas Hurka
@cbfiddle Please see discussion in oracle/visualvm#13. In my comment at the end of the discussion, I am explaining how to configure JDK for VisualVM.
White Rabbit
i need to know whats the performance impact when running CPU profiler in visualvm?
Jiri Sedlacek
@umes4ever Hi, the impact can be from low to extreme - depends on the profiler settings and profiled application. For very low impact use the CPU Sampler.
Is there any plan to get the instrumentation profiler working on remote JVMs?
Jiri Sedlacek
@jackshirazi No concrete plans on this yet. Sampling profiler works fine for remote profiling and in case the instrumentation is needed, you can run VisualVM remotely and just forward it's UI to your machine (VNC, remote X). Does this work for your use case?
No but it doesn't matter I have alternatives, it was more curiosity than an immediate need
Jiri Sedlacek
@jackshirazi Feel free to file an Enhancement for VisualVM and describe your use case so we can consider changes on our side.
VisualVM for mac ,i cant't find Thread Detail Tab