1.1 --- a/src/share/vm/gc_implementation/parallelScavenge/psCompactionManager.inline.hpp Mon Apr 01 14:52:38 2019 +0800 1.2 +++ b/src/share/vm/gc_implementation/parallelScavenge/psCompactionManager.inline.hpp Tue Apr 02 19:01:15 2019 +0800 1.3 @@ -33,7 +33,7 @@ 1.4 ObjArrayTask task(obj, index); 1.5 assert(task.is_valid(), "bad ObjArrayTask"); 1.6 _objarray_stack.push(task); 1.7 -#ifdef MIPS 1.8 +#if defined MIPS && !defined ZERO 1.9 if (UseSyncLevel >= 2000) OrderAccess::fence(); 1.10 #endif 1.11 } 1.12 @@ -47,7 +47,7 @@ 1.13 assert(region_ptr->_pushed++ == 0, "should only be pushed once"); 1.14 #endif 1.15 region_stack()->push(index); 1.16 -#ifdef MIPS 1.17 +#if defined MIPS && !defined ZERO 1.18 if (UseSyncLevel >= 2000) OrderAccess::fence(); 1.19 #endif 1.20 }