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

[Lilliput/JDK17] Fix 32bit builds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • repo-lilliput
    • hotspot
    • gc
    • x86
    • generic

      32bit builds in Lilliput/JDK17 are broken:

      * For target hotspot_variant-server_libjvm_objs_space.o:
      /home/runner/work/lilliput-jdk17u/lilliput-jdk17u/src/hotspot/share/gc/shared/space.cpp: In member function 'virtual void ContiguousSpace::object_iterate_from(HeapWordImpl**, ObjectClosure*)':
      /home/runner/work/lilliput-jdk17u/lilliput-jdk17u/src/hotspot/share/gc/shared/space.cpp:489:77: error: 'class markWord' has no member named 'narrow_klass'
        489 | if (obj->is_forwarded() && CompressedKlassPointers::is_null(obj->mark().narrow_klass())) {
            | ^~~~~~~~~~~~
      /home/runner/work/lilliput-jdk17u/lilliput-jdk17u/src/hotspot/share/gc/shared/space.cpp: In member function 'void ContiguousSpace::allocate_temporary_filler(int)':
      /home/runner/work/lilliput-jdk17u/lilliput-jdk17u/src/hotspot/share/gc/shared/space.cpp:615:10: error: 'class instanceOopDesc' has no member named 'set_klass_gap'; did you mean 'set_klass'?
        615 | obj->set_klass_gap(0);
            | ^~~~~~~~~~~~~
            | set_klass

            rkennke Roman Kennke
            rkennke Roman Kennke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: