diff -r 2730e629e32d -r 0c7040d1d1ca src/hotspot/share/opto/library_call.cpp --- a/src/hotspot/share/opto/library_call.cpp Wed Aug 22 13:01:26 2018 +0200 +++ b/src/hotspot/share/opto/library_call.cpp Wed Aug 22 13:06:33 2018 +0200 @@ -3028,7 +3028,7 @@ Node* p = basic_plus_adr(klass, in_bytes(Klass::java_mirror_offset())); Node* load = make_load(NULL, p, TypeRawPtr::NOTNULL, T_ADDRESS, MemNode::unordered); // mirror = ((OopHandle)mirror)->resolve(); - return make_load(NULL, load, TypeInstPtr::MIRROR, T_OBJECT, MemNode::unordered); + return access_load(load, TypeInstPtr::MIRROR, T_OBJECT, IN_NATIVE); } //-----------------------load_klass_from_mirror_common-------------------------