< prev index next >

src/share/vm/jvmci/jvmciRuntime.cpp

Print this page
rev 11647 : 8161258: Simplify including platform files.
Summary: Include patform files with macros cpu_header() etc. Do various cleanups of macro usages. Remove _64/_32 from adlc generated files and platform .hpp files. Merge stubRoutines_x86*.hpp. Remove empty mutex_<os>* files.
Reviewed-by: dholmes, coleenp, kbarrett

*** 42,51 **** --- 42,52 ---- #include "runtime/interfaceSupport.hpp" #include "runtime/reflection.hpp" #include "runtime/sharedRuntime.hpp" #include "utilities/debug.hpp" #include "utilities/defaultStream.hpp" + #include "utilities/macros.hpp" #if defined(_MSC_VER) #define strtoll _strtoi64 #endif
*** 768,785 **** if (!EnableJVMCI) { THROW_MSG(vmSymbols::java_lang_InternalError(), "JVMCI is not enabled"); } #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 JVMCIRuntime::initialize_well_known_classes(CHECK); { ThreadToNativeFromVM trans(thread); --- 769,786 ---- if (!EnableJVMCI) { THROW_MSG(vmSymbols::java_lang_InternalError(), "JVMCI is not enabled"); } #ifdef _LP64 ! #ifndef 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 // !SPARC #else fatal("check TLAB allocation code for address space conflicts"); ! #endif // _LP64 JVMCIRuntime::initialize_well_known_classes(CHECK); { ThreadToNativeFromVM trans(thread);
< prev index next >