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

Introduce a flag to enable JVM intrinsics

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P3 P3
    • 15
    • 15
    • hotspot

      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.

            xliu Xin Liu
            vlivanov Vladimir Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: