1.1 --- a/src/share/vm/oops/klass.hpp Mon Apr 01 14:52:38 2019 +0800 1.2 +++ b/src/share/vm/oops/klass.hpp Tue Apr 02 19:01:15 2019 +0800 1.3 @@ -292,13 +292,13 @@ 1.4 // The CT and MUT bits saves this information for the individual Klasses. 1.5 void record_modified_oops() { 1.6 _modified_oops = 1; 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 void clear_modified_oops() { 1.13 _modified_oops = 0; 1.14 -#ifdef MIPS 1.15 +#if defined MIPS && !defined ZERO 1.16 if (UseSyncLevel >= 2000) OrderAccess::fence(); 1.17 #endif 1.18 }