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

Introduce a flag to enable JVM intrinsics

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 15
    • Fix Version/s: 15
    • Component/s: hotspot
    • Labels:

      Description

      Introduce a way to enable JVM intrinsics from command-line.

      Right now, there's no way to introduce experimental intrinsics which are turned off by default and let users enable them on their side.

      There's -XX:DisableIntrinsic= present to *disable* intrinsics. Instead of introducing -XX:EnableIntrinsic= equivalent, it would be nice to have a new option which supersede both and supports both enabling and disabling arbitrary set of intrinsics. As an example:
        -XX:ControlIntrinsic=+_dabs,-_fabs,-_getClass

      It makes sense to require -XX:+UnlockExperimentalVMOptions when enabling intrinsics.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                vlivanov Vladimir Ivanov
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: