8226236: [TESTBUG] win32: gc/metaspace/TestCapacityUntilGCWrapAround.java fails
Reviewed-by: stuefe
This commit is contained in:
parent
5194f11bc7
commit
038f58d4f0
@ -152,7 +152,7 @@ bool MetaspaceGC::inc_capacity_until_GC(size_t v, size_t* new_cap_until_GC, size
|
||||
|
||||
if (new_value < old_capacity_until_GC) {
|
||||
// The addition wrapped around, set new_value to aligned max value.
|
||||
new_value = align_down(max_uintx, Metaspace::commit_alignment());
|
||||
new_value = align_down(max_uintx, Metaspace::reserve_alignment());
|
||||
}
|
||||
|
||||
if (new_value > MaxMetaspaceSize) {
|
||||
|
Loading…
Reference in New Issue
Block a user