changeset 22523:67ffe0bc3dc6

[SPARC] Don't check if enough space is available at the end of the heap for tlab
author Stefan Anzinger <stefan.anzinger@oracle.com>
date Fri, 04 Sep 2015 17:17:02 +0200
parents 4594b98717a0
children ce7078904238
files src/share/vm/jvmci/jvmciRuntime.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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