Questions tagged [visualvm]

VisualVM is a visual tool integrating several commandline JDK tools and lightweight profiling capabilities. Designed for both production and development time use, it further enhances the capability of monitoring and performance analysis for the Java SE platform.

653 questions
-1
votes
1 answer

How to configure VisualVM Eclipse plugin with Eclipse openjdk

I am using Eclipse 2022-03, which uses the openjdk that comes with. I installed the VisualVM Eclipse plugin from the VisualVM web site and configured that. By default, the VisualVM launch configuration sets the JDK Home path to the openjdk in the…
SteveCV
  • 1
  • 1
-1
votes
1 answer

Is visualvm able to detect livelocks?

VisualVM is able to detect deadlocks: Get deadlock detection from running programm or dump in Java Is VisualVM able to detect livelocks? If cannot do it automatically which actions possible to help to reveal livelocks?
J.J. Beam
  • 2,612
  • 2
  • 26
  • 55
-1
votes
1 answer

100% CPU Utlization by Java Application

I am trying to analyze the java application using VisualVM tool and am getting the following statistics. . What I don't understand is why my app is utilizing approx 100% of CPU, and what are the ways I can detect and resolve memory-related issues in…
Kirat Kumar
  • 13
  • 1
  • 1
  • 6
-1
votes
2 answers

JConsole SSL and private key

I'm trying to connect to remote service running on Amazon EC2 via JMX. Ports are opened and it looks managing to establish connection but starts to pending and then fails with message like 'You are trying to connect over SSL when it is not…
Viktor Stolbin
  • 2,899
  • 4
  • 32
  • 53
-2
votes
2 answers

how to find out which function(s) took most time during API invocation?

i am trying to debug why my spring boot application takes around 200-ms to respond to an API, and for subsequent hits of same API it takes around 10-ms. no caching is involved in API. I am using VisualVM and seems there is a CPU spike only for first…
Rajat Aggarwal
  • 392
  • 3
  • 16
-2
votes
2 answers

Size of a 'long' in memory - Java

Reviewed size-of-a-byte-in-memory-java byte-in-java-takes-4-bytes-by-default I am still trying to figure out why long and double in Java consuming 12 bytes instead of 8 bytes in memory Sure there is wrong assumptions somewhere; please guide me.. I…
InBravo
  • 73
  • 2
  • 7
-2
votes
1 answer

Why monitoring CPU and Sample are not available on visualVM

Since a few days VisualVM doesn't work very well. I don't know why monitoring CPU and Sample are not avalables. Thank you. Jérôme Version: 1.8.0_45 (Build 1380-140910); platform 20140910-unknown-revn System: Windows 7 (6.1) Service Pack 1, amd64…
Thanaos
  • 1
  • 1
-3
votes
1 answer

Java Profiling - VisualVM

I invoke my Java application with different arguments from a shell script. Each time it binds to a different port. I am trying to use VisualVM to profile my application, but since it uses different ports for each invocation, I have to manually…
user2761431
  • 925
  • 2
  • 11
  • 26
1 2 3
43
44