Skip to content

Commit

Permalink
8226236: win32: gc/metaspace/TestCapacityUntilGCWrapAround.java fails
Browse files Browse the repository at this point in the history
Backport-of: 038f58d4f0782f885547d2b052a47fdf2229cfe3
  • Loading branch information
zzambers authored and jerboaa committed Dec 2, 2022
1 parent 77403ed commit 5510145
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hotspot/src/share/vm/memory/metaspace.cpp
Expand Up @@ -1438,7 +1438,7 @@ bool MetaspaceGC::inc_capacity_until_GC(size_t v, size_t* new_cap_until_GC, size

if (new_value < capacity_until_GC) {
// The addition wrapped around, set new_value to aligned max value.
new_value = align_size_down(max_uintx, Metaspace::commit_alignment());
new_value = align_size_down(max_uintx, Metaspace::reserve_alignment());
}

if (new_value > MaxMetaspaceSize) {
Expand Down

1 comment on commit 5510145

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.