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

java/lang/management/MemoryMXBean/PendingAllGC.sh: Unexpected finalized objects: Current finalized = 51 Current pending = 55 but expected = 0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 9
    • core-svc
    • None

      jdk9 VM PIT.

      java/lang/management/MemoryMXBean/PendingAllGC.sh:

      ----------System.out:(5/285)----------
      runOne Pending
      Number of objects pending for finalization:
         Before creating object: Current finalized = 0 Current pending = 0
         Afer creating objects with no ref: Current finalized = 0 Current pending = 0
         Afer creating objects with ref: Current finalized = 0 Current pending = 0
      ----------System.err:(4/265)----------
      Exception in thread "main" java.lang.RuntimeException: Unexpected finalized objects: Current finalized = 51 Current pending = 55 but expected = 0
      at Pending.checkFinalizerCount(Pending.java:146)
      at Pending.test(Pending.java:113)
      at Pending.main(Pending.java:71)
      ----------------------------
      Failed two times on Linux-x86 on two different hosts.

            akulyakh Alexander Kulyakhtin (Inactive)
            dfazunen Dmitry Fazunenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: