# HG changeset patch # User Stefan Anzinger # Date 1441379822 -7200 # Node ID 67ffe0bc3dc6045dfc0c4e75635000946e55194f # Parent 4594b98717a02f8ab7943ae2c741bf285e21b0d6 [SPARC] Don't check if enough space is available at the end of the heap for tlab diff -r 4594b98717a0 -r 67ffe0bc3dc6 src/share/vm/jvmci/jvmciRuntime.cpp --- a/src/share/vm/jvmci/jvmciRuntime.cpp Fri Sep 04 15:29:41 2015 +0200 +++ b/src/share/vm/jvmci/jvmciRuntime.cpp Fri Sep 04 17:17:02 2015 +0200 @@ -53,9 +53,11 @@ void JVMCIRuntime::initialize_natives(JNIEnv *env, jclass c2vmClass) { #ifdef _LP64 +#ifndef TARGET_ARCH_sparc uintptr_t heap_end = (uintptr_t) Universe::heap()->reserved_region().end(); uintptr_t allocation_end = heap_end + ((uintptr_t)16) * 1024 * 1024 * 1024; guarantee(heap_end < allocation_end, "heap end too close to end of address space (might lead to erroneous TLAB allocations)"); +#endif // TARGET_ARCH_sparc #else fatal("check TLAB allocation code for address space conflicts"); #endif