--- 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