You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Very partial cherry-pick of upstream commit v8/v8@8953e49478 that fixes
a hang that shows up in debug builds because of a buggy sanity check
when computing relationships between command line flags.
Example of the hang:
#include "v8.h"
#include "libplatform/libplatform.h"
int main(void) {
// works: v8::V8::SetFlagsFromString("--gc-global --noincremental-marking");
v8::V8::SetFlagsFromString("--gc-global");
v8::V8::SetFlagsFromString("--noincremental-marking");
v8::V8::InitializePlatform(v8::platform::NewDefaultPlatform().release());
v8::V8::Initialize(); // hangs in ComputeFlagListHash when defined(DEBUG)
}
PR-URL: #55274
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
0 commit comments