Questions tagged [jprofiler]

JProfiler is a commercially licensed Java profiling tool developed by ej-technologies GmbH targeted at Java EE and Java SE applications.

Notable Features

  • CPU Profiling - call-tree and call-graph views, hotspots detection
    • Instrumentation - all calls are profiled, code is instrumented
    • Sampling - sampling interval of e.g. 10ms is used to collect callstacks
  • Memory Profing, Heap Walker - profiling Heap, recording Heap snapshot and walking through the snapshot
  • Thread and Monitor Profiling - detecting thread contention.
  • VM Telemetry - To observe the internal state of your JVM
  • JEE Probes
  • NoSQL and big data probes - Bottlenecks in MongoDB, Cassandra and HBase can now be analyzed with JProfiler.
  • Remote tracking allows you to follow calls from one profiled JVM to another. RMI, web services and remote EJBs are supported.
  • Profiling modes There are four different profiling modes in JProfiler: Attach mode, Profile at startup, Prepare for profiling and Offline profiling

References

517 questions
6
votes
1 answer

Lightweight Asynchronous Sampling Profiler with JProfiler (AsyncGetCallTrace)

I recently read a blog entry by Jeremy Manson (Google), about how a more accurate and lightweight asynchronous sampling profiler. It relies on the "AsyncGetCallTrace" undocumented method in hotspot JVMs to gather the stack trace of a…
Antoine CHAMBILLE
  • 1,676
  • 2
  • 13
  • 29
6
votes
3 answers

Java method takes seemingly lot of time that I cannot account for

Using JProfiler, I've identified a hot spot in my Java code that I cannot make sense of. JProfiler explains that this method takes 150μs (674μs without warmup) on average, not including the time it takes to call descendant methods. 150μs may not…
Sander Verhagen
  • 8,540
  • 4
  • 41
  • 63
6
votes
1 answer

JProfiler memory views -> Object size

I have the following classes in my application: class A { String someString; Locale someLocale; Map someMap = new HashMap(); fillMap() { // some logic to fill the map with instances of B } } class B { //…
Deelazee
  • 493
  • 2
  • 9
  • 18
6
votes
3 answers

Unable to stop Tomcat

I am very new to Tomcat and just configured my tomcat with jprofiler. But now unable to stop tomcat server, getting the following error message. [root@localhost bin]# service tomcat stop Stopping . Using CATALINA_BASE: …
PratapSingh
  • 257
  • 2
  • 4
  • 16
5
votes
1 answer

Why does jProfiler show Unsafe.park/unpark as using CPU cycles?

We're running a service using quite a lot of ExecutorServices. When profiling the service using jProfiler 7.1 (sampling, Runnable), we can see that sun.misc.Unsafe.park + unpark is currently the calls using most of the CPU time in the…
R4zorax
  • 504
  • 3
  • 10
5
votes
1 answer

Based on my requirements, should I use NSIS or jprofiler/install4j

We have a web application that we need to make easier to deploy for our clients. The current workflow for a fresh install: Ensure there is a JRE on machine (32 or 64bit) Install Tomcat (32 or 64bit) Create a database in Oracle or SQL Server (we…
jakc
  • 1,161
  • 3
  • 15
  • 42
5
votes
1 answer

Profiling JVM: Committed vs Used vs free Memory

I'm profiling a Java application deployed to Jetty server, using JProfiler. After a while, I'm getting this memory telemetry: On the right side is the total memory of this Java process on Windows Task Manager. I see periodic increases in the…
Forepick
  • 919
  • 2
  • 11
  • 31
5
votes
1 answer

How to profile a java application in debug mode with JProfiler

I would like to get a memory snapshot at a very specific point in time, i.e. at my break point. But I can't seem to find the necessary buttons/configuration to start the profiling in debug mode. Using Eclipse and JProfiler 7. Edit: More info:
Reto Höhener
  • 5,419
  • 4
  • 39
  • 79
5
votes
2 answers

How to interpret GC Activity graph in JProfiler?

Lately I've been working on optimizing some code (in compute time and max memory required). To know if there is potential gain to optimize memory cost, I use JProfiler. Typically if it's high, I should try to reduce it globally if it's spiky, I…
Juh_
  • 14,628
  • 8
  • 59
  • 92
5
votes
1 answer

How to Jprofile on linux system (No GUI)

I have Linux system where jprofiler installed. I have to profile one running server and one client together which lying on same Linux system. I am sending 100+ different request from client to server. My query is: How to Automate whole jprofile…
Pawan Kumar
  • 51
  • 1
  • 1
  • 4
4
votes
1 answer

JProfiler call stack splitting

I'm using call stack splitting to analyze individual method calls and parameters passed. However, I keep running into the splitting cap limit, at which point the calls get merged together, and there is an option to "reset splitting cap…
4
votes
2 answers

How to install the JProfiler agent in a Kubernetes container?

What do I have to put into a container to get the agent to run? Just libjprofilerti.so on its own doesn't work, I get Could not find agent.jar. The agentpath parameter must point to libjprofilerti.so in an unmodified JProfiler installation. which…
Tim Ward
  • 45
  • 1
  • 4
4
votes
1 answer

Is there an (easy) way to determine what objects the GC is "removing"?

I have a Java program that creates a dozen arrays of of approximately 160 million in length each. The arrays contain primitives (char, short, and floats). In my algorithm, I've noticed (via jprofiler) that the GC runs a fair bit on my system…
Jonathan Sylvester
  • 1,275
  • 10
  • 23
4
votes
1 answer

jProfiler not giving method level statistics

I have installed jProfiler in my Linux machine and I am saving the data into .jps file. I am then loading this file into jProfiler UI in my local machine. Here is my config file:
Amandeep Singh
  • 297
  • 4
  • 19
4
votes
2 answers

Attach Jprofiler to running app on Android Device

I need to profile an application developed for android platform. I've already used jprofiler in web-application development. I use Android Studio (and Eclipse with ADT plugin) and actually i use DDMS to check cpu and heap memory comsuption. Is it…
xcesco
  • 4,690
  • 4
  • 34
  • 65
1 2
3
34 35