-
Bug
-
Resolution: Fixed
-
P4
-
1.4.1
-
mantis
-
generic
-
generic
Name: egR10015 Date: 04/30/2002
Hprof agent shipped with HotSpot 1.4.1-b10 fails to pass the following tests:
nsk/hprof/options/format/format006
nsk/hprof/options/format/format007
from testbase_nsk on all platforms.
The reason is that HPROF does not support options cpu=times|old and monitor=y
with the option format=b.
I guess, this capability should be implemented in future releases of HPROF, or
at least this issue must be documented. Neither the following public document:
http://java.sun.com/j2se/1.4/docs/guide/jvmpi/jvmpi.html#hprof
nor HPROF itself being run with -Xrunhprof:help say nothing about it.
To reproduce the bug run any program with HPROF as follows:
$ ~/hotspot/jdk1.4.1/solsparc/bin/java -Xrunhprof:cpu=times,format=b HelloWorld
HPROF ERROR: cpu=times|old is not supported with format=b
$ ~/hotspot/jdk1.4.1/solsparc/bin/java -Xrunhprof:cpu=old,format=b HelloWorld
HPROF ERROR: cpu=times|old is not supported with format=b
$ ~/hotspot/jdk1.4.1/solsparc/bin/java -Xrunhprof:monitor=y,format=b HelloWorld
HPROF ERROR: monitor=y is not supported with format=b
======================================================================