Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 4738abe95a97ea8d3f502a1982e0ca7ff232be56 https://github.com/WebKit/WebKit/commit/4738abe95a97ea8d3f502a1982e0ca7ff232be56 Author: Marcus Plutowski <marcus_plutow...@apple.com> Date: 2025-02-27 (Thu, 27 Feb 2025)
Changed paths: M Source/WTF/wtf/SequesteredImmortalHeap.cpp M Source/WTF/wtf/SequesteredImmortalHeap.h Log Message: ----------- [WTF] Fix initialization of SequesteredImmortalHeap rdar://145788964 https://bugs.webkit.org/show_bug.cgi?id=288762 Reviewed by Yusuke Suzuki and Yijia Huang. Using LazyNeverDestroyed avoids the bespoke singleton code for now (though eventually we will need a custom solution to handle the sequestering constraint), and moving the once_flag to the cpp file avoids duplication per TU. * Source/WTF/wtf/SequesteredImmortalHeap.cpp: (WTF::SequesteredImmortalHeap::instance): * Source/WTF/wtf/SequesteredImmortalHeap.h: (WTF::SequesteredImmortalHeap::instance): Deleted. (WTF::SequesteredImmortalHeap::allocateAndInstall): Deleted. (WTF::SequesteredImmortalHeap::getSlot): Deleted. (WTF::SequesteredImmortalHeap::computeSlotIndex): Deleted. (WTF::SequesteredImmortalHeap::scavenge): Deleted. (WTF::SequesteredImmortalHeap::mapGranule): Deleted. (WTF::SequesteredImmortalHeap::decommitGranule): Deleted. (WTF::SequesteredImmortalHeap::SequesteredImmortalHeap): Deleted. (WTF::SequesteredImmortalHeap::getUnchecked): Deleted. Canonical link: https://commits.webkit.org/291289@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes