--- old/src/share/vm/code/nmethod.cpp 2016-01-28 06:41:50.838872833 -0800 +++ new/src/share/vm/code/nmethod.cpp 2016-01-28 06:41:50.714861454 -0800 @@ -324,6 +324,7 @@ if (count() < cache_size) { set_pc_at(count(),addr); set_handler_at(count(), handler); + OrderAccess::storestore(); increment_count(); return true; }