< prev index next >

src/hotspot/share/gc/shared/collectedHeap.hpp

Print this page
rev 52072 : 8211955: GC abstraction for LAB reserve

*** 307,316 **** --- 307,318 ---- static void fill_with_object(HeapWord* start, HeapWord* end, bool zap = true) { fill_with_object(start, pointer_delta(end, start), zap); } virtual void fill_with_dummy_object(HeapWord* start, HeapWord* end, bool zap); + size_t min_dummy_object_size() const; + size_t tlab_alloc_reserve() const; // Return the address "addr" aligned by "alignment_in_bytes" if such // an address is below "end". Return NULL otherwise. inline static HeapWord* align_allocation_or_fail(HeapWord* addr, HeapWord* end,
*** 574,584 **** // Deduplicate the string, iff the GC supports string deduplication. virtual void deduplicate_string(oop str); virtual bool is_oop(oop object) const; ! virtual size_t obj_size(oop obj) const; // Non product verification and debugging. #ifndef PRODUCT // Support for PromotionFailureALot. Return true if it's time to cause a // promotion failure. The no-argument version uses --- 576,586 ---- // Deduplicate the string, iff the GC supports string deduplication. virtual void deduplicate_string(oop str); virtual bool is_oop(oop object) const; ! virtual size_t cell_size(size_t obj_size) const { return obj_size; } // Non product verification and debugging. #ifndef PRODUCT // Support for PromotionFailureALot. Return true if it's time to cause a // promotion failure. The no-argument version uses
< prev index next >