DescriptionParsing: Make Parser not know about Isolate during background parsing.
Parser must be able to operate independent of Isolate and the V8 heap during
parsing. After the heap-independent phase, there is a heap dependent phase,
during which we internalize strings, handle errors, etc.
This makes Isolate (also via CompilationInfo) unaccessible during parsing, and
thus decreases the probability of accidental code changes which would add
heap-dependent operations into the heap-independent phase.
Since Isolate is also accessible via CompilationInfo, now CompilationInfo is
only passed to the entry points of parsing, and not stored in Parser.
R=rossberg@chromium.org
BUG=
Committed: https://crrev.com/df0cb9999ff0574c6476b29f0610c7ca69d3ae1f
Cr-Commit-Position: refs/heads/master@{#26612}
Patch Set 1 #
Total comments: 2
Patch Set 2 : fix #Patch Set 3 : rebased #
Total comments: 1
Patch Set 4 : rebased #Patch Set 5 : main thread check #
Messages
Total messages: 15 (3 generated)
|