Title: [213229] trunk/Source/_javascript_Core
- Revision
- 213229
- Author
- [email protected]
- Date
- 2017-03-01 10:18:04 -0800 (Wed, 01 Mar 2017)
Log Message
REGRESSION (r213202?): Assertion failed: (!"initialized()"), function operator()
https://bugs.webkit.org/show_bug.cgi?id=169042
Reviewed by Filip Pizlo.
* runtime/JSLock.h:
(JSC::JSLock::currentThreadIsHoldingLock):
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (213228 => 213229)
--- trunk/Source/_javascript_Core/ChangeLog 2017-03-01 18:03:53 UTC (rev 213228)
+++ trunk/Source/_javascript_Core/ChangeLog 2017-03-01 18:18:04 UTC (rev 213229)
@@ -1,3 +1,13 @@
+2017-03-01 Mark Lam <[email protected]>
+
+ REGRESSION (r213202?): Assertion failed: (!"initialized()"), function operator()
+ https://bugs.webkit.org/show_bug.cgi?id=169042
+
+ Reviewed by Filip Pizlo.
+
+ * runtime/JSLock.h:
+ (JSC::JSLock::currentThreadIsHoldingLock):
+
2017-02-28 Brian Burg <[email protected]>
REGRESSION(r211344): Remote Inspector: listingForAutomationTarget() is called off-main-thread, causing assertions
Modified: trunk/Source/_javascript_Core/runtime/JSLock.h (213228 => 213229)
--- trunk/Source/_javascript_Core/runtime/JSLock.h 2017-03-01 18:03:53 UTC (rev 213228)
+++ trunk/Source/_javascript_Core/runtime/JSLock.h 2017-03-01 18:18:04 UTC (rev 213229)
@@ -94,7 +94,7 @@
VM* vm() { return m_vm; }
std::optional<PlatformThread> ownerThread() const { return m_ownerThread; }
- bool currentThreadIsHoldingLock() { return m_ownerThread == currentPlatformThread(); }
+ bool currentThreadIsHoldingLock() { return m_ownerThread && m_ownerThread == currentPlatformThread(); }
void willDestroyVM(VM*);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes