Changeset 254517 in webkit
- Timestamp:
- Jan 14, 2020, 10:08:40 AM (7 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
bytecode/CodeBlock.cpp (modified) (1 diff)
-
runtime/OptionsList.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r254514 r254517 1 2020-01-14 Saam Barati <sbarati@apple.com> 2 3 Add an option that enables/disables throwing away baseline JIT code 4 https://bugs.webkit.org/show_bug.cgi?id=206244 5 6 Reviewed by Robin Morisset. 7 8 This option is now set to false as I investigate a perf regression with 9 the original patch. 10 11 * bytecode/CodeBlock.cpp: 12 (JSC::CodeBlock::finalizeUnconditionally): 13 * runtime/OptionsList.h: 14 1 15 2020-01-13 Darin Adler <darin@apple.com> 2 16 -
trunk/Source/JavaScriptCore/bytecode/CodeBlock.cpp
r254480 r254517 1387 1387 // If BaselineJIT code is not executing, and an optimized replacement exists, we attempt 1388 1388 // to discard baseline JIT code and reinstall LLInt code to save JIT memory. 1389 if (!Options::forceBaseline() && jitType() == JITType::BaselineJIT && !m_vm->heap.codeBlockSet().isCurrentlyExecuting(this)) {1389 if (!Options::forceBaseline() && Options::enableThrowingAwayBaselineCode() && jitType() == JITType::BaselineJIT && !m_vm->heap.codeBlockSet().isCurrentlyExecuting(this)) { 1390 1390 if (CodeBlock* optimizedCodeBlock = optimizedReplacement()) { 1391 1391 if (!optimizedCodeBlock->m_osrExitCounter) { -
trunk/Source/JavaScriptCore/runtime/OptionsList.h
r254480 r254517 496 496 v(Bool, useUnlinkedCodeBlockJettisoning, false, Normal, "If true, UnlinkedCodeBlock can be jettisoned.") \ 497 497 v(Unsigned, getByValICMaxNumberOfIdentifiers, 4, Normal, "Number of identifiers we see in the LLInt that could cause us to bail on generating an IC for get_by_val.") \ 498 v(Bool, enableThrowingAwayBaselineCode, false, Normal, nullptr) \ 498 499 499 500 enum OptionEquivalence {
Note:
See TracChangeset
for help on using the changeset viewer.