|
Reland: [Compiler] Enable handles created during parsing and scope analysis to be deferred.
In order to compile eager inner functions on a background thread we need to
keep the handles created during parsing and scope analysis alive until the
background compilation is complete. In order to do that, we allocate the
handles in a deferred handle scope and keep the deferred handles alive with
a shared_ptr in the ParseInfo and CompileInfo respectively.
BUG= v8:5203
Review-Url: https://codereview.chromium.org/2650883002
Cr-Commit-Position: refs/heads/master@{#43107}
Committed: https://chromium.googlesource.com/v8/v8/+/0a9d4a3b0c8097dc39ec95f7ab750b59e29cbc8a
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+262 lines, -109 lines) |
Patch |
|
M |
src/api.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
src/api.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+12 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/compilation-info.h
|
View
|
1
2
3
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/compilation-info.cc
|
View
|
1
2
3
|
2 chunks |
+14 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/compiler.cc
|
View
|
1
2
3
4
5
|
7 chunks |
+54 lines, -12 lines |
0 comments
|
Download
|
|
M |
src/compiler-dispatcher/compiler-dispatcher.h
|
View
|
1
2
3
|
2 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/compiler-dispatcher/compiler-dispatcher.cc
|
View
|
1
2
3
|
3 chunks |
+15 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/compiler-dispatcher/compiler-dispatcher-job.h
|
View
|
1
2
3
|
3 chunks |
+9 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/compiler-dispatcher/compiler-dispatcher-job.cc
|
View
|
1
2
3
4
|
6 chunks |
+21 lines, -19 lines |
0 comments
|
Download
|
|
M |
src/handles.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
src/parsing/parse-info.h
|
View
|
1
2
3
|
4 chunks |
+14 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/parsing/parse-info.cc
|
View
|
1
2
3
|
3 chunks |
+14 lines, -1 line |
0 comments
|
Download
|
|
M |
src/parsing/parser.h
|
View
|
1
2
3
4
|
1 chunk |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/parsing/parser.cc
|
View
|
1
2
3
4
|
1 chunk |
+10 lines, -13 lines |
0 comments
|
Download
|
|
M |
src/parsing/parsing.h
|
View
|
1
2
3
4
|
1 chunk |
+8 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/parsing/parsing.cc
|
View
|
1
2
3
4
|
3 chunks |
+19 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/pending-compilation-error-handler.h
|
View
|
1
2
3
4
|
2 chunks |
+0 lines, -15 lines |
0 comments
|
Download
|
|
M |
src/pending-compilation-error-handler.cc
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
test/unittests/compiler-dispatcher/compiler-dispatcher-unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+49 lines, -3 lines |
0 comments
|
Download
|
Depends on Patchset:
Dependent Patchsets:
Total messages: 54 (44 generated)
|