src/cpu/sparc/vm/vm_version_sparc.cpp

changeset 8733
92cb89e23f3e
parent 8732
ef91cb539697
child 8856
ac27a9c85bea
child 8982
8f1acbb637e3
child 9007
91894ffc746c
     1.1 --- a/src/cpu/sparc/vm/vm_version_sparc.cpp	Fri Mar 31 07:46:19 2017 -0700
     1.2 +++ b/src/cpu/sparc/vm/vm_version_sparc.cpp	Tue Apr 04 02:49:51 2017 -0700
     1.3 @@ -449,9 +449,10 @@
     1.4  
     1.5  unsigned int VM_Version::calc_parallel_worker_threads() {
     1.6    unsigned int result;
     1.7 -  if (is_M_series()) {
     1.8 -    // for now, use same gc thread calculation for M-series as for niagara-plus
     1.9 -    // in future, we may want to tweak parameters for nof_parallel_worker_thread
    1.10 +  if (is_M_series() || is_S_series()) {
    1.11 +    // for now, use same gc thread calculation for M-series and S-series as for
    1.12 +    // niagara-plus. In future, we may want to tweak parameters for
    1.13 +    // nof_parallel_worker_thread
    1.14      result = nof_parallel_worker_threads(5, 16, 8);
    1.15    } else if (is_niagara_plus()) {
    1.16      result = nof_parallel_worker_threads(5, 16, 8);
    1.17 @@ -475,6 +476,9 @@
    1.18    } else if (strstr(impl, "SPARC-M") != NULL) {
    1.19      // M-series SPARC is based on T-series.
    1.20      features |= (M_family_m | T_family_m);
    1.21 +  } else if (strstr(impl, "SPARC-S") != NULL) {
    1.22 +    // S-series SPARC is based on T-series.
    1.23 +    features |= (S_family_m | T_family_m);
    1.24    } else if (strstr(impl, "SPARC-T") != NULL) {
    1.25      features |= T_family_m;
    1.26      if (strstr(impl, "SPARC-T1") != NULL) {

mercurial