< prev index next >

src/cpu/sparc/vm/vm_version_sparc.cpp

Print this page
rev 9595 : imported patch 8133023_vm_init_before_ergo
rev 9596 : [mq]: delta1

*** 33,43 **** int VM_Version::_features = VM_Version::unknown_m; const char* VM_Version::_features_str = ""; unsigned int VM_Version::_L2_data_cache_line_size = 0; void VM_Version::initialize() { ! _features = determine_features(); PrefetchCopyIntervalInBytes = prefetch_copy_interval_in_bytes(); PrefetchScanIntervalInBytes = prefetch_scan_interval_in_bytes(); PrefetchFieldsAhead = prefetch_fields_ahead(); // Allocation prefetch settings --- 33,46 ---- int VM_Version::_features = VM_Version::unknown_m; const char* VM_Version::_features_str = ""; unsigned int VM_Version::_L2_data_cache_line_size = 0; void VM_Version::initialize() { ! ! assert(_features != VM_Version::unknown_m, "System pre-initialization is not complete."); ! guarantee(VM_Version::has_v9(), "only SPARC v9 is supported"); ! PrefetchCopyIntervalInBytes = prefetch_copy_interval_in_bytes(); PrefetchScanIntervalInBytes = prefetch_scan_interval_in_bytes(); PrefetchFieldsAhead = prefetch_fields_ahead(); // Allocation prefetch settings
*** 58,69 **** if (AllocatePrefetchStyle == 3 && !has_blk_init()) { warning("BIS instructions are not available on this CPU"); FLAG_SET_DEFAULT(AllocatePrefetchStyle, 1); } - guarantee(VM_Version::has_v9(), "only SPARC v9 is supported"); - UseSSE = 0; // Only on x86 and x64 _supports_cx8 = has_v9(); _supports_atomic_getset4 = true; // swap instruction --- 61,70 ----
< prev index next >