--- old/src/share/vm/gc/g1/g1StringDedupTable.cpp 2017-04-25 16:44:43.247174906 +0200 +++ new/src/share/vm/gc/g1/g1StringDedupTable.cpp 2017-04-25 16:44:43.099174911 +0200 @@ -26,7 +26,7 @@ #include "classfile/altHashing.hpp" #include "classfile/javaClasses.inline.hpp" #include "gc/g1/g1CollectedHeap.inline.hpp" -#include "gc/g1/g1SATBCardTableModRefBS.hpp" +#include "gc/g1/g1BarrierSet.hpp" #include "gc/g1/g1StringDedup.hpp" #include "gc/g1/g1StringDedupTable.hpp" #include "gc/shared/gcLocker.hpp" @@ -382,7 +382,7 @@ if (existing_value != NULL) { // Enqueue the reference to make sure it is kept alive. Concurrent mark might // otherwise declare it dead if there are no other strong references to this object. - G1SATBCardTableModRefBS::enqueue(existing_value); + G1BarrierSet::satb_enqueue(existing_value); // Existing value found, deduplicate string java_lang_String::set_value(java_string, existing_value);