--- old/src/hotspot/share/oops/constantPool.cpp 2017-10-10 17:32:58.327463679 -0400 +++ new/src/hotspot/share/oops/constantPool.cpp 2017-10-10 17:32:57.870774234 -0400 @@ -226,7 +226,7 @@ symbol_at_put(name_index, name); name->increment_refcount(); Klass** adr = resolved_klasses()->adr_at(resolved_klass_index); - OrderAccess::release_store_ptr((Klass* volatile *)adr, k); + OrderAccess::release_store((Klass* volatile *)adr, k); // The interpreter assumes when the tag is stored, the klass is resolved // and the Klass* non-NULL, so we need hardware store ordering here. @@ -243,7 +243,7 @@ CPKlassSlot kslot = klass_slot_at(class_index); int resolved_klass_index = kslot.resolved_klass_index(); Klass** adr = resolved_klasses()->adr_at(resolved_klass_index); - OrderAccess::release_store_ptr((Klass* volatile *)adr, k); + OrderAccess::release_store((Klass* volatile *)adr, k); // The interpreter assumes when the tag is stored, the klass is resolved // and the Klass* non-NULL, so we need hardware store ordering here. @@ -511,7 +511,7 @@ trace_class_resolution(this_cp, k); } Klass** adr = this_cp->resolved_klasses()->adr_at(resolved_klass_index); - OrderAccess::release_store_ptr((Klass* volatile *)adr, k); + OrderAccess::release_store((Klass* volatile *)adr, k); // The interpreter assumes when the tag is stored, the klass is resolved // and the Klass* stored in _resolved_klasses is non-NULL, so we need // hardware store ordering here.