mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-11 10:58:26 +00:00
8293213: G1: Remove redundant assertion in G1RemSet::clean_card_before_refine
Reviewed-by: tschatzl, kbarrett
This commit is contained in:
parent
a92c1ff700
commit
6a1e98cbf7
@ -1602,7 +1602,7 @@ inline void check_card_ptr(CardTable::CardValue* card_ptr, G1CardTable* ct) {
|
||||
}
|
||||
|
||||
bool G1RemSet::clean_card_before_refine(CardValue** const card_ptr_addr) {
|
||||
assert(!_g1h->is_gc_active(), "Only call concurrently");
|
||||
assert(!SafepointSynchronize::is_at_safepoint(), "Only call concurrently");
|
||||
|
||||
CardValue* card_ptr = *card_ptr_addr;
|
||||
// Find the start address represented by the card.
|
||||
@ -1657,8 +1657,6 @@ bool G1RemSet::clean_card_before_refine(CardValue** const card_ptr_addr) {
|
||||
//
|
||||
|
||||
if (G1HotCardCache::use_cache()) {
|
||||
assert(!SafepointSynchronize::is_at_safepoint(), "sanity");
|
||||
|
||||
const CardValue* orig_card_ptr = card_ptr;
|
||||
card_ptr = _hot_card_cache->insert(card_ptr);
|
||||
if (card_ptr == NULL) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user