Print this page


Split Close
Expand all
Collapse all
          --- old/src/cpu/sparc/vm/vm_version_sparc.cpp
          +++ new/src/cpu/sparc/vm/vm_version_sparc.cpp
↓ open down ↓ 331 lines elided ↑ open up ↑
 332  332    saved_features = _features;
 333  333    _features      = all_features_m;
 334  334  }
 335  335  
 336  336  void VM_Version::revert() {
 337  337    _features = saved_features;
 338  338  }
 339  339  
 340  340  unsigned int VM_Version::calc_parallel_worker_threads() {
 341  341    unsigned int result;
 342      -  if (is_niagara_plus()) {
      342 +  if (is_M_series()) {
      343 +    // for now, use same gc thread calculation for M-series as for niagara-plus
      344 +    // in future, we may want to tweak parameters for nof_parallel_worker_thread
      345 +    result = nof_parallel_worker_threads(5, 16, 8);
      346 +  } else if (is_niagara_plus()) {
 343  347      result = nof_parallel_worker_threads(5, 16, 8);
 344  348    } else {
 345  349      result = nof_parallel_worker_threads(5, 8, 8);
 346  350    }
 347  351    return result;
 348  352  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX