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

Make -XX:UseSSE flag x86-specific and obsolete elsewhere

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P3 P3
    • 15
    • hotspot
    • None
    • behavioral
    • minimal
    • Non-x86 platforms are very unlikely to be setting this flag.
    • add/remove/modify command line option
    • Implementation

      Summary

      Mark the product flag UseSSE as obsolete on non-x86 systems.

      Problem

      The product flag UseSSE is defined in shared code but actually only has meaning on x86 systems.

      Solution

      Make the UseSSE flag x86-specific and report it as obsolete on non-x86 platforms.

      Specification

      Update the special flags table as follows:

      + #ifndef X86
      +   { "UseSSE",                        JDK_Version::undefined(), JDK_Version::jdk(15), JDK_Version::jdk(16) },
      + #endif // !X86

            vlivanov Vladimir Ivanov
            vlivanov Vladimir Ivanov
            David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: