equal
deleted
inserted
replaced
217 static Flag *flags; |
217 static Flag *flags; |
218 |
218 |
219 // number of flags |
219 // number of flags |
220 static size_t numFlags; |
220 static size_t numFlags; |
221 |
221 |
222 static Flag* find_flag(char* name, size_t length, bool allow_locked = false); |
222 static Flag* find_flag(const char* name, size_t length, bool allow_locked = false); |
|
223 static Flag* fuzzy_match(const char* name, size_t length, bool allow_locked = false); |
223 |
224 |
224 bool is_bool() const { return strcmp(type, "bool") == 0; } |
225 bool is_bool() const { return strcmp(type, "bool") == 0; } |
225 bool get_bool() const { return *((bool*) addr); } |
226 bool get_bool() const { return *((bool*) addr); } |
226 void set_bool(bool value) { *((bool*) addr) = value; } |
227 void set_bool(bool value) { *((bool*) addr) = value; } |
227 |
228 |
641 "SSE4.2 versions of intrinsics") \ |
642 "SSE4.2 versions of intrinsics") \ |
642 \ |
643 \ |
643 product(bool, UseAESIntrinsics, false, \ |
644 product(bool, UseAESIntrinsics, false, \ |
644 "use intrinsics for AES versions of crypto") \ |
645 "use intrinsics for AES versions of crypto") \ |
645 \ |
646 \ |
|
647 product(bool, UseCRC32Intrinsics, false, \ |
|
648 "use intrinsics for java.util.zip.CRC32") \ |
|
649 \ |
646 develop(bool, TraceCallFixup, false, \ |
650 develop(bool, TraceCallFixup, false, \ |
647 "traces all call fixups") \ |
651 "traces all call fixups") \ |
648 \ |
652 \ |
649 develop(bool, DeoptimizeALot, false, \ |
653 develop(bool, DeoptimizeALot, false, \ |
650 "deoptimize at every exit from the runtime system") \ |
654 "deoptimize at every exit from the runtime system") \ |
3157 product_pd(intx, OptoLoopAlignment, \ |
3161 product_pd(intx, OptoLoopAlignment, \ |
3158 "Align inner loops to zero relative to this modulus") \ |
3162 "Align inner loops to zero relative to this modulus") \ |
3159 \ |
3163 \ |
3160 product_pd(uintx, InitialCodeCacheSize, \ |
3164 product_pd(uintx, InitialCodeCacheSize, \ |
3161 "Initial code cache size (in bytes)") \ |
3165 "Initial code cache size (in bytes)") \ |
|
3166 \ |
|
3167 develop_pd(uintx, CodeCacheMinimumUseSpace, \ |
|
3168 "Minimum code cache size (in bytes) required to start VM.") \ |
3162 \ |
3169 \ |
3163 product_pd(uintx, ReservedCodeCacheSize, \ |
3170 product_pd(uintx, ReservedCodeCacheSize, \ |
3164 "Reserved code cache size (in bytes) - maximum code cache size") \ |
3171 "Reserved code cache size (in bytes) - maximum code cache size") \ |
3165 \ |
3172 \ |
3166 product(uintx, CodeCacheMinimumFreeSpace, 500*K, \ |
3173 product(uintx, CodeCacheMinimumFreeSpace, 500*K, \ |