mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +02:00
6740923: NUMA allocator: Ensure the progress of adaptive chunk resizing
Treat a chuck where the allocation has failed as fully used. Reviewed-by: ysr
This commit is contained in:
parent
fe4cab6eeb
commit
4204f82a1a
4 changed files with 51 additions and 6 deletions
|
@ -50,7 +50,8 @@ class ImmutableSpace: public CHeapObj {
|
|||
size_t capacity_in_bytes() const { return capacity_in_words() * HeapWordSize; }
|
||||
|
||||
// Size computations. Sizes are in heapwords.
|
||||
size_t capacity_in_words() const { return pointer_delta(end(), bottom()); }
|
||||
size_t capacity_in_words() const { return pointer_delta(end(), bottom()); }
|
||||
virtual size_t capacity_in_words(Thread*) const { return capacity_in_words(); }
|
||||
|
||||
// Iteration.
|
||||
virtual void oop_iterate(OopClosure* cl);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue