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

Replace global intrinsics flags with VM_Version::is_intrinsic_supported(id)

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 21
    • hotspot

      Currently the only way to check in shared code if a platform supports intrinsic is to add new flag which is set in platform specific code based on CPU instructions set. And we have "ton" of such global flags already in globals.hpp

      JDK-8303415 added new VM_Version API which can be used instead.

      And we have -XX:DisableIntrinsic=<id> and -XX:ControlIntrinsic=<id> VM flags to control intrinsics from command line.

            amitkumar Amit Kumar
            kvn Vladimir Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: