src/share/vm/utilities/globalDefinitions.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/src/share/vm/utilities/globalDefinitions.hpp	Mon Mar 24 16:32:10 2014
--- new/src/share/vm/utilities/globalDefinitions.hpp	Mon Mar 24 16:32:10 2014

*** 368,377 **** --- 368,392 ---- // Klass encoding metaspace max size const uint64_t KlassEncodingMetaspaceMax = (uint64_t(max_juint) + 1) << LogKlassAlignmentInBytes; // Machine dependent stuff + #if defined(X86) && defined(COMPILER2) && !defined(JAVASE_EMBEDDED) + // Include Restricted Transactional Memory lock eliding optimization + #define INCLUDE_RTM_OPT 1 + #define RTM_OPT_ONLY(code) code + #else + #define INCLUDE_RTM_OPT 0 + #define RTM_OPT_ONLY(code) + #endif + // States of Restricted Transactional Memory usage. + enum RTMState { + NoRTM = 0x2, // Don't use RTM + UseRTM = 0x1, // Use RTM + ProfileRTM = 0x0 // Use RTM with abort ratio calculation + }; + #ifdef TARGET_ARCH_x86 # include "globalDefinitions_x86.hpp" #endif #ifdef TARGET_ARCH_sparc # include "globalDefinitions_sparc.hpp"

src/share/vm/utilities/globalDefinitions.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File