Changeset 275971 in webkit
- Timestamp:
- Apr 14, 2021, 2:57:21 PM (4 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r275969 r275971 1 2021-04-14 Mark Lam <mark.lam@apple.com> 2 3 Apply DeferTermination in some utility functions in the jsc shell. 4 https://bugs.webkit.org/show_bug.cgi?id=224572 5 rdar://76646089 6 7 Reviewed by Yusuke Suzuki. 8 9 This is to make sure that these functions don't get in the way of testing with 10 the watchdog. Since these are only test utility functions, just doing the simple 11 thing of using a DeferTermination scope is the right thing to do here. 12 13 * jsc.cpp: 14 1 15 2021-04-14 Mark Lam <mark.lam@apple.com> 2 16 -
trunk/Source/JavaScriptCore/jsc.cpp
r275648 r275971 32 32 #include "Completion.h" 33 33 #include "ConfigFile.h" 34 #include "DeferTermination.h" 34 35 #include "DeferredWorkTimer.h" 35 36 #include "Disassembler.h" … … 2523 2524 VM& vm = globalObject->vm(); 2524 2525 JSLockHolder lock(vm); 2526 DeferTermination deferScope(vm); 2525 2527 auto scope = DECLARE_THROW_SCOPE(vm); 2526 2528 … … 2538 2540 VM& vm = globalObject->vm(); 2539 2541 JSLockHolder lock(vm); 2542 DeferTermination deferScope(vm); 2540 2543 auto scope = DECLARE_THROW_SCOPE(vm); 2541 2544 String jsonString; … … 2581 2584 { 2582 2585 VM& vm = globalObject->vm(); 2586 DeferTermination deferScope(vm); 2583 2587 auto scope = DECLARE_THROW_SCOPE(vm); 2584 2588
Note:
See TracChangeset
for help on using the changeset viewer.