Skip to content

Commit 1007811

Browse files
committed
8352897: RISC-V: Change default value for UseConservativeFence
Reviewed-by: luhenry, fyang
1 parent 7853415 commit 1007811

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/hotspot/cpu/riscv/globals_riscv.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,7 @@ define_pd_global(intx, InlineSmallCode, 1000);
9090
"Size in bytes of a CPU cache line") \
9191
range(wordSize, max_jint) \
9292
product(bool, TraceTraps, false, "Trace all traps the signal handler") \
93-
/* For now we're going to be safe and add the I/O bits to userspace fences. */ \
94-
product(bool, UseConservativeFence, true, \
93+
product(bool, UseConservativeFence, false, \
9594
"Extend i for r and o for w in the pred/succ flags of fence") \
9695
product(bool, AvoidUnalignedAccesses, true, \
9796
"Avoid generating unaligned memory accesses") \

0 commit comments

Comments
 (0)