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

Crash in RuntimeObject::put when object passed to JSObject::setMember is GCed

    XMLWordPrintable

Details

    • web
    • b00

    Backports

      Description

        The fix for JDK-8089681 causes a crash in some cases where the the Java object passed to setMember is reclaimed before a JavaScript call is made that eventually calls RuntimeObject::put. This was a missed case when testing the fix for JDK-8089681.

        To reproduce, run the attached test program on a build that has the fix for JDK-8089681. It will crash immediately.

        Attachments

          Issue Links

            Activity

              People

                mbilla Murali Billa
                kcr Kevin Rushforth
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: