Title: [293925] trunk/Source/_javascript_Core
- Revision
- 293925
- Author
- [email protected]
- Date
- 2022-05-06 14:54:27 -0700 (Fri, 06 May 2022)
Log Message
[JSC] Add more information about MarkedBlock assertion
https://bugs.webkit.org/show_bug.cgi?id=240176
Reviewed by Mark Lam and Saam Barati.
Collect more information about assertion via CRASH_WITH_INFO.
* Source/_javascript_Core/heap/MarkedBlockInlines.h:
(JSC::MarkedBlock::Handle::specializedSweep):
Canonical link: https://commits.webkit.org/250372@main
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (293924 => 293925)
--- trunk/Source/_javascript_Core/ChangeLog 2022-05-06 21:51:59 UTC (rev 293924)
+++ trunk/Source/_javascript_Core/ChangeLog 2022-05-06 21:54:27 UTC (rev 293925)
@@ -1,3 +1,15 @@
+2022-05-06 Yusuke Suzuki <[email protected]>
+
+ [JSC] Add more information about MarkedBlock assertion
+ https://bugs.webkit.org/show_bug.cgi?id=240176
+
+ Reviewed by Mark Lam and Saam Barati.
+
+ Collect more information about assertion via CRASH_WITH_INFO.
+
+ * heap/MarkedBlockInlines.h:
+ (JSC::MarkedBlock::Handle::specializedSweep):
+
2022-05-05 Ross Kirsling <[email protected]>
Temporal.Duration constructor should handle -0 properly
Modified: trunk/Source/_javascript_Core/heap/MarkedBlockInlines.h (293924 => 293925)
--- trunk/Source/_javascript_Core/heap/MarkedBlockInlines.h 2022-05-06 21:51:59 UTC (rev 293924)
+++ trunk/Source/_javascript_Core/heap/MarkedBlockInlines.h 2022-05-06 21:54:27 UTC (rev 293925)
@@ -282,8 +282,8 @@
char* startOfLastCell = static_cast<char*>(cellAlign(block.atoms() + m_endAtom - 1));
char* payloadEnd = startOfLastCell + cellSize;
- RELEASE_ASSERT(payloadEnd - MarkedBlock::blockSize <= bitwise_cast<char*>(&block));
char* payloadBegin = bitwise_cast<char*>(block.atoms());
+ RELEASE_ASSERT(payloadEnd - MarkedBlock::blockSize <= bitwise_cast<char*>(&block), payloadBegin, payloadEnd, &block, cellSize, m_endAtom);
if (sweepMode == SweepToFreeList)
setIsFreeListed();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes