mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Sweep script->types if gczeal is set to allow fuzz/test coverage (no bug,r=billm)
--HG-- extra : rebase_source : 95d75ad9c10fb7235dfb9f36e6466156c763f168
This commit is contained in:
parent
ec5e031168
commit
c1b02c6f63
@ -2891,7 +2891,7 @@ ReleaseObservedTypes(JSRuntime *rt)
|
||||
{
|
||||
bool releaseTypes = false;
|
||||
int64_t now = PRMJ_Now();
|
||||
if (now >= rt->gcJitReleaseTime) {
|
||||
if (rt->gcZeal() || now >= rt->gcJitReleaseTime) {
|
||||
releaseTypes = true;
|
||||
rt->gcJitReleaseTime = now + JIT_SCRIPT_RELEASE_TYPES_INTERVAL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user