Changeset 265154 in webkit
- Timestamp:
- Jul 31, 2020 12:24:08 PM (4 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r265151 r265154 1 2020-07-31 Saam Barati <sbarati@apple.com> 2 3 Re-enable NO_SMT on Catalina 4 https://bugs.webkit.org/show_bug.cgi?id=215024 5 6 Reviewed by Alexey Proskuryakov. 7 8 * runtime/Options.cpp: 9 (JSC::defaultTCSMValue): 10 * runtime/OptionsList.h: 11 1 12 2020-07-31 Saam Barati <sbarati@apple.com> 2 13 -
trunk/Source/JavaScriptCore/runtime/Options.cpp
r263380 r265154 229 229 { 230 230 return computeNumberOfWorkerThreads(maxNumberOfGCMarkers); 231 } 232 233 static bool defaultTCSMValue() 234 { 235 #if CPU(X86_64) && ((PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED < 110000) || (PLATFORM(MACCATALYST) && __IPHONE_OS_VERSION_MIN_REQUIRED < 140000)) 236 return true; 237 #else 238 return false; 239 #endif 231 240 } 232 241 -
trunk/Source/JavaScriptCore/runtime/OptionsList.h
r264688 r265154 77 77 78 78 #define FOR_EACH_JSC_OPTION(v) \ 79 v(Bool, useKernTCSM, false, Normal, "Note: this needs to go before other options since they depend on this value.") \79 v(Bool, useKernTCSM, defaultTCSMValue(), Normal, "Note: this needs to go before other options since they depend on this value.") \ 80 80 v(Bool, validateOptions, false, Normal, "crashes if mis-typed JSC options were passed to the VM") \ 81 81 v(Unsigned, dumpOptions, 0, Normal, "dumps JSC options (0 = None, 1 = Overridden only, 2 = All, 3 = Verbose)") \
Note: See TracChangeset
for help on using the changeset viewer.