mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 20:44:41 +02:00
6684395: Port NUMA-aware allocator to linux
NUMA-aware allocator port to Linux Reviewed-by: jmasa, apetrusenko
This commit is contained in:
parent
f784be24d1
commit
a24f915b60
14 changed files with 260 additions and 73 deletions
|
@ -169,8 +169,9 @@ class ParallelScavengeHeap : public CollectedHeap {
|
|||
size_t large_typearray_limit() { return FastAllocateSizeLimit; }
|
||||
|
||||
bool supports_inline_contig_alloc() const { return !UseNUMA; }
|
||||
HeapWord** top_addr() const { return !UseNUMA ? young_gen()->top_addr() : NULL; }
|
||||
HeapWord** end_addr() const { return !UseNUMA ? young_gen()->end_addr() : NULL; }
|
||||
|
||||
HeapWord** top_addr() const { return !UseNUMA ? young_gen()->top_addr() : (HeapWord**)-1; }
|
||||
HeapWord** end_addr() const { return !UseNUMA ? young_gen()->end_addr() : (HeapWord**)-1; }
|
||||
|
||||
void ensure_parsability(bool retire_tlabs);
|
||||
void accumulate_statistics_all_tlabs();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue