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

JVM_GetClassSigners: wrap signers oop in an objArrayHandle for subsequent safepoint.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b18
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        The tests in jdk/test/jdk/java/security/Security/signedfirst crash if executed with the vm option -XX:+CheckUnhandledOops, because the life range of the signers arry oop in JVM_GetClassSigners crosses the safepoint for the allocation of the result array.

        The signers oop should be wrapped in an objArrayHandle to fix this.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                rrich Richard Reingruber
                Reporter:
                rrich Richard Reingruber
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: