changeset 33178:f77a432b90f6

8139545: JVMCI : guarantee(heap_end < allocation_end) failed on some sparcv9 hosts Reviewed-by: iveresov, kvn
author twisti
date Wed, 14 Oct 2015 09:22:21 -1000
parents 56af21e12518
children 50fdbbef9e76 34e5004f5acb 5dd8cb6f5431
files hotspot/src/share/vm/jvmci/jvmciRuntime.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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