Skip to content
Permalink
Browse files
8272563: assert(is_double_stack() && !is_virtual()) failed: type check
Reviewed-by: thartmann, iveresov
  • Loading branch information
Fairoz Matte authored and TobiHartmann committed Sep 1, 2021
1 parent 0e14bf7 commit a58cf16509f3120d69fc18bd4c2c49e9ad590f73
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/hotspot/share/gc/shared/c1/cardTableBarrierSetC1.cpp
@@ -67,7 +67,8 @@ void CardTableBarrierSetC1::post_barrier(LIRAccess& access, LIR_OprDesc* addr, L
#else
LIR_Opr tmp = gen->new_pointer_register();
if (TwoOperandLIRForm) {
__ move(addr, tmp);
LIR_Opr addr_opr = LIR_OprFact::address(new LIR_Address(addr, addr->type()));
__ leal(addr_opr, tmp);
__ unsigned_shift_right(tmp, CardTable::card_shift, tmp);
} else {
__ unsigned_shift_right(addr, CardTable::card_shift, tmp);

1 comment on commit a58cf16

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on a58cf16 Sep 1, 2021

Please sign in to comment.