ZGC: Wrong second to millisecond conversion in ZCollectedHeap::millis_since_last_gc()

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: hotspot
    • gc

      ```
      jlong ZCollectedHeap::millis_since_last_gc() {
        return ZStatCycle::time_since_last() / MILLIUNITS;
      }
      ```
      `time_since_last()` returns the number in seconds, so the conversion should use `*`.

            Assignee:
            Albert Yang
            Reporter:
            Albert Yang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: