-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
9-repo-jigsaw
The jstat utility from the jigsaw release does not display timestamp when run with -t option.
The jstat from JDK 9 and 8 does display timestamp in this case.
To reproduce:
1) compile and run the attached program (it just produces a deadlock so it runs forever) .
2) In another terminal issue ps -ef | grep Deadlock to find the pid of the running program
3) jstat -compiler -t <pid>
The output is as follows. There is no Timestamp column:
Compiled Failed Invalid Time FailedType FailedMethod
368 0 0 0.32 0
4) Do the same with jstat from JDK 9. The output is as follows:
Timestamp Compiled Failed Invalid Time FailedType FailedMethod
963.9 368 0 0 0.32 0
The jstat from JDK 9 and 8 does display timestamp in this case.
To reproduce:
1) compile and run the attached program (it just produces a deadlock so it runs forever) .
2) In another terminal issue ps -ef | grep Deadlock to find the pid of the running program
3) jstat -compiler -t <pid>
The output is as follows. There is no Timestamp column:
Compiled Failed Invalid Time FailedType FailedMethod
368 0 0 0.32 0
4) Do the same with jstat from JDK 9. The output is as follows:
Timestamp Compiled Failed Invalid Time FailedType FailedMethod
963.9 368 0 0 0.32 0