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

java/lang/management/MemoryMXBean/ResetPeakMemoryUsage.java fails with RuntimeException

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-svc

      Description

       stderr: [Exception in thread "main" java.lang.RuntimeException: Before GC: used = 35651584 (34816K) expected to be > After GC: used = 36805120 (35942K)
      at ResetPeakMemoryUsage.testPool(ResetPeakMemoryUsage.java:138)
      at ResetPeakMemoryUsage.access$000(ResetPeakMemoryUsage.java:44)
      at ResetPeakMemoryUsage$TestMain.main(ResetPeakMemoryUsage.java:79)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              hb Harsha Wardhana B (Inactive)
              Reporter:
              jprovino Joseph Provino (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: