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

ap01t001.cpp, 67: Received unexpected number of ObjectFree events: 7

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 16
    • None
    • hotspot
    • None
    • b25

      The ap01t001 test creates six extra instances of the tested class, let them die, and then checks that it gets exactly six ObjectFree callbacks. The problem is that this is verified in the VMDeath callback and the test instance has gone out-of-scope and also died, which triggers a seventh ObjectFree event.

      My proposed fix is to ensure that the test instance is kept alive.

            stefank Stefan Karlsson
            stefank Stefan Karlsson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: