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

VM uses non-monotonic time source and complains that it is non-monotonic

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • hs23
    • hs20, hs23
    • hotspot
    • gc
    • b09
    • generic
    • generic
    • Verified

        VM uses gettimeofday for os::javaTimeMillis which is non-monotonic.

        in void ReferenceProcessor::update_soft_ref_master_clock
        VM complains if this time goes back.

        It is needed to use source which is monotonic or not produce warning.

        I've filed this CR against GC because in this particular case it is a GC part.
        However it would be nice to check if there are any similar issues.
        See e-mail thread in comments.

              johnc John Cuthbertson
              lmesnik Leonid Mesnik
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: