mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 939499 - Pause barrier verification before changing mark stack size r=billm
This commit is contained in:
parent
7a1c0e3e51
commit
f188ffbe5e
2
js/src/jit-test/tests/gc/bug-939499.js
Normal file
2
js/src/jit-test/tests/gc/bug-939499.js
Normal file
@ -0,0 +1,2 @@
|
||||
verifyprebarriers();
|
||||
gcparam('markStackLimit', 5);
|
@ -2093,6 +2093,7 @@ void
|
||||
js::SetMarkStackLimit(JSRuntime *rt, size_t limit)
|
||||
{
|
||||
JS_ASSERT(!rt->isHeapBusy());
|
||||
AutoStopVerifyingBarriers pauseVerification(rt, false);
|
||||
rt->gcMarker.setMaxCapacity(limit);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user