--- old/src/hotspot/share/code/compiledMethod.cpp 2019-11-21 11:52:04.397859635 +0100 +++ new/src/hotspot/share/code/compiledMethod.cpp 2019-11-21 11:52:03.913851728 +0100 @@ -615,7 +615,7 @@ if (md != NULL && md->is_method()) { Method* method = static_cast(md); if (!method->method_holder()->is_loader_alive()) { - Atomic::store((Method*)NULL, r->metadata_addr()); + Atomic::store(r->metadata_addr(), (Method*)NULL); if (!r->metadata_is_immediate()) { r->fix_metadata_relocation();