--- old/src/share/vm/runtime/vm_version.hpp Tue Aug 16 10:00:37 2011 +++ new/src/share/vm/runtime/vm_version.hpp Tue Aug 16 10:00:36 2011 @@ -44,6 +44,7 @@ static bool _initialized; static int _parallel_worker_threads; static bool _parallel_worker_threads_initialized; + static int _reserve_for_allocation_prefetch; static unsigned int nof_parallel_worker_threads(unsigned int num, unsigned int dem, @@ -77,6 +78,12 @@ return _logical_processors_per_package; } + // Need a space at the end of TLAB for prefetch instructions + // which may fault when accessing memory outside of heap. + static int reserve_for_allocation_prefetch() { + return _reserve_for_allocation_prefetch; + } + // ARCH specific policy for the BiasedLocking static bool use_biased_locking() { return true; }