Shenandoah: use COMPILER2_OR_JVMCI macro consistently

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 13
    • Affects Version/s: 11-shenandoah, 13
    • Component/s: hotspot
    • gc
    • b24

        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).

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

                Created:
                Updated:
                Resolved: