Changeset 295186 in webkit
- Timestamp:
- Jun 2, 2022, 11:45:35 PM (4 years ago)
- Location:
- branches/safari-613-branch/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/ios/ProcessAssertionIOS.mm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-613-branch/Source/WebKit/ChangeLog
r295177 r295186 1 2022-05-16 Youenn Fablet <youenn@apple.com> 2 3 Add logging when taking a process assertion synchronously 4 https://bugs.webkit.org/show_bug.cgi?id=240334 5 6 Reviewed by Chris Dumez. 7 8 No observable change of behavior. 9 10 * UIProcess/ios/ProcessAssertionIOS.mm: 11 (WebKit::ProcessAssertion::acquireSync): 12 1 13 2022-04-14 Wenson Hsieh <wenson_hsieh@apple.com> 2 14 -
branches/safari-613-branch/Source/WebKit/UIProcess/ios/ProcessAssertionIOS.mm
r295180 r295186 368 368 void ProcessAssertion::acquireSync() 369 369 { 370 RELEASE_LOG(ProcessSuspension, "%p - ProcessAssertion::acquireSync Trying to take RBS assertion '%{public}s' for process with PID=%d", this, m_reason.utf8().data(), m_pid); 371 370 372 NSError *acquisitionError = nil; 371 373 if (![m_rbsAssertion acquireWithError:&acquisitionError]) { 372 RELEASE_LOG_ERROR(ProcessSuspension, "%p - ProcessAssertion: Failed to acquire RBS assertion '%{public}s' for process with PID=%d, error: %{public}@", this, m_reason.utf8().data(), m_pid, acquisitionError);374 RELEASE_LOG_ERROR(ProcessSuspension, "%p - ProcessAssertion::acquireSync Failed to acquire RBS assertion '%{public}s' for process with PID=%d, error: %{public}@", this, m_reason.utf8().data(), m_pid, acquisitionError); 373 375 RunLoop::main().dispatch([weakThis = WeakPtr { *this }] { 374 376 if (weakThis) … … 376 378 }); 377 379 } else 378 RELEASE_LOG(ProcessSuspension, "%p - ProcessAssertion: Successfully took RBS assertion '%{public}s' for process with PID=%d", this, m_reason.utf8().data(), m_pid);380 RELEASE_LOG(ProcessSuspension, "%p - ProcessAssertion::acquireSync Successfully took RBS assertion '%{public}s' for process with PID=%d", this, m_reason.utf8().data(), m_pid); 379 381 } 380 382
Note:
See TracChangeset
for help on using the changeset viewer.