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

Deprecate -XX:+CriticalJNINatives flag which implements JavaCritical native functions

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 14, 16
    • Fix Version/s: 16
    • Component/s: hotspot

      Description

      This flag allows native functions to access Java heap primitive arrays as if they are in Java mode. This was added for an optimization to specific sparc crypto functions, hence the restricted API.

      We should deprecate the flag and later remove this support when project Panama is available.

        product(bool, CriticalJNINatives, true, \
                "Check for critical JNI entry points") \
                                                                                  \
        notproduct(bool, StressCriticalJNINatives, false, \
                "Exercise register saving code in critical natives") \
                                                                                  \
      Also remove StressCriticalJNINatives.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                coleenp Coleen Phillimore
                Reporter:
                coleenp Coleen Phillimore
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated: