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

vmTestbase/nsk/sysdict tests fail with OOME: Java heap space: failed reallocation of scalar replaced objects

    XMLWordPrintable

Details

    Description

      Has been seen only on Linux and with ZGC so far. Another look at JDK-8289764 ?

      A log file snippet with the error:

      The level = 10 the height = 11
      Stress time: 300 seconds
      Stress iterations factor: 1
      Stress threads factor: 1
      Stress runs factor: 1
      Max memory: 1038090240
      Sleep time: 500
      Iterations: 0
      Number of threads: 24
      Run GC thread: false
      Run mem diag thread: false
      Run forever: false
      Starting Thread[#33,nsk.sysdict.share.SysDictTest$Worker@3d8a47aa,5,MainThreadGroup]
      Starting Thread[#34,nsk.sysdict.share.SysDictTest$Worker@732f21b3,5,MainThreadGroup]
      Starting Thread[#35,nsk.sysdict.share.SysDictTest$Worker@1cf78f6b,5,MainThreadGroup]
      Starting Thread[#36,nsk.sysdict.share.SysDictTest$Worker@4d6ebbbf,5,MainThreadGroup]
      Starting Thread[#37,nsk.sysdict.share.SysDictTest$Worker@58bf3f80,5,MainThreadGroup]
      Starting Thread[#38,nsk.sysdict.share.SysDictTest$Worker@5297bf9d,5,MainThreadGroup]
      Starting Thread[#39,nsk.sysdict.share.SysDictTest$Worker@72bbfe73,5,MainThreadGroup]
      Starting Thread[#40,nsk.sysdict.share.SysDictTest$Worker@4a3000d8,5,MainThreadGroup]
      Starting Thread[#41,nsk.sysdict.share.SysDictTest$Worker@6b527521,5,MainThreadGroup]
      Starting Thread[#42,nsk.sysdict.share.SysDictTest$Worker@4564481,5,MainThreadGroup]
      Starting Thread[#43,nsk.sysdict.share.SysDictTest$Worker@29b36a1e,5,MainThreadGroup]
      Starting Thread[#44,nsk.sysdict.share.SysDictTest$Worker@634f8930,5,MainThreadGroup]
      Starting Thread[#45,nsk.sysdict.share.SysDictTest$Worker@1b4c0305,5,MainThreadGroup]
      Starting Thread[#46,nsk.sysdict.share.SysDictTest$Worker@2d882ea1,5,MainThreadGroup]
      Starting Thread[#47,nsk.sysdict.share.SysDictTest$Worker@1f595294,5,MainThreadGroup]
      Starting Thread[#48,nsk.sysdict.share.SysDictTest$Worker@405e46,5,MainThreadGroup]
      Starting Thread[#49,nsk.sysdict.share.SysDictTest$Worker@7bef2160,5,MainThreadGroup]
      Starting Thread[#50,nsk.sysdict.share.SysDictTest$Worker@177ee59a,5,MainThreadGroup]
      Starting Thread[#51,nsk.sysdict.share.SysDictTest$Worker@4266c813,5,MainThreadGroup]
      Starting Thread[#52,nsk.sysdict.share.SysDictTest$Worker@40d61c77,5,MainThreadGroup]
      Starting Thread[#53,nsk.sysdict.share.SysDictTest$Worker@42b0d12c,5,MainThreadGroup]
      Starting Thread[#54,nsk.sysdict.share.SysDictTest$Worker@2282aed5,5,MainThreadGroup]
      Starting Thread[#55,nsk.sysdict.share.SysDictTest$Worker@56d0ccc6,5,MainThreadGroup]
      Starting Thread[#56,nsk.sysdict.share.SysDictTest$Worker@261547cf,5,MainThreadGroup]
      Exception in
      nsk.sysdict.share.SysDictTest$Worker@1f595294
      java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects
      Exception in
      nsk.sysdict.share.SysDictTest$Worker@4a3000d8
      java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects
      Exception in
      nsk.sysdict.share.SysDictTest$Worker@6b527521
      java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects
      Exception in
      nsk.sysdict.share.SysDictTest$Worker@732f21b3
      java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects
      Exception in
      nsk.sysdict.share.SysDictTest$Worker@5297bf9d
      java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects
      Exception in
      nsk.sysdict.share.SysDictTest$Worker@42b0d12c
      java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects
      Failures summary:
      java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects
      java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects
      java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects
      java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects
      java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects
      java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects
      ----------System.err:(14/768)----------
      nsk.share.TestFailure: Test exit code: 97
      at nsk.share.test.Tests$TestRunner.execute(Tests.java:90)
      at nsk.share.test.Tests$TestRunner.run(Tests.java:96)
      at nsk.share.test.Tests.runTest(Tests.java:102)
      at nsk.sysdict.share.BTreeTest.main(BTreeTest.java:42)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
      at java.base/java.lang.Thread.run(Thread.java:1623)

      JavaTest Message: Test threw exception: nsk.share.TestFailure: Test exit code: 97

      Attachments

        Issue Links

          Activity

            People

              rsunderbabu Ramkumar Sunderbabu
              enikitin Evgeny Nikitin
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated: