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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • core-svc

      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)

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

              Created:
              Updated:
              Resolved: