8064940: JMH javac performance regressions on solaris-sparcv9 in 9-b34

Aligning code heap sizes to large page size if supported.

Reviewed-by: kvn, anoll
This commit is contained in:
Tobias Hartmann 2015-01-28 07:55:27 +01:00
parent fb0b5b0159
commit ad9c86bc97
3 changed files with 26 additions and 18 deletions

View file

@ -82,6 +82,9 @@ public class PrintCodeCacheRunner implements CodeCacheCLITestCase.Runner {
ExitCode.OK,
testCaseDescription.getTestOptions(options,
CommandLineOptionTest.prepareBooleanFlag(
"PrintCodeCache", printCodeCache)));
"PrintCodeCache", printCodeCache),
// Do not use large pages to avoid large page
// alignment of code heaps affecting their size.
"-XX:-UseLargePages"));
}
}