8339300: CollectorPolicy.young_scaled_initial_ergo_vm gtest fails on ppc64 based platforms
Reviewed-by: mdoerr, lucy
This commit is contained in:
parent
9a1024dec6
commit
f2c992c5af
@ -67,7 +67,7 @@ class TestGenCollectorPolicy {
|
|||||||
MinHeapSize = 40 * M;
|
MinHeapSize = 40 * M;
|
||||||
FLAG_SET_ERGO(InitialHeapSize, 100 * M);
|
FLAG_SET_ERGO(InitialHeapSize, 100 * M);
|
||||||
FLAG_SET_ERGO(NewSize, 1 * 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());
|
ASSERT_NO_FATAL_FAILURE(setter1->execute());
|
||||||
|
|
||||||
@ -196,7 +196,7 @@ TEST_OTHER_VM(CollectorPolicy, young_cmd) {
|
|||||||
|
|
||||||
// If NewSize is set on command line, but is larger than the min
|
// If NewSize is set on command line, but is larger than the min
|
||||||
// heap size, it should only be used for initial young size.
|
// heap size, it should only be used for initial young size.
|
||||||
TestGenCollectorPolicy::SetNewSizeCmd setter_large(40 * M);
|
TestGenCollectorPolicy::SetNewSizeCmd setter_large(50 * M);
|
||||||
TestGenCollectorPolicy::CheckYoungInitial checker_large(40 * M);
|
TestGenCollectorPolicy::CheckYoungInitial checker_large(50 * M);
|
||||||
TestGenCollectorPolicy::TestWrapper::test(&setter_large, &checker_large);
|
TestGenCollectorPolicy::TestWrapper::test(&setter_large, &checker_large);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user