< prev index next >
src/share/vm/code/relocInfo_ext.cpp
Print this page
rev 12906 : [mq]: gc_interface
@@ -24,10 +24,11 @@
#include "precompiled.hpp"
#include "code/codeCache.hpp"
#include "code/relocInfo.hpp"
#include "code/relocInfo_ext.hpp"
+#include "gc/shared/cardTable.hpp"
#include "gc/shared/cardTableModRefBS.hpp"
#include "gc/shared/collectedHeap.hpp"
#include "memory/universe.hpp"
#include "runtime/os.hpp"
#include "utilities/debug.hpp"
@@ -58,11 +59,11 @@
return (address)Universe::heap()->end_addr();
}
case symbolic_Relocation::card_table_reference: {
BarrierSet* bs = Universe::heap()->barrier_set();
CardTableModRefBS* ct = (CardTableModRefBS*)bs;
- return (address)ct->byte_map_base;
+ return (address)ct->card_table()->byte_map_base();
}
case symbolic_Relocation::mark_bits_reference: {
return (address)Universe::verify_mark_bits();
}
case symbolic_Relocation::mark_mask_reference: {
< prev index next >