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

Optimized build is broken

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 15, 16
    • Fix Version/s: 16
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b13

      Description

      There are two issues:
      1)
      ./src/hotspot/share/gc/parallel/psParallelCompact.cpp: In static member function 'static void PSParallelCompact::summary_phase(ParCompactionManager*, bool)':
      ./src/hotspot/share/gc/parallel/psParallelCompact.cpp:1615:7: error: 'add_obj_count' was not declared in this scope
             add_obj_count,
             ^~~~~~~~~~~~~
      ./src/hotspot/share/gc/parallel/psParallelCompact.cpp:1616:7: error: 'add_obj_size' was not declared in this scope
             add_obj_size * HeapWordSize);
             ^~~~~~~~~~~~
      ./src/hotspot/share/gc/parallel/psParallelCompact.cpp:1616:7: note: suggested alternative: 'T_INT_size'
             add_obj_size * HeapWordSize);
             ^~~~~~~~~~~~
             T_INT_size
      ./src/hotspot/share/gc/parallel/psParallelCompact.cpp:1620:7: error: 'mark_bitmap_count' was not declared in this scope
             mark_bitmap_count,
             ^~~~~~~~~~~~~~~~~
      ./src/hotspot/share/gc/parallel/psParallelCompact.cpp:1620:7: note: suggested alternative: 'mark_bitmap'
             mark_bitmap_count,
             ^~~~~~~~~~~~~~~~~
             mark_bitmap
      ./src/hotspot/share/gc/parallel/psParallelCompact.cpp:1621:7: error: 'mark_bitmap_size' was not declared in this scope
             mark_bitmap_size * HeapWordSize);
             ^~~~~~~~~~~~~~~~
      ./src/hotspot/share/gc/parallel/psParallelCompact.cpp:1621:7: note: suggested alternative: 'mark_bitmap'
             mark_bitmap_size * HeapWordSize);
             ^~~~~~~~~~~~~~~~
             mark_bitmap

      2)
      /home/christian/jdk2/build/linux-x86_64-server-release/hotspot/variant-server/libjvm/objs/scopeDesc.o: In function `ScopeDesc::print_on(outputStream*, PcDesc*) const':
      /home/christian/jdk2/./open/src/hotspot/share/code/scopeDesc.cpp:245: undefined reference to `java_lang_Class::as_Klass(oopDesc*)'
      /home/christian/jdk2/./open/src/hotspot/share/code/scopeDesc.cpp:245: undefined reference to `java_lang_Class::as_Klass(oopDesc*)'
      collect2: error: ld returned 1 exit status
      lib/CompileJvm.gmk:141: recipe for target

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              chagedorn Christian Hagedorn
              Reporter:
              chagedorn Christian Hagedorn
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: