Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6863420

os::javaTimeNanos() go backward on Solaris x86

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: hs16
    • Fix Version/s: hs16
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b08
    • CPU:
      x86
    • OS:
      solaris_10
    • Verification:
      Verified

      Backports

        Description

        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

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  kvn Vladimir Kozlov
                  Reporter:
                  kvn Vladimir Kozlov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: