--- old/src/share/vm/ci/ciInstanceKlass.hpp 2016-11-16 09:06:10.054498522 +0100 +++ new/src/share/vm/ci/ciInstanceKlass.hpp 2016-11-16 09:06:09.982498520 +0100 @@ -185,6 +185,7 @@ ciInstanceKlass* get_canonical_holder(int offset); ciField* get_field_by_offset(int field_offset, bool is_static); + ciType* get_field_type_by_offset(int field_offset); ciField* get_field_by_name(ciSymbol* name, ciSymbol* signature, bool is_static); // total number of nonstatic fields (including inherited): @@ -212,7 +213,7 @@ bool has_finalizable_subclass(); bool contains_field_offset(int offset) { - return instanceOopDesc::contains_field_offset(offset, nonstatic_field_size()); + return instanceOopDesc::contains_field_offset(offset, nonstatic_field_size(), is_valuetype()); } // Get the instance of java.lang.Class corresponding to