< prev index next >
src/share/vm/oops/klass.cpp
Print this page
@@ -40,11 +40,11 @@
#include "runtime/orderAccess.inline.hpp"
#include "trace/traceMacros.hpp"
#include "utilities/macros.hpp"
#include "utilities/stack.inline.hpp"
#if INCLUDE_ALL_GCS
-#include "gc/g1/g1SATBCardTableModRefBS.hpp"
+#include "gc/shared/satbMarkQueue.hpp"
#endif // INCLUDE_ALL_GCS
bool Klass::is_cloneable() const {
return _access_flags.is_cloneable_fast() ||
is_subtype_of(SystemDictionary::Cloneable_klass());
@@ -445,11 +445,11 @@
void Klass::klass_update_barrier_set_pre(oop* p, oop v) {
#if INCLUDE_ALL_GCS
if (UseG1GC) {
oop obj = *p;
if (obj != NULL) {
- G1SATBCardTableModRefBS::enqueue(obj);
+ SATBMarkQueue::enqueue(obj);
}
}
#endif
}
< prev index next >