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

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

    Details

    • Subcomponent:
      web
    • Introduced In Build:
      b00
    • Introduced In Version:

      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

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: