mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8144949: TestOptionsWithRanges -XX:NUMAInterleaveGranularity=2147483648 crashes VM
Changed max range to 2G/8192G for NUMAInterleaveGranularity and removed constraint function Reviewed-by: jwilhelm, jmasa
This commit is contained in:
parent
a22ed33318
commit
46cb143b5d
4 changed files with 5 additions and 12 deletions
|
@ -563,15 +563,6 @@ Flag::Error HeapBaseMinAddressConstraintFunc(size_t value, bool verbose) {
|
|||
return MaxSizeForHeapAlignment("HeapBaseMinAddress", value, verbose);
|
||||
}
|
||||
|
||||
Flag::Error NUMAInterleaveGranularityConstraintFunc(size_t value, bool verbose) {
|
||||
if (UseNUMA && UseNUMAInterleaving) {
|
||||
size_t min_interleave_granularity = UseLargePages ? os::large_page_size() : os::vm_allocation_granularity();
|
||||
return MaxSizeForAlignment("NUMAInterleaveGranularity", value, min_interleave_granularity, verbose);
|
||||
} else {
|
||||
return Flag::SUCCESS;
|
||||
}
|
||||
}
|
||||
|
||||
Flag::Error NewSizeConstraintFunc(size_t value, bool verbose) {
|
||||
#ifdef _LP64
|
||||
#if INCLUDE_ALL_GCS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue