mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8224815: Remove non-GC uses of CollectedHeap::is_in_reserved()
Reviewed-by: stefank, coleenp
This commit is contained in:
parent
d19e6eae9e
commit
f869706f5f
55 changed files with 242 additions and 239 deletions
|
@ -858,17 +858,6 @@ JVMCIObject JVMCIRuntime::get_HotSpotJVMCIRuntime(JVMCI_TRAPS) {
|
|||
|
||||
// private void CompilerToVM.registerNatives()
|
||||
JVM_ENTRY_NO_ENV(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
|
||||
|
||||
JNI_JVMCIENV(thread, env);
|
||||
|
||||
if (!EnableJVMCI) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue