8302121: Parallel: Remove unused arg in PSCardTable::inline_write_ref_field_gc
Reviewed-by: tschatzl
This commit is contained in:
parent
916374d766
commit
d401982087
@ -81,7 +81,7 @@ class PSCardTable: public CardTable {
|
||||
static bool card_is_verify(int value) { return value == verify_card; }
|
||||
|
||||
// Card marking
|
||||
void inline_write_ref_field_gc(void* field, oop new_val) {
|
||||
void inline_write_ref_field_gc(void* field) {
|
||||
CardValue* byte = byte_for(field);
|
||||
*byte = youngergen_card;
|
||||
}
|
||||
|
@ -317,7 +317,7 @@ inline void PSPromotionManager::copy_and_push_safe_barrier(T* p) {
|
||||
|
||||
if (!PSScavenge::is_obj_in_young((HeapWord*)p) &&
|
||||
PSScavenge::is_obj_in_young(new_obj)) {
|
||||
PSScavenge::card_table()->inline_write_ref_field_gc(p, new_obj);
|
||||
PSScavenge::card_table()->inline_write_ref_field_gc(p);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user