Loading... (original) (raw)

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.