--- old/src/hotspot/share/compiler/oopMap.cpp 2019-03-11 14:25:49.414355387 +0100 +++ new/src/hotspot/share/compiler/oopMap.cpp 2019-03-11 14:25:49.214355390 +0100 @@ -32,6 +32,7 @@ #include "memory/allocation.inline.hpp" #include "memory/iterator.hpp" #include "memory/resourceArea.hpp" +#include "oops/valueKlass.hpp" #include "runtime/frame.inline.hpp" #include "runtime/handles.inline.hpp" #include "runtime/signature.hpp" @@ -385,7 +386,7 @@ // load barrier. if (!UseZGC && ((((uintptr_t)loc & (sizeof(*loc)-1)) != 0) || - !Universe::heap()->is_in_or_null(*loc))) { + (!Universe::heap()->is_in_or_null(*loc)))) { tty->print_cr("# Found non oop pointer. Dumping state at failure"); // try to dump out some helpful debugging information trace_codeblob_maps(fr, reg_map);