mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 10:34:38 +02:00
8204685: Abstraction for TLAB dummy object
Reviewed-by: tschatzl, shade
This commit is contained in:
parent
74e093f058
commit
cc206eaca5
4 changed files with 9 additions and 3 deletions
|
@ -350,6 +350,8 @@ class CollectedHeap : public CHeapObj<mtInternal> {
|
|||
fill_with_object(start, pointer_delta(end, start), zap);
|
||||
}
|
||||
|
||||
virtual void fill_with_dummy_object(HeapWord* start, HeapWord* end, bool zap);
|
||||
|
||||
// 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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue