Skip to content

Commit 2469449

Browse files
committed
8201785: Make ModRefBarrierSetAssembler abstract on all platforms
Reviewed-by: eosterlund, pliden, mdoerr
1 parent f900ae9 commit 2469449

File tree

6 files changed

+3
-20
lines changed

6 files changed

+3
-20
lines changed

src/hotspot/cpu/aarch64/gc/shared/modRefBarrierSetAssembler_aarch64.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,6 @@ void ModRefBarrierSetAssembler::arraycopy_epilogue(MacroAssembler* masm, Decorat
4444
}
4545
}
4646

47-
48-
void ModRefBarrierSetAssembler::oop_store_at(MacroAssembler* masm, DecoratorSet decorators, BasicType type,
49-
Address dst, Register val, Register tmp1, Register tmp2) {
50-
BarrierSetAssembler::store_at(masm, decorators, type, dst, val, tmp1, tmp2);
51-
}
52-
5347
void ModRefBarrierSetAssembler::store_at(MacroAssembler* masm, DecoratorSet decorators, BasicType type,
5448
Address dst, Register val, Register tmp1, Register tmp2) {
5549
if (type == T_OBJECT || type == T_ARRAY) {

src/hotspot/cpu/aarch64/gc/shared/modRefBarrierSetAssembler_aarch64.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class ModRefBarrierSetAssembler: public BarrierSetAssembler {
4040
Register start, Register end, Register tmp, RegSet saved_regs) {}
4141

4242
virtual void oop_store_at(MacroAssembler* masm, DecoratorSet decorators, BasicType type,
43-
Address dst, Register val, Register tmp1, Register tmp2);
43+
Address dst, Register val, Register tmp1, Register tmp2) = 0;
4444

4545
public:
4646
virtual void arraycopy_prologue(MacroAssembler* masm, DecoratorSet decorators, bool is_oop,

src/hotspot/cpu/ppc/gc/shared/modRefBarrierSetAssembler_ppc.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,6 @@ void ModRefBarrierSetAssembler::arraycopy_epilogue(MacroAssembler* masm, Decorat
5656
}
5757
}
5858

59-
void ModRefBarrierSetAssembler::oop_store_at(MacroAssembler* masm, DecoratorSet decorators, BasicType type,
60-
Register base, RegisterOrConstant ind_or_offs, Register val,
61-
Register tmp1, Register tmp2, Register tmp3, bool needs_frame) {
62-
BarrierSetAssembler::store_at(masm, decorators, type, base, ind_or_offs, val, tmp1, tmp2, tmp3, needs_frame);
63-
}
64-
6559
void ModRefBarrierSetAssembler::store_at(MacroAssembler* masm, DecoratorSet decorators, BasicType type,
6660
Register base, RegisterOrConstant ind_or_offs, Register val,
6761
Register tmp1, Register tmp2, Register tmp3, bool needs_frame) {

src/hotspot/cpu/ppc/gc/shared/modRefBarrierSetAssembler_ppc.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class ModRefBarrierSetAssembler: public BarrierSetAssembler {
4141

4242
virtual void oop_store_at(MacroAssembler* masm, DecoratorSet decorators, BasicType type,
4343
Register base, RegisterOrConstant ind_or_offs, Register val,
44-
Register tmp1, Register tmp2, Register tmp3, bool needs_frame);
44+
Register tmp1, Register tmp2, Register tmp3, bool needs_frame) = 0;
4545
public:
4646
virtual void arraycopy_prologue(MacroAssembler* masm, DecoratorSet decorators, BasicType type,
4747
Register src, Register dst, Register count, Register preserve1, Register preserve2);

src/hotspot/cpu/s390/gc/shared/modRefBarrierSetAssembler_s390.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,6 @@ void ModRefBarrierSetAssembler::arraycopy_epilogue(MacroAssembler* masm, Decorat
5050
}
5151
}
5252

53-
void ModRefBarrierSetAssembler::oop_store_at(MacroAssembler* masm, DecoratorSet decorators, BasicType type,
54-
const Address& dst, Register val, Register tmp1, Register tmp2, Register tmp3) {
55-
BarrierSetAssembler::store_at(masm, decorators, type, dst, val, tmp1, tmp2, tmp3);
56-
}
57-
5853
void ModRefBarrierSetAssembler::store_at(MacroAssembler* masm, DecoratorSet decorators, BasicType type,
5954
const Address& dst, Register val, Register tmp1, Register tmp2, Register tmp3) {
6055
if (type == T_OBJECT || type == T_ARRAY) {

src/hotspot/cpu/s390/gc/shared/modRefBarrierSetAssembler_s390.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class ModRefBarrierSetAssembler: public BarrierSetAssembler {
3939
virtual void gen_write_ref_array_post_barrier(MacroAssembler* masm, DecoratorSet decorators, Register addr, Register count,
4040
bool do_return);
4141
virtual void oop_store_at(MacroAssembler* masm, DecoratorSet decorators, BasicType type,
42-
const Address& dst, Register val, Register tmp1, Register tmp2, Register tmp3);
42+
const Address& dst, Register val, Register tmp1, Register tmp2, Register tmp3) = 0;
4343
public:
4444
virtual void arraycopy_prologue(MacroAssembler* masm, DecoratorSet decorators, BasicType type,
4545
Register src, Register dst, Register count);

0 commit comments

Comments
 (0)