Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

hprof

843811Apr 11 2004 — edited Jul 30 2004
[1] When I run program with -Xrunhprof option the following messages are printed out:

HPROF ERROR: thread local table NULL in method exit 00919C30
HPROF ERROR: thread local table NULL in method exit 00919C30
HPROF ERROR: class ID already in use

[2] I want to track the full timing of methods. That is, a summary of all callers of a method and how long method is executed. Seems that prophIt can draw very beatiful 3D diagrams. But it does not show all the methods my program executed. For example:
class X {
	public static void main(String[] args) {
		System.out.println("do it");
	}
}
The log file "java.hprof.txt" does not contain println method! I was running with -Xrunhprof nhprof:cpu=times,depth=100 VM parameter.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 27 2004
Added on Apr 11 2004
3 comments
155 views