mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 10:34:38 +02:00
6723228: NUMA allocator: assert(lgrp_id != -1, "No lgrp_id set")
6723229: NUMA allocator: assert(lgrp_num > 0, "There should be at least one locality group") The fix takes care of the assertion triggered during TLAB resizing after reconfiguration. Also it now handles a defect in the topology graph, in which a single leaf node doesn't have memory. Reviewed-by: jmasa
This commit is contained in:
parent
e9e432633b
commit
1193f0f9db
4 changed files with 48 additions and 3 deletions
|
@ -112,6 +112,7 @@ class MutableNUMASpace : public MutableSpace {
|
|||
int lgrp_id() const { return _lgrp_id; }
|
||||
MutableSpace* space() const { return _space; }
|
||||
AdaptiveWeightedAverage* alloc_rate() const { return _alloc_rate; }
|
||||
void clear_alloc_rate() { _alloc_rate->clear(); }
|
||||
SpaceStats* space_stats() { return &_space_stats; }
|
||||
void clear_space_stats() { _space_stats = SpaceStats(); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue