--- old/src/hotspot/share/asm/assembler.cpp 2017-10-13 18:22:51.892356432 -0400 +++ new/src/hotspot/share/asm/assembler.cpp 2017-10-13 18:22:51.428012168 -0400 @@ -236,11 +236,9 @@ if (dcon->match(type, cfn)) return dcon; if (dcon->value_fn == NULL) { - // (cmpxchg not because this is multi-threaded but because I'm paranoid) - if (Atomic::cmpxchg_ptr(CAST_FROM_FN_PTR(void*, cfn), &dcon->value_fn, NULL) == NULL) { + dcon->value_fn = cfn; dcon->type = type; return dcon; - } } } // If this assert is hit (in pre-integration testing!) then re-evaluate