7188176: The JVM should differentiate between T and M series and adjust GC ergonomics

Reviewed-by: kvn
This commit is contained in:
Tao Mao 2012-09-24 11:07:03 -07:00 committed by Christian Thalinger
parent 302540691b
commit c791cfaf95
2 changed files with 8 additions and 2 deletions

View file

@ -339,7 +339,11 @@ void VM_Version::revert() {
unsigned int VM_Version::calc_parallel_worker_threads() {
unsigned int result;
if (is_niagara_plus()) {
if (is_M_series()) {
// for now, use same gc thread calculation for M-series as for niagara-plus
// in future, we may want to tweak parameters for nof_parallel_worker_thread
result = nof_parallel_worker_threads(5, 16, 8);
} else if (is_niagara_plus()) {
result = nof_parallel_worker_threads(5, 16, 8);
} else {
result = nof_parallel_worker_threads(5, 8, 8);