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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • None
    • 16
    • hotspot
    • None
    • b25

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: