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

Fix build breakage after 8223136

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1
    • 13
    • 13
    • hotspot
    • gc
    • b21

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: