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

Zero build broken after 8195103, 8191102 and 8189871

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • 11
    • hotspot
    • b07
    • generic
    • linux

      The following symbol is reported as undefined in the Zero build

      ReduceInitialCardMarks

      This is a C2/JVMCI only symbol but is referenced unconditionally in

      src/hotspot/share/gc/shared/cardTableModRefBS.cpp

      void CardTableModRefBS::on_slowpath_allocation_exit(JavaThread* thread, oop new_obj) {
         if (!ReduceInitialCardMarks) {
           return;
         }

      A second build error is

      /home/ed/openjdk/jdk/src/hotspot/share/interpreter/bytecodeInterpreter.cpp:1748: undefined reference to `typeArrayOopDesc::byte_at_put(int, signed char)'

      This is caused by bytecodeInterpreter.cpp not including typeArrayOop.inline.hpp

      The attached patch gets the build going again.

            enevill Ed Nevill
            enevill Ed Nevill
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: