mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
8130931: Refactor CardTableModRefBS[ForCTRS]
Remove friends and push CTRS-specific code down from base to derived Reviewed-by: tschatzl, mgerdin
This commit is contained in:
parent
d7f565d9eb
commit
717679c169
11 changed files with 302 additions and 251 deletions
|
@ -40,7 +40,6 @@ class CheckForUnmarkedOops : public OopClosure {
|
|||
PSYoungGen* _young_gen;
|
||||
CardTableExtension* _card_table;
|
||||
HeapWord* _unmarked_addr;
|
||||
jbyte* _unmarked_card;
|
||||
|
||||
protected:
|
||||
template <class T> void do_oop_work(T* p) {
|
||||
|
@ -50,7 +49,6 @@ class CheckForUnmarkedOops : public OopClosure {
|
|||
// Don't overwrite the first missing card mark
|
||||
if (_unmarked_addr == NULL) {
|
||||
_unmarked_addr = (HeapWord*)p;
|
||||
_unmarked_card = _card_table->byte_for(p);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue