-
Bug
-
Resolution: Fixed
-
P4
-
7
-
b08
-
generic
-
generic
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8019555 | 7u45 | Raymond Gallardo | P4 | Closed | Fixed | b01 |
JDK-8006237 | 7u10 | Raymond Gallardo | P4 | Resolved | Fixed | team |
There are some inaccurate description in jstat documentation of JDK7.
http://docs.oracle.com/javase/7/docs/technotes/tools/share/jstat.html
1. -t optiopn
" -t n
Display a timestamp column as the first column of output. The timestamp is the time since
the start time of the target JVM."
This "-t" option does not need the argument "n".
"n" seems unnecessary.
2. -version option
-version option is not supported by jstat.
C:\java>jstat -options
-class
-compiler
-gc
-gccapacity
-gccause
-gcnew
-gcnewcapacity
-gcold
-gcoldcapacity
-gcpermcapacity
-gcutil
-printcompilation
3. -printcompilation
The documentation says as follows.
-----
-printcompilation Option
HotSpot Compiler Method Statistics
Column Description
Compiled Number of compilation tasks performed.
Size Number of bytes of bytecode for the method.
Type Compilation type.
Method Class name and method name identifying the compiled method.
Class name uses "/" instead of "." as namespace separator.
Method name is the method within the given class. The format for
these two fields is consistent with the HotSpot - XX:+PrintComplation option.
---------
The following expression seems a little bit more appropriate than the above
because -printcompilation seems to show the inf. of lastly compiled method.
example)
Compiled Number of *last* compilation tasks performed.
Size Number of bytes of bytecode for the *lastly compiled* method.
Type *last* Compilation type.
Method Class name and method name identifying the *lastly* compiled method.
http://docs.oracle.com/javase/7/docs/technotes/tools/share/jstat.html
1. -t optiopn
" -t n
Display a timestamp column as the first column of output. The timestamp is the time since
the start time of the target JVM."
This "-t" option does not need the argument "n".
"n" seems unnecessary.
2. -version option
-version option is not supported by jstat.
C:\java>jstat -options
-class
-compiler
-gc
-gccapacity
-gccause
-gcnew
-gcnewcapacity
-gcold
-gcoldcapacity
-gcpermcapacity
-gcutil
-printcompilation
3. -printcompilation
The documentation says as follows.
-----
-printcompilation Option
HotSpot Compiler Method Statistics
Column Description
Compiled Number of compilation tasks performed.
Size Number of bytes of bytecode for the method.
Type Compilation type.
Method Class name and method name identifying the compiled method.
Class name uses "/" instead of "." as namespace separator.
Method name is the method within the given class. The format for
these two fields is consistent with the HotSpot - XX:+PrintComplation option.
---------
The following expression seems a little bit more appropriate than the above
because -printcompilation seems to show the inf. of lastly compiled method.
example)
Compiled Number of *last* compilation tasks performed.
Size Number of bytes of bytecode for the *lastly compiled* method.
Type *last* Compilation type.
Method Class name and method name identifying the *lastly* compiled method.
- backported by
-
JDK-8006237 Some changes are needed in jstat documentation
-
- Resolved
-
-
JDK-8019555 Some changes are needed in jstat documentation
-
- Closed
-