Skip to content

8339300: CollectorPolicy.young_scaled_initial_ergo_vm gtest fails on ppc64 based platforms #3438

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -69,7 +69,7 @@ class TestGenCollectorPolicy {
FLAG_SET_ERGO(InitialHeapSize, 100 * M);
FLAG_SET_ERGO(OldSize, 4 * 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 @@ -258,8 +258,8 @@ 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);
}

Expand Down