< prev index next >

src/share/vm/utilities/globalDefinitions.hpp

Print this page

        

*** 143,154 **** --- 143,160 ---- // log2_intptr(sizeof(class JavaThread)) - log2_intptr(64); // see os::set_memory_serialize_page() #ifdef _LP64 const int SerializePageShiftCount = 4; #else + #if INCLUDE_JFR && INCLUDE_ALL_GCS + // JavaThread already has quite a few Shenandoah fields. Adding many JFR fields + // trips sizeof(JavaThread) > 1024. Need to adjust it here. + const int SerializePageShiftCount = 4; + #else const int SerializePageShiftCount = 3; #endif + #endif // An opaque struct of heap-word width, so that HeapWord* can be a generic // pointer into the heap. We require that object sizes be measured in // units of heap words, so that that // HeapWord* hw;
*** 425,437 **** --- 431,451 ---- NoRTM = 0x2, // Don't use RTM UseRTM = 0x1, // Use RTM ProfileRTM = 0x0 // Use RTM with abort ratio calculation }; + // The maximum size of the code cache. Can be overridden by targets. + #define CODE_CACHE_SIZE_LIMIT (2*G) + // Allow targets to reduce the default size of the code cache. + #define CODE_CACHE_DEFAULT_LIMIT CODE_CACHE_SIZE_LIMIT + #ifdef TARGET_ARCH_x86 # include "globalDefinitions_x86.hpp" #endif + #ifdef TARGET_ARCH_aarch64 + # include "globalDefinitions_aarch64.hpp" + #endif #ifdef TARGET_ARCH_sparc # include "globalDefinitions_sparc.hpp" #endif #ifdef TARGET_ARCH_zero # include "globalDefinitions_zero.hpp"
*** 1417,1426 **** --- 1431,1441 ---- #define INT64_FORMAT "%" PRId64 #define UINT64_FORMAT "%" PRIu64 #define UINT64_FORMAT_X "%" PRIx64 #define INT64_FORMAT_W(width) "%" #width PRId64 #define UINT64_FORMAT_W(width) "%" #width PRIu64 + #define UINT64_FORMAT_X_W(width) "%" #width PRIx64 #define PTR64_FORMAT "0x%016" PRIx64 // Format jlong, if necessary #ifndef JLONG_FORMAT
< prev index next >