Questions tagged [jvisualvm]

jvisualvm is a Java Virtual Machine monitoring, troubleshooting and profiling tool. It is part of Oracle/Sun JDK since JDK 6 update 7 and is based on open-source project VisualVM.

365 questions
4
votes
1 answer

visualvm - Local java applications cannot be detected

I am trying to run visualvm in my Windows 8 machine and i am getting error 'Local java applications cannot be detected'. I tried to follow the below steps to resolve the issue as suggested in 'https://visualvm.github.io/troubleshooting.html'. I gave…
dhasan k
  • 129
  • 1
  • 3
  • 10
4
votes
3 answers

jvisualvm not displaying thread tab

I'm unable to see threads menu tab and also profiler and sampler are disabled state and getting message "profiling is not supported by this JVM"
4
votes
1 answer

JVisualVM -Xverify:none does not solve Redefinition failed with error 62

I am trying to profile a simple java application using jvisualvm on Windows 7 64 bit. I am using Java 8 with JDK 1.8.0_131. I am able to see my application and use the Sample tab of VisualVM, however when I use the CPU option of the Profile tab I…
user1433734
  • 313
  • 1
  • 4
  • 12
4
votes
2 answers

Why threadpool creates only one thread?

I have wrote code sample: class Test { public static void main(String[] args) throws InterruptedException { ThreadPoolExecutor executorService = new ThreadPoolExecutor(0, 100, 2L, TimeUnit.SECONDS, new…
gstackoverflow
  • 36,709
  • 117
  • 359
  • 710
4
votes
1 answer

Does VisualVM CPU profiling work on a Mac?

I'm trying to use VisualVM to profile on a Mac,with a 64 bit VM, but am having no success. It appears to update only at LONG intervals (I thought it wouldn't profile at all, until I walked away from the keyboard for ten minutes, and came back and…
ThoughtfulHacking
  • 1,189
  • 2
  • 8
  • 23
4
votes
1 answer

JMX issue with JBoss 4.2.0 (EAP)?

I am having some issues getting remote JMX working under JBoss 4.2.0, EAP version. I am having some Java OOM errors in my application, and am attempting to set this up specifically to run VisualVM against it. JBoss is running against JDK 1.5 I have…
Brendan Hannemann
  • 2,084
  • 1
  • 18
  • 33
4
votes
1 answer

What does Keep-Alive-Timer mean in JVisualVM Threads investigator?

These Keep-Alive-Timer threads have white label on the left and the white label is not describe its meaning below. I wonder how do these Keep-Alive-Timer threads be created and why. Actually, I'm using Timer to check heartbeat messages in my…
bitdancer
  • 1,215
  • 2
  • 19
  • 34
4
votes
3 answers

Measure thread contention on particular monitor

I'm considering switching from synchronized to a ReadWriteLock. Before doing it, I would like to check if it's worth it. ThreadMXBean and ThreadInfo provide information about overall thread blocked count and time. Those blocks can be caused by…
Konstantin Milyutin
  • 11,946
  • 11
  • 59
  • 85
4
votes
0 answers

How to enable Java VisualVM to display numbers in human readable format?

Is there any setting that I could configure to enable jvisualvm to display memory and other numbers in human readable format, i.e. in MBs instead of in Bytes, etc. I did investigate but couldn't find any.
phanin
  • 5,327
  • 5
  • 32
  • 50
4
votes
1 answer

"java.io.EOFException: SSL peer shut down incorrectly" thrown when not using SSL

I am unable to connect VisualVM to a remote JVM. I have started the remote JVM with the following parameters: java -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.port=9000…
Dejas
  • 3,511
  • 4
  • 24
  • 36
4
votes
1 answer

Menu not accessible during profiling

I have a JavaFX application which I want to run under the JVisualVM profiler. However, I cannot access the menu items from the menu bar when running it under the profiler. So far, my application is just a simple scene built with SceneBuilder. It has…
Thomas Weller
  • 55,411
  • 20
  • 125
  • 222
4
votes
4 answers

Getting Java program running in Eclipse to show up in VisualVM

I'm trying to use Java VisualVM on Windows 7 64-bit together with Eclipse Kepler and am experiencing the following issue: I have a Java application running inside Eclipse, but when I open jVisualVM, the only item showing up in the Applications under…
Markus A.
  • 12,349
  • 8
  • 52
  • 116
4
votes
2 answers

Java VisualVM missing features

I have a Java application, and I'd like to monitor it using Java VisualVM (jvisualvm). However, in the VisualVM window very little data can be seen. Also, I can't take a heap dump. Here is a screenshot of what it looks like, with another test app I…
PurkkaKoodari
  • 6,703
  • 6
  • 37
  • 58
4
votes
1 answer

java process does not show up in jvisualvm

I am using JRE1.7.0_25. I ran a Java update forced by a webex session a short while ago. It seems like after the update, I am no longer able to use jvisualvm to check on a running java process (the process is up - I checked). Barring changing the…
ali haider
  • 19,175
  • 17
  • 80
  • 149
4
votes
2 answers

How do I start a Java application at the same time as a profiler?

I've tried VisualVM and JVM Monitor so far, and neither have behaved as I need them to. A short synopsis of my program: I need to measure a fast application with subsecond precision across 5+ threads. By the time I can select "Start Profiling", my…
NobleUplift
  • 5,631
  • 8
  • 45
  • 87