-
Bug
-
Resolution: Fixed
-
P3
-
hs16
-
b08
-
x86
-
solaris_10
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2182189 | 7 | Vladimir Kozlov | P3 | Closed | Fixed | b71 |
JDK-2181931 | 6u18 | Vladimir Kozlov | P3 | Closed | Fixed | b01 |
I reproduced nanoTime() go backward on our systems (Shanghai, Harpertown, Nehalem) running solaris 10 and 11.
Compiled code calls the runtime method which claims that it can't go backward.
% /java/re/jdk/7/latest/binaries/solaris-i586/bin/java NanoTimer
Spawning 1 threads
Spawning 2 threads
Spawning 3 threads
Spawning 4 threads
Spawning 5 threads
Spawning 6 threads
Spawning 7 threads
Spawning 8 threads
Spawning 9 threads
Spawning 10 threads
Spawning 11 threads
Spawning 12 threads
Spawning 13 threads
Spawning 14 threads
Spawning 15 threads
Spawning 16 threads
Spawning 17 threads
Spawning 18 threads
Spawning 19 threads
Spawning 20 threads
Spawning 21 threads
Spawning 22 threads
Backwards: start=116810214972243 end=116806060017005 time= -4154955238
Backwards: start=116810154970260 end=116806090238787 time= -4064731473
Spawning 23 threads
Spawning 24 threads
Spawning 25 threads
Spawning 26 threads
Backwards: start=116814484972775 end=116810230014943 time= -4254957832
Backwards: start=116814504969926 end=116810250009178 time= -4254960748
Backwards: start=116814404975763 end=116810230016200 time= -4174959563
Backwards: start=116814484973480 end=116810270013273 time= -4214960207
Spawning 27 threads
Spawning 28 threads
Spawning 29 threads
Spawning 30 threads
Spawning 31 threads
Spawning 32 threads
Compiled code calls the runtime method which claims that it can't go backward.
% /java/re/jdk/7/latest/binaries/solaris-i586/bin/java NanoTimer
Spawning 1 threads
Spawning 2 threads
Spawning 3 threads
Spawning 4 threads
Spawning 5 threads
Spawning 6 threads
Spawning 7 threads
Spawning 8 threads
Spawning 9 threads
Spawning 10 threads
Spawning 11 threads
Spawning 12 threads
Spawning 13 threads
Spawning 14 threads
Spawning 15 threads
Spawning 16 threads
Spawning 17 threads
Spawning 18 threads
Spawning 19 threads
Spawning 20 threads
Spawning 21 threads
Spawning 22 threads
Backwards: start=116810214972243 end=116806060017005 time= -4154955238
Backwards: start=116810154970260 end=116806090238787 time= -4064731473
Spawning 23 threads
Spawning 24 threads
Spawning 25 threads
Spawning 26 threads
Backwards: start=116814484972775 end=116810230014943 time= -4254957832
Backwards: start=116814504969926 end=116810250009178 time= -4254960748
Backwards: start=116814404975763 end=116810230016200 time= -4174959563
Backwards: start=116814484973480 end=116810270013273 time= -4214960207
Spawning 27 threads
Spawning 28 threads
Spawning 29 threads
Spawning 30 threads
Spawning 31 threads
Spawning 32 threads
- backported by
-
JDK-2181931 os::javaTimeNanos() go backward on Solaris x86
- Closed
-
JDK-2182189 os::javaTimeNanos() go backward on Solaris x86
- Closed
- relates to
-
JDK-6939126 System.nanoTime not increasing
- Closed
-
JDK-6855228 VMware+Solaris/x86: System.nanoTime stops advancing (and GC Logging malfunctions reporting 0 time)
- Closed
-
JDK-6784100 getTimeNanos - CAS reduction
- Closed
-
JDK-6864866 add a flag to use result of gethrtime() directly in os::getTimeNanos() on Solaris and OS X
- Closed
(1 relates to)