Description[modules] Fix NewJSModuleNamespace to avoid GC being able to see incomplete JSModuleNamespace.
A GC could happen when creating the Module string, which would cause the
JSModuleNamespace to be seen in an incomplete state. Instead make this
string a root object so that we don't need to allocate it during
NewJSModuleNamespace construction.
BUG=v8:1569
Review-Url: https://codereview.chromium.org/2631223002
Cr-Commit-Position: refs/heads/master@{#42393}
Committed: https://chromium.googlesource.com/v8/v8/+/01b684cf6869f52ff37b2a5d584314e07f7028a2
Patch Set 1 #
Messages
Total messages: 13 (9 generated)
|