dcsimg
How can I find out how much CPU is taken by each JVM...
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Ofer_Shaked
Posted On:   Monday, November 27, 2000 01:56 AM

How can I find out how much CPU is taken by each JVM thread ? I found no way of correlating JVM threads with the corresponding native threads. (This is on RedHat Linux 6.2 using JDK 1.3 w/hotspot.)

Re: How can I find out how much CPU is taken by each...

Posted By:   Kevin_Riff  
Posted On:   Friday, March 16, 2001 10:50 AM

Java Tip 92 at JavaWorld describes how to use the JVM Profiling Interface to get accurate timing information on a per-thread basis. The technique requires a small amount of native code, but it will work regardless of how the JVM maps Java threads to native processes.
About | Sitemap | Contact