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

Optimize gc-locker in [Get|Release]StringCritical for latin string

    XMLWordPrintable

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b30

      Backports

        Description

        Currently, JNI GetStringCritical locks gc locker for all strings including latin and non-latin until ReleaseStringCritical.
        But for latin, it's not necessary to still lock gc locker after GetStringCritical, as it's copied anyway whether obj pining is supported or not, so it's fine to unlock gc locker after GetStringCritical.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                kbarrett Kim Barrett
                Reporter:
                mli Hamlin Li
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: