comparison src/cpu/x86/vm/vm_version_x86.cpp @ 7587:4a916f2ce331

8003985: Support @Contended Annotation - JEP 142 Summary: HotSpot changes to support @Contended annotation. Reviewed-by: coleenp, kvn, jrose Contributed-by: Aleksey Shipilev <aleksey.shipilev@oracle.com>
author jwilhelm
date Mon, 14 Jan 2013 15:17:47 +0100
parents 2c7f594145dc
children 92d4b5d8dde4
comparison
equal deleted inserted replaced
7586:90a92d5bca17 7587:4a916f2ce331
732 PrefetchCopyIntervalInBytes = prefetch_copy_interval_in_bytes(); 732 PrefetchCopyIntervalInBytes = prefetch_copy_interval_in_bytes();
733 PrefetchScanIntervalInBytes = prefetch_scan_interval_in_bytes(); 733 PrefetchScanIntervalInBytes = prefetch_scan_interval_in_bytes();
734 PrefetchFieldsAhead = prefetch_fields_ahead(); 734 PrefetchFieldsAhead = prefetch_fields_ahead();
735 #endif 735 #endif
736 736
737 if (FLAG_IS_DEFAULT(ContendedPaddingWidth) &&
738 (cache_line_size > ContendedPaddingWidth))
739 ContendedPaddingWidth = cache_line_size;
740
737 #ifndef PRODUCT 741 #ifndef PRODUCT
738 if (PrintMiscellaneous && Verbose) { 742 if (PrintMiscellaneous && Verbose) {
739 tty->print_cr("Logical CPUs per core: %u", 743 tty->print_cr("Logical CPUs per core: %u",
740 logical_processors_per_package()); 744 logical_processors_per_package());
741 tty->print("UseSSE=%d",UseSSE); 745 tty->print("UseSSE=%d",UseSSE);
778 tty->print_cr("PrefetchScanIntervalInBytes %d", PrefetchScanIntervalInBytes); 782 tty->print_cr("PrefetchScanIntervalInBytes %d", PrefetchScanIntervalInBytes);
779 } 783 }
780 if (PrefetchFieldsAhead > 0) { 784 if (PrefetchFieldsAhead > 0) {
781 tty->print_cr("PrefetchFieldsAhead %d", PrefetchFieldsAhead); 785 tty->print_cr("PrefetchFieldsAhead %d", PrefetchFieldsAhead);
782 } 786 }
787 if (ContendedPaddingWidth > 0) {
788 tty->print_cr("ContendedPaddingWidth %d", ContendedPaddingWidth);
789 }
783 } 790 }
784 #endif // !PRODUCT 791 #endif // !PRODUCT
785 } 792 }
786 793
787 void VM_Version::initialize() { 794 void VM_Version::initialize() {