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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: core-svc
    • Labels:

      Description

      Seen in nightly.

      ----------System.err:(14/1001)----------
      java.lang.RuntimeException: Before GC: used = 36000016 (35156K) expected to be > After GC: used = 36379576 (35526K)
      at ResetPeakMemoryUsage.testPool(ResetPeakMemoryUsage.java:116)
      at ResetPeakMemoryUsage.main(ResetPeakMemoryUsage.java:58)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:491)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:724)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Before GC: used = 36000016 (35156K) expected to be > After GC: used = 36379576 (35526K)
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Before GC: used = 36000016 (35156K) expected to be > After GC: used = 36379576 (35526K)
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Before GC: used = 36000016 (35156K) expected to be > After GC: used = 36379576 (35526K)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sla Staffan Larsen (Inactive)
              Reporter:
              rbackman Rickard Backman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: