File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/hotspot/share/gc/parallel Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ class CheckForUnmarkedOops : public BasicOopIterateClosure {
48
48
template <class T > void do_oop_work (T* p) {
49
49
oop obj = RawAccess<>::oop_load (p);
50
50
if (_young_gen->is_in_reserved (obj) &&
51
- !_card_table->addr_is_marked_imprecise (p)) {
51
+ !_card_table->is_dirty_for_addr (p)) {
52
52
// Don't overwrite the first missing card mark
53
53
if (_unmarked_addr == nullptr ) {
54
54
_unmarked_addr = (HeapWord*)p;
@@ -90,7 +90,7 @@ class CheckForUnmarkedObjects : public ObjectClosure {
90
90
CheckForUnmarkedOops object_check (_young_gen, _card_table);
91
91
obj->oop_iterate (&object_check);
92
92
if (object_check.has_unmarked_oop ()) {
93
- guarantee (_card_table->addr_is_marked_imprecise (obj), " Found unmarked young_gen object" );
93
+ guarantee (_card_table->is_dirty_for_addr (obj), " Found unmarked young_gen object" );
94
94
}
95
95
}
96
96
};
@@ -387,7 +387,7 @@ void PSCardTable::verify_all_young_refs_imprecise() {
387
387
old_gen->object_iterate (&check);
388
388
}
389
389
390
- bool PSCardTable::addr_is_marked_imprecise (void *addr) {
390
+ bool PSCardTable::is_dirty_for_addr (void *addr) {
391
391
CardValue* p = byte_for (addr);
392
392
return is_dirty (p);
393
393
}
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ class PSCardTable: public CardTable {
82
82
uint stripe_index,
83
83
uint n_stripes);
84
84
85
- bool addr_is_marked_imprecise (void *addr);
85
+ bool is_dirty_for_addr (void *addr);
86
86
87
87
// Card marking
88
88
void inline_write_ref_field_gc (void * field) {
You can’t perform that action at this time.
0 commit comments