Replace currentTimeMillis() with nanoTime() in jtreg/gc

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 22
    • Affects Version/s: 22
    • Component/s: hotspot
    • None
    • gc
    • b12

      In gc testing, we are not interested in the real time clock but in elapsed time. `System.currentTimeMillis()`is not monotonic.

            Assignee:
            Leo Korinth
            Reporter:
            Leo Korinth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: