< prev index next >

src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp

Print this page

        

*** 627,637 **** Atomic::release_store_fence(&_used, bytes); } void ShenandoahHeap::decrease_used(size_t bytes) { assert(used() >= bytes, "never decrease heap size by more than we've left"); ! Atomic::sub(bytes, &_used); } void ShenandoahHeap::increase_allocated(size_t bytes) { Atomic::add(&_bytes_allocated_since_gc_start, bytes); } --- 627,637 ---- Atomic::release_store_fence(&_used, bytes); } void ShenandoahHeap::decrease_used(size_t bytes) { assert(used() >= bytes, "never decrease heap size by more than we've left"); ! Atomic::sub(&_used, bytes); } void ShenandoahHeap::increase_allocated(size_t bytes) { Atomic::add(&_bytes_allocated_since_gc_start, bytes); }
< prev index next >