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

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

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 16
    • 14, 16
    • hotspot
    • b21

    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

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

              Dates

                Created:
                Updated:
                Resolved: