mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-22 08:21:27 +00:00
8361704: Parallel: Simplify logic condition in MutableNUMASpace::initialize
Reviewed-by: tschatzl
This commit is contained in:
parent
13e0f99626
commit
c118543efe
@ -412,8 +412,8 @@ void MutableNUMASpace::initialize(MemRegion mr,
|
||||
|
||||
size_t chunk_byte_size = 0;
|
||||
if (i < lgrp_spaces()->length() - 1) {
|
||||
if (!UseAdaptiveNUMAChunkSizing ||
|
||||
(UseAdaptiveNUMAChunkSizing && NUMAChunkResizeWeight == 0) ||
|
||||
if (!UseAdaptiveNUMAChunkSizing ||
|
||||
NUMAChunkResizeWeight == 0 ||
|
||||
samples_count() < AdaptiveSizePolicyReadyThreshold) {
|
||||
// No adaptation. Divide the space equally.
|
||||
chunk_byte_size = default_chunk_size();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user