comparison src/share/vm/gc_implementation/parallelScavenge/psPromotionLAB.hpp @ 3985:c63b928b212b

7021322: assert(object_end <= top()) failed: Object crosses promotion LAB boundary Summary: Pass the same object size value to both allocate and unallocate_object Reviewed-by: ysr, brutisso
author stefank
date Mon, 12 Sep 2011 16:09:50 +0200
parents f95d63e2154a
children d2a62e0f25eb
comparison
equal deleted inserted replaced
3984:81aa07130d30 3985:c63b928b212b
71 HeapWord* end() const { return _end; } 71 HeapWord* end() const { return _end; }
72 HeapWord* top() const { return _top; } 72 HeapWord* top() const { return _top; }
73 73
74 bool is_flushed() { return _state == flushed; } 74 bool is_flushed() { return _state == flushed; }
75 75
76 bool unallocate_object(oop obj); 76 bool unallocate_object(HeapWord* obj, size_t obj_size);
77 77
78 // Returns a subregion containing all objects in this space. 78 // Returns a subregion containing all objects in this space.
79 MemRegion used_region() { return MemRegion(bottom(), top()); } 79 MemRegion used_region() { return MemRegion(bottom(), top()); }
80 80
81 // Boolean querries. 81 // Boolean querries.