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

Make ThreadInVMfromNative have ResetNoHandleMark

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 17
    • 17
    • hotspot
    • None
    • b05

    Description

      If ThreadInVMfromNative has a ResetNoHandleMark, then all these places that make the transition do not have to add this.
      JVM code that is in native state has a NoHandleMark because having Handles and oops are unsafe, but when the code transitions to the VM, we can now have Handles.
      This cleans up a lot of these call sites.
      (Splitting this out of the linked bug).

      Attachments

        Issue Links

          Activity

            People

              coleenp Coleen Phillimore
              coleenp Coleen Phillimore
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: