8139545: JVMCI : guarantee(heap_end < allocation_end) failed on some sparcv9 hosts
authortwisti
Wed, 14 Oct 2015 09:22:21 -1000
changeset 33178 f77a432b90f6
parent 33177 56af21e12518
child 33179 50fdbbef9e76
child 33180 34e5004f5acb
child 33182 5dd8cb6f5431
8139545: JVMCI : guarantee(heap_end < allocation_end) failed on some sparcv9 hosts Reviewed-by: iveresov, kvn
hotspot/src/share/vm/jvmci/jvmciRuntime.cpp
--- a/hotspot/src/share/vm/jvmci/jvmciRuntime.cpp	Tue Oct 13 09:21:10 2015 -1000
+++ b/hotspot/src/share/vm/jvmci/jvmciRuntime.cpp	Wed Oct 14 09:22:21 2015 -1000
@@ -778,9 +778,11 @@
   }
 
 #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