Skip to content

Commit

Permalink
JDK-8339300
Browse files Browse the repository at this point in the history
  • Loading branch information
MBaesken committed Sep 2, 2024
1 parent 03ba37e commit 36b0d68
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/hotspot/gtest/gc/shared/test_collectorPolicy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class TestGenCollectorPolicy {
MinHeapSize = 40 * M;
FLAG_SET_ERGO(InitialHeapSize, 100 * M);
FLAG_SET_ERGO(NewSize, 1 * M);
FLAG_SET_ERGO(MaxNewSize, 40 * M);
FLAG_SET_ERGO(MaxNewSize, 50 * M);

ASSERT_NO_FATAL_FAILURE(setter1->execute());

Expand Down Expand Up @@ -196,7 +196,7 @@ TEST_OTHER_VM(CollectorPolicy, young_cmd) {

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

0 comments on commit 36b0d68

Please sign in to comment.