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

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 9
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: