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

Shenandoah: use COMPILER2_OR_JVMCI macro consistently

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 11-shenandoah, 13
    • Fix Version/s: 13
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b24

      Backports

        Description

        Use:

        #if COMPILER2_OR_JVMCI

        ...instead of:

        #if defined(COMPILER2) || INCLUDE_JVMCI

        This is cleaner and safer (in case COMPILER2 is actually globally defined but not available in current compilation unit).

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                shade Aleksey Shipilev
                Reporter:
                shade Aleksey Shipilev
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: