diff --git a/src/hotspot/share/runtime/jniHandles.cpp b/src/hotspot/share/runtime/jniHandles.cpp index 3041ac6..bc0bc4d 100644 --- a/src/hotspot/share/runtime/jniHandles.cpp +++ b/src/hotspot/share/runtime/jniHandles.cpp @@ -34,7 +34,7 @@ #include "utilities/align.hpp" #include "utilities/debug.hpp" #if INCLUDE_ALL_GCS -#include "gc/g1/g1SATBCardTableModRefBS.hpp" +#include "gc/g1/g1BarrierSet.hpp" #endif OopStorage* JNIHandles::_global_handles = NULL; @@ -141,7 +141,7 @@ oop JNIHandles::resolve_jweak(jweak handle) { oop result = jweak_ref(handle); #if INCLUDE_ALL_GCS if (result != NULL && UseG1GC) { - G1SATBCardTableModRefBS::enqueue(result); + G1BarrierSet::enqueue(result); } #endif // INCLUDE_ALL_GCS return result;