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

Zero SPARC64 debug builds fail due to missing interpreter fields

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      team

      Description

      Current Zero SPARC64 build fails with:

      /home/buildbot/worker/build-jdk11u-dev-linux/build/src/hotspot/share/interpreter/bytecodeInterpreter.cpp: In member function 'void BytecodeInterpreter::print()':
      /home/buildbot/worker/build-jdk11u-dev-linux/build/src/hotspot/share/interpreter/bytecodeInterpreter.cpp:3491:67: error: 'class BytecodeInterpreter' has no member named '_last_Java_pc'
       3491 | tty->print_cr("last_Java_pc: " INTPTR_FORMAT, (uintptr_t) this->_last_Java_pc);
            | ^~~~~~~~~~~~~
      /home/buildbot/worker/build-jdk11u-dev-linux/build/src/hotspot/share/interpreter/bytecodeInterpreter.cpp:3492:67: error: 'class BytecodeInterpreter' has no member named '_frame_bottom'
       3492 | tty->print_cr("frame_bottom: " INTPTR_FORMAT, (uintptr_t) this->_frame_bottom);
            | ^~~~~~~~~~~~~
      /home/buildbot/worker/build-jdk11u-dev-linux/build/src/hotspot/share/interpreter/bytecodeInterpreter.cpp:3493:71: error: 'class BytecodeInterpreter' has no member named '_native_fresult'
       3493 | tty->print_cr("&native_fresult: " INTPTR_FORMAT, (uintptr_t) &this->_native_fresult);
            | ^~~~~~~~~~~~~~~
      /home/buildbot/worker/build-jdk11u-dev-linux/build/src/hotspot/share/interpreter/bytecodeInterpreter.cpp:3494:69: error: 'class BytecodeInterpreter' has no member named '_native_lresult'
       3494 | tty->print_cr("native_lresult: " INTPTR_FORMAT, (uintptr_t) this->_native_lresult);
            | ^~~~~~~~~~~~~~~

      This is a SPARC-specific, Zero-specific, 11u-specific problem.

      JDK-8074457 removed the fields with the non-zero C++ interpreter, which broke Zero build:
      http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/d321ba06d890#l29.36

      Mainline is not affected, because JDK-8244224 removed the SPARC support along with the affected block in bytecodeInterpreter.cpp.

      So we just want to fix it in 11u, I think.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              shade Aleksey Shipilev
              Reporter:
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: