--- a/src/hotspot/cpu/sparc/stubGenerator_sparc.cpp Tue Mar 06 13:08:59 2018 +0100
+++ b/src/hotspot/cpu/sparc/stubGenerator_sparc.cpp Tue Mar 06 08:36:44 2018 +0100
@@ -836,7 +836,7 @@
void gen_write_ref_array_pre_barrier(Register addr, Register count, bool dest_uninitialized) {
BarrierSet* bs = Universe::heap()->barrier_set();
switch (bs->kind()) {
- case BarrierSet::G1SATBCTLogging:
+ case BarrierSet::G1BarrierSet:
// With G1, don't generate the call if we statically know that the target in uninitialized
if (!dest_uninitialized) {
Register tmp = O5;
@@ -898,7 +898,7 @@
BarrierSet* bs = Universe::heap()->barrier_set();
switch (bs->kind()) {
- case BarrierSet::G1SATBCTLogging:
+ case BarrierSet::G1BarrierSet:
{
// Get some new fresh output registers.
__ save_frame(0);