|
Create a internal native context used only for TF-generated code stubs
Until now, TF-generated code stubs piggy-backed off of the builtin
context. Since generation of code stubs is lazy, stubs generated at
different times in different native contexts would contain embedded
pointers different builtin contexts, leading to cross-context references
and memory leaks.
After this CL, all TF-generated code stubs are generated inside a
internal thinned-out, native context that lives solely for the
purpose of hosting generated code stubs.
Committed: https://crrev.com/a1475dae5d147cac78812cd4fd09f886b51a88ef
Cr-Commit-Position: refs/heads/master@{#29593}
Total comments: 14
Total comments: 6
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+421 lines, -156 lines) |
Patch |
|
M |
BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
7 chunks |
+41 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/bootstrapper.h
|
View
|
1
2
3
4
5
|
3 chunks |
+14 lines, -1 line |
0 comments
|
Download
|
|
M |
src/bootstrapper.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
21 chunks |
+120 lines, -39 lines |
0 comments
|
Download
|
|
M |
src/code-stubs.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
|
A |
src/code-stubs.js
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+69 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/contexts.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/heap/heap.h
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
|
M |
src/heap/heap.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/isolate.cc
|
View
|
1
2
3
4
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/runtime.js
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+0 lines, -70 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/runtime/runtime-internal.cc
|
View
|
1
2
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-test.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/snapshot/natives.h
|
View
|
1
2
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/snapshot/natives-external.cc
|
View
|
|
3 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/snapshot/serialize.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
3 chunks |
+12 lines, -1 line |
0 comments
|
Download
|
|
M |
src/snapshot/serialize.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
7 chunks |
+70 lines, -21 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-api.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
test/cctest/test-heap.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
3 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-heap-profiler.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
4 chunks |
+11 lines, -6 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-object-observe.cc
|
View
|
1
2
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/compiler/stubs/floor-stub.js
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
tools/gyp/v8.gyp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
5 chunks |
+34 lines, -0 lines |
0 comments
|
Download
|
Total messages: 20 (10 generated)
|