Mercurial > hg > graal-jvmci-8
comparison src/share/vm/jvmci/jvmciRuntime.cpp @ 22637:28b99a7a37d0
explicit conversion from size_t to int required on windows
author | Christian Wirth <christian.wirth@oracle.com> |
---|---|
date | Wed, 30 Sep 2015 10:38:00 +0200 |
parents | e96c6a52aff2 |
children | 939d5da65929 |
comparison
equal
deleted
inserted
replaced
22636:1ec4129907b3 | 22637:28b99a7a37d0 |
---|---|
53 int JVMCIRuntime::_trivial_prefixes_count = 0; | 53 int JVMCIRuntime::_trivial_prefixes_count = 0; |
54 char** JVMCIRuntime::_trivial_prefixes = NULL; | 54 char** JVMCIRuntime::_trivial_prefixes = NULL; |
55 bool JVMCIRuntime::_shutdown_called = false; | 55 bool JVMCIRuntime::_shutdown_called = false; |
56 | 56 |
57 static const char* OPTION_PREFIX = "jvmci.option."; | 57 static const char* OPTION_PREFIX = "jvmci.option."; |
58 static const int OPTION_PREFIX_LEN = strlen(OPTION_PREFIX); | 58 static const int OPTION_PREFIX_LEN = (int)strlen(OPTION_PREFIX); |
59 | 59 |
60 void JVMCIRuntime::initialize_natives(JNIEnv *env, jclass c2vmClass) { | 60 void JVMCIRuntime::initialize_natives(JNIEnv *env, jclass c2vmClass) { |
61 #ifdef _LP64 | 61 #ifdef _LP64 |
62 #ifndef TARGET_ARCH_sparc | 62 #ifndef TARGET_ARCH_sparc |
63 uintptr_t heap_end = (uintptr_t) Universe::heap()->reserved_region().end(); | 63 uintptr_t heap_end = (uintptr_t) Universe::heap()->reserved_region().end(); |