< prev index next >

src/cpu/x86/vm/vm_version_x86.hpp

Print this page

        

*** 818,831 **** count = 128; // Pentium 3 (and all other old CPUs) } } return count; } static intx allocate_prefetch_style() { assert(AllocatePrefetchStyle >= 0, "AllocatePrefetchStyle should be positive"); // Return 0 if AllocatePrefetchDistance was not defined. ! return AllocatePrefetchDistance > 0 ? AllocatePrefetchStyle : 0; } // Prefetch interval for gc copy/scan == 9 dcache lines. Derived from // 50-warehouse specjbb runs on a 2-way 1.8ghz opteron using a 4gb heap. // Tested intervals from 128 to 2048 in increments of 64 == one cache line. --- 818,839 ---- count = 128; // Pentium 3 (and all other old CPUs) } } return count; } + static intx allocate_prefetch_style() { assert(AllocatePrefetchStyle >= 0, "AllocatePrefetchStyle should be positive"); // Return 0 if AllocatePrefetchDistance was not defined. ! if (AllocatePrefetchDistance > 0) { ! return AllocatePrefetchStyle; ! } else { ! if (!FLAG_IS_DEFAULT(AllocatePrefetchStyle) && (AllocatePrefetchStyle != 0)) { ! warning("AllocatePrefetchDistance is not set. Ignoring AllocatePrefetchStyle flag."); ! } ! return 0; ! } } // Prefetch interval for gc copy/scan == 9 dcache lines. Derived from // 50-warehouse specjbb runs on a 2-way 1.8ghz opteron using a 4gb heap. // Tested intervals from 128 to 2048 in increments of 64 == one cache line.
< prev index next >