Fix build breakage after 8223136

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P1
    • 13
    • Affects Version/s: 13
    • Component/s: hotspot
    • gc
    • b21

      diff --git a/src/hotspot/cpu/ppc/c1_LIRAssembler_ppc.cpp b/src/hotspot/cpu/ppc/c1_LIRAssembler_ppc.cpp
      --- a/src/hotspot/cpu/ppc/c1_LIRAssembler_ppc.cpp
      +++ b/src/hotspot/cpu/ppc/c1_LIRAssembler_ppc.cpp
      @@ -36,6 +36,7 @@
       #include "gc/shared/barrierSet.hpp"
       #include "gc/shared/cardTableBarrierSet.hpp"
       #include "nativeInst_ppc.hpp"
      +#include "oops/compressedOops.hpp"
       #include "oops/objArrayKlass.hpp"
       #include "runtime/frame.inline.hpp"
       #include "runtime/safepointMechanism.inline.hpp"
      @@ -1237,7 +1238,7 @@
         int disp_value = addr->disp();
         bool needs_patching = (patch_code != lir_patch_none);
         bool compress_oop = (type == T_ARRAY || type == T_OBJECT) && UseCompressedOops && !wide &&
      - Universe::narrow_oop_mode() != Universe::UnscaledNarrowOop;
      + CompressedOops::mode() != CompressedOops::UnscaledNarrowOop;
         bool load_disp = addr->index()->is_illegal() && !Assembler::is_simm16(disp_value);
         bool use_R29 = compress_oop && load_disp; // Avoid register conflict, also do null check before killing R29.
         // Null check for large offsets in LIRGenerator::do_StoreField.
      [ stefank @ stefank03 : 18:19:35 : 519 ] ~/hg/jdk/jdk/open

            Assignee:
            Stefan Karlsson
            Reporter:
            Stefan Karlsson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: