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

Make ThreadInVMfromNative have ResetNoHandleMark

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 17
    • 17
    • hotspot
    • None
    • b05

      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).

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

              Created:
              Updated:
              Resolved: