Wed, 14 Jun 2017 15:07:28 +0800
sync on gs464e
src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.inline.hpp | file | annotate | diff | comparison | revisions |
1.1 --- a/src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.inline.hpp Mon Jun 12 15:44:22 2017 +0800 1.2 +++ b/src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.inline.hpp Wed Jun 14 15:07:28 2017 +0800 1.3 @@ -157,9 +157,6 @@ 1.4 new_obj = (oop) _old_lab.allocate(new_obj_size); 1.5 } 1.6 } 1.7 -#ifdef MIPS64 1.8 - if (Use3A2000) OrderAccess::fence(); 1.9 -#endif 1.10 } 1.11 1.12 // This is the promotion failed test, and code handling. 1.13 @@ -171,6 +168,9 @@ 1.14 if (new_obj == NULL) { 1.15 _old_gen_is_full = true; 1.16 return oop_promotion_failed(o, test_mark); 1.17 +#ifdef MIPS64 1.18 + if (Use3A2000) OrderAccess::fence(); 1.19 +#endif 1.20 } 1.21 } 1.22 }