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

[TESTBUG] Fix gc/g1/humongousObjects/objectGraphTest/TestObjectGraphAfterGC.java

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • 25
    • 9, 14, 15, 16
    • hotspot
    • gc

      java.lang.RuntimeException: Externally effectively weak referenced non-humongous object was not deleted after YOUNG_GC (assert failed: [Ljava.lang.Object;@131e9c6 == null)
      at jdk.test.lib.Asserts.error(Asserts.java:447)
      at jdk.test.lib.Asserts.assertTrue(Asserts.java:374)
      at jdk.test.lib.Asserts.assertEquals(Asserts.java:169)
      at jdk.test.lib.Asserts.assertNull(Asserts.java:313)
      at gc.g1.humongousObjects.objectGraphTest.GC.lambda$getCaseCheck$0(GC.java:115)
      at gc.g1.humongousObjects.objectGraphTest.GC$Checker.accept(GC.java:194)
      at gc.g1.humongousObjects.objectGraphTest.GC$Checker.accept(GC.java:156)
      at java.util.HashMap$KeySpliterator.forEachRemaining(java.base@9-internal/HashMap.java:1600)
      at java.util.stream.ReferencePipeline$Head.forEach(java.base@9-internal/ReferencePipeline.java:591)
      at gc.g1.humongousObjects.objectGraphTest.TestObjectGraphAfterGC.checkResults(TestObjectGraphAfterGC.java:222)
      at gc.g1.humongousObjects.objectGraphTest.TestObjectGraphAfterGC.doTesting(TestObjectGraphAfterGC.java:140)
      at gc.g1.humongousObjects.objectGraphTest.TestObjectGraphAfterGC.lambda$main$0(TestObjectGraphAfterGC.java:106)
      at java.util.Spliterators$ArraySpliterator.forEachRemaining(java.base@9-internal/Spliterators.java:948)
      at java.util.stream.ReferencePipeline$Head.forEach(java.base@9-internal/ReferencePipeline.java:591)
      at gc.g1.humongousObjects.objectGraphTest.TestObjectGraphAfterGC.main(TestObjectGraphAfterGC.java:102)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62)
      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.lang.Thread.run(java.base@9-internal/Thread.java:843)

            Unassigned Unassigned
            jprovino Joseph Provino (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: