Repository navigation
Commit 798ff29
committed
[JSC] Make JSC::CompleteSubspace::allocateSlow memory exhaust explicit crash
https://bugs.webkit.org/show_bug.cgi?id=287376
rdar://144494170
Reviewed by Mark Lam.
Use RELEASE_ASSERT_RESOURCE_AVAILABLE for CompleteSubspace's memory
exhaust crashes explicitly.
* Source/JavaScriptCore/heap/CompleteSubspace.cpp:
(JSC::CompleteSubspace::allocateSlow):
(JSC::CompleteSubspace::reallocatePreciseAllocationNonVirtual):
Canonical link: https://commits.webkit.org/291743@main1 parent 226e750 commit 798ff29
1 file changed
Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
110 | | - | |
| 109 | + | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
165 | | - | |
| 164 | + | |
166 | 165 | | |
167 | 166 | | |
168 | 167 | | |
| |||
177 | 176 | | |
178 | 177 | | |
179 | 178 | | |
180 | | - | |
181 | | - | |
| 179 | + | |
| 180 | + | |
182 | 181 | | |
183 | 182 | | |
184 | 183 | | |
| |||
0 commit comments