8211955: GC abstraction for LAB reserve

Reviewed-by: pliden, shade
This commit is contained in:
Roman Kennke 2018-10-10 23:05:15 +02:00
parent a3a7edbd4d
commit 7d7da8976b
5 changed files with 19 additions and 8 deletions

View file

@ -309,6 +309,8 @@ class CollectedHeap : public CHeapObj<mtInternal> {
}
virtual void fill_with_dummy_object(HeapWord* start, HeapWord* end, bool zap);
virtual 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.