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

Deprecate -XX:+CriticalJNINatives flag

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: hotspot

      Description

      This flag allows native functions to access Java heap objects as if they are in Java mode. This was added for an optimization for sparc to avoid register flushes.
      We should deprecate the flag and in 15 remove this support.

        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:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: