--- old/src/hotspot/share/services/mallocSiteTable.hpp 2017-10-11 09:38:56.122128499 -0400 +++ new/src/hotspot/share/services/mallocSiteTable.hpp 2017-10-11 09:38:55.693240620 -0400 @@ -79,10 +79,7 @@ // Insert an entry atomically. // Return true if the entry is inserted successfully. // The operation can be failed due to contention from other thread. - bool atomic_insert(const MallocSiteHashtableEntry* entry) { - return (Atomic::cmpxchg_ptr((void*)entry, (volatile void*)&_next, - NULL) == NULL); - } + bool atomic_insert(const MallocSiteHashtableEntry* entry); void set_callsite(const MallocSite& site) { _malloc_site = site;