src/share/vm/gc_implementation/parallelScavenge/psCompactionManager.inline.hpp

changeset 6876
710a3c8b516e
parent 2314
f95d63e2154a
parent 124
9d7e35a93fad
child 8019
3fb3ceb7398f
     1.1 --- a/src/share/vm/gc_implementation/parallelScavenge/psCompactionManager.inline.hpp	Mon Sep 08 12:35:01 2014 -0700
     1.2 +++ b/src/share/vm/gc_implementation/parallelScavenge/psCompactionManager.inline.hpp	Tue Aug 08 15:57:29 2017 +0800
     1.3 @@ -33,6 +33,9 @@
     1.4    ObjArrayTask task(obj, index);
     1.5    assert(task.is_valid(), "bad ObjArrayTask");
     1.6    _objarray_stack.push(task);
     1.7 +#ifdef MIPS64
     1.8 +  if (Use3A2000) OrderAccess::fence();
     1.9 +#endif
    1.10  }
    1.11  
    1.12  void ParCompactionManager::push_region(size_t index)
    1.13 @@ -44,6 +47,9 @@
    1.14    assert(region_ptr->_pushed++ == 0, "should only be pushed once");
    1.15  #endif
    1.16    region_stack()->push(index);
    1.17 +#ifdef MIPS64
    1.18 +  if (Use3A2000) OrderAccess::fence();
    1.19 +#endif
    1.20  }
    1.21  
    1.22  #endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSCOMPACTIONMANAGER_INLINE_HPP

mercurial