mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 710947 - Allow hash table elements to be removed during GC (r=luke)
This commit is contained in:
parent
60aa70f712
commit
45769c3f0c
8
js/src/jit-test/tests/basic/bug710947.js
Normal file
8
js/src/jit-test/tests/basic/bug710947.js
Normal file
@ -0,0 +1,8 @@
|
||||
// |jit-test| allow-oom;
|
||||
function startTest() {
|
||||
if (typeof document != "object"
|
||||
|| !document.location.href.match(/jsreftest.html/)) {}
|
||||
};
|
||||
gczeal(4);
|
||||
startTest();
|
||||
ArrayBuffer( 946684800000 );
|
@ -2096,8 +2096,7 @@ MarkRuntime(JSTracer *trc)
|
||||
void
|
||||
TriggerGC(JSRuntime *rt, gcstats::Reason reason)
|
||||
{
|
||||
JS_ASSERT(!rt->gcRunning);
|
||||
if (rt->gcIsNeeded)
|
||||
if (rt->gcRunning || rt->gcIsNeeded)
|
||||
return;
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user