8139545: JVMCI : guarantee(heap_end < allocation_end) failed on some sparcv9 hosts
Reviewed-by: iveresov, kvn
This commit is contained in:
parent
f1c801e561
commit
fcbdffb48f
@ -778,9 +778,11 @@ JVM_ENTRY(void, JVM_RegisterJVMCINatives(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
|
||||
|
Loading…
x
Reference in New Issue
Block a user