Skip to content

Commit a0cebde

Browse files
committed
Backport f2c992c5af021ab0ff8429fd261314bc7e01f7df
1 parent 5235594 commit a0cebde

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/hotspot/gtest/gc/shared/test_collectorPolicy.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class TestGenCollectorPolicy {
6969
FLAG_SET_ERGO(InitialHeapSize, 100 * M);
7070
FLAG_SET_ERGO(OldSize, 4 * M);
7171
FLAG_SET_ERGO(NewSize, 1 * M);
72-
FLAG_SET_ERGO(MaxNewSize, 40 * M);
72+
FLAG_SET_ERGO(MaxNewSize, 50 * M);
7373

7474
ASSERT_NO_FATAL_FAILURE(setter1->execute());
7575

@@ -258,8 +258,8 @@ TEST_OTHER_VM(CollectorPolicy, young_cmd) {
258258

259259
// If NewSize is set on command line, but is larger than the min
260260
// heap size, it should only be used for initial young size.
261-
TestGenCollectorPolicy::SetNewSizeCmd setter_large(40 * M);
262-
TestGenCollectorPolicy::CheckYoungInitial checker_large(40 * M);
261+
TestGenCollectorPolicy::SetNewSizeCmd setter_large(50 * M);
262+
TestGenCollectorPolicy::CheckYoungInitial checker_large(50 * M);
263263
TestGenCollectorPolicy::TestWrapper::test(&setter_large, &checker_large);
264264
}
265265

0 commit comments

Comments
 (0)