Mercurial > hg > truffle
comparison src/share/vm/runtime/globals.hpp @ 11173:6b0fd0964b87
Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 31 Jul 2013 11:00:54 +0200 |
parents | d55f24eac4b1 02d7aa1456c9 |
children | 91e5f927af63 |
comparison
equal
deleted
inserted
replaced
10912:4ea54634f03e | 11173:6b0fd0964b87 |
---|---|
187 define_pd_global(intx, InlineUnsafeOps, true); | 187 define_pd_global(intx, InlineUnsafeOps, true); |
188 define_pd_global(intx, InitialCodeCacheSize, 160*K); | 188 define_pd_global(intx, InitialCodeCacheSize, 160*K); |
189 define_pd_global(intx, ReservedCodeCacheSize, 32*M); | 189 define_pd_global(intx, ReservedCodeCacheSize, 32*M); |
190 define_pd_global(intx, CodeCacheExpansionSize, 32*K); | 190 define_pd_global(intx, CodeCacheExpansionSize, 32*K); |
191 define_pd_global(intx, CodeCacheMinBlockLength, 1); | 191 define_pd_global(intx, CodeCacheMinBlockLength, 1); |
192 define_pd_global(intx, CodeCacheMinimumUseSpace, 200*K); | |
192 define_pd_global(uintx,MetaspaceSize, ScaleForWordSize(4*M)); | 193 define_pd_global(uintx,MetaspaceSize, ScaleForWordSize(4*M)); |
193 define_pd_global(bool, NeverActAsServerClassMachine, true); | 194 define_pd_global(bool, NeverActAsServerClassMachine, true); |
194 define_pd_global(uint64_t,MaxRAM, 1ULL*G); | 195 define_pd_global(uint64_t,MaxRAM, 1ULL*G); |
195 #define CI_COMPILER_COUNT 0 | 196 #define CI_COMPILER_COUNT 0 |
196 #else | 197 #else |
232 static Flag *flags; | 233 static Flag *flags; |
233 | 234 |
234 // number of flags | 235 // number of flags |
235 static size_t numFlags; | 236 static size_t numFlags; |
236 | 237 |
237 static Flag* find_flag(char* name, size_t length, bool allow_locked = false); | 238 static Flag* find_flag(const char* name, size_t length, bool allow_locked = false); |
239 static Flag* fuzzy_match(const char* name, size_t length, bool allow_locked = false); | |
238 | 240 |
239 bool is_bool() const { return strcmp(type, "bool") == 0; } | 241 bool is_bool() const { return strcmp(type, "bool") == 0; } |
240 bool get_bool() const { return *((bool*) addr); } | 242 bool get_bool() const { return *((bool*) addr); } |
241 void set_bool(bool value) { *((bool*) addr) = value; } | 243 void set_bool(bool value) { *((bool*) addr) = value; } |
242 | 244 |
656 "SSE4.2 versions of intrinsics") \ | 658 "SSE4.2 versions of intrinsics") \ |
657 \ | 659 \ |
658 product(bool, UseAESIntrinsics, false, \ | 660 product(bool, UseAESIntrinsics, false, \ |
659 "use intrinsics for AES versions of crypto") \ | 661 "use intrinsics for AES versions of crypto") \ |
660 \ | 662 \ |
663 product(bool, UseCRC32Intrinsics, false, \ | |
664 "use intrinsics for java.util.zip.CRC32") \ | |
665 \ | |
661 develop(bool, TraceCallFixup, false, \ | 666 develop(bool, TraceCallFixup, false, \ |
662 "traces all call fixups") \ | 667 "traces all call fixups") \ |
663 \ | 668 \ |
664 product(bool, DeoptimizeALot, false, \ | 669 product(bool, DeoptimizeALot, false, \ |
665 "deoptimize at every exit from the runtime system") \ | 670 "deoptimize at every exit from the runtime system") \ |
2598 /* Note: This value is zero mod 1<<13 for a cheap sparc set. */ \ | 2603 /* Note: This value is zero mod 1<<13 for a cheap sparc set. */ \ |
2599 "Inline allocations larger than this in doublewords must go slow")\ | 2604 "Inline allocations larger than this in doublewords must go slow")\ |
2600 \ | 2605 \ |
2601 product(bool, AggressiveOpts, false, \ | 2606 product(bool, AggressiveOpts, false, \ |
2602 "Enable aggressive optimizations - see arguments.cpp") \ | 2607 "Enable aggressive optimizations - see arguments.cpp") \ |
2603 \ | |
2604 product(bool, UseStringCache, false, \ | |
2605 "Enable String cache capabilities on String.java") \ | |
2606 \ | 2608 \ |
2607 /* statistics */ \ | 2609 /* statistics */ \ |
2608 develop(bool, CountCompiledCalls, false, \ | 2610 develop(bool, CountCompiledCalls, false, \ |
2609 "counts method invocations") \ | 2611 "counts method invocations") \ |
2610 \ | 2612 \ |
3180 product_pd(intx, OptoLoopAlignment, \ | 3182 product_pd(intx, OptoLoopAlignment, \ |
3181 "Align inner loops to zero relative to this modulus") \ | 3183 "Align inner loops to zero relative to this modulus") \ |
3182 \ | 3184 \ |
3183 product_pd(uintx, InitialCodeCacheSize, \ | 3185 product_pd(uintx, InitialCodeCacheSize, \ |
3184 "Initial code cache size (in bytes)") \ | 3186 "Initial code cache size (in bytes)") \ |
3187 \ | |
3188 develop_pd(uintx, CodeCacheMinimumUseSpace, \ | |
3189 "Minimum code cache size (in bytes) required to start VM.") \ | |
3185 \ | 3190 \ |
3186 product_pd(uintx, ReservedCodeCacheSize, \ | 3191 product_pd(uintx, ReservedCodeCacheSize, \ |
3187 "Reserved code cache size (in bytes) - maximum code cache size") \ | 3192 "Reserved code cache size (in bytes) - maximum code cache size") \ |
3188 \ | 3193 \ |
3189 product(uintx, CodeCacheMinimumFreeSpace, 500*K, \ | 3194 product(uintx, CodeCacheMinimumFreeSpace, 500*K, \ |
3693 "Parse all generic signatures while classloading") \ | 3698 "Parse all generic signatures while classloading") \ |
3694 \ | 3699 \ |
3695 develop(bool, VerifyGenericSignatures, false, \ | 3700 develop(bool, VerifyGenericSignatures, false, \ |
3696 "Abort VM on erroneous or inconsistent generic signatures") \ | 3701 "Abort VM on erroneous or inconsistent generic signatures") \ |
3697 \ | 3702 \ |
3703 product(bool, ParseGenericDefaults, false, \ | |
3704 "Parse generic signatures for default method handling") \ | |
3705 \ | |
3698 product(bool, UseVMInterruptibleIO, false, \ | 3706 product(bool, UseVMInterruptibleIO, false, \ |
3699 "(Unstable, Solaris-specific) Thread interrupt before or with " \ | 3707 "(Unstable, Solaris-specific) Thread interrupt before or with " \ |
3700 "EINTR for I/O operations results in OS_INTRPT. The default value"\ | 3708 "EINTR for I/O operations results in OS_INTRPT. The default value"\ |
3701 " of this flag is true for JDK 6 and earlier") \ | 3709 " of this flag is true for JDK 6 and earlier") \ |
3702 \ | 3710 \ |