--- old/src/hotspot/share/classfile/compactHashtable.inline.hpp 2018-03-21 16:40:55.811888466 +0100 +++ new/src/hotspot/share/classfile/compactHashtable.inline.hpp 2018-03-21 16:40:55.611888473 +0100 @@ -26,8 +26,10 @@ #define SHARE_VM_CLASSFILE_COMPACTHASHTABLE_INLINE_HPP #include "classfile/compactHashtable.hpp" +#include "classfile/javaClasses.hpp" #include "memory/allocation.inline.hpp" -#include "oops/oop.inline.hpp" +#include "oops/compressedOops.inline.hpp" +#include "oops/oop.hpp" template inline Symbol* CompactHashtable::decode_entry(CompactHashtable* const t, @@ -45,7 +47,7 @@ inline oop CompactHashtable::decode_entry(CompactHashtable* const t, u4 offset, const char* name, int len) { narrowOop obj = (narrowOop)offset; - oop string = oopDesc::decode_heap_oop(obj); + oop string = CompressedOops::decode(obj); if (java_lang_String::equals(string, (jchar*)name, len)) { return string; }