|
[heap] Introduce enum of garbage collection reasons.
Now callers of Heap::CollectGarbage* functions need to
specify the reason as an enum value instead of a string.
Subsequent CL will add stats counter for GC reason.
BUG=
Committed: https://crrev.com/1b26611ce953e2867926af5c5c3d3f2a006384d6
Cr-Commit-Position: refs/heads/master@{#39239}
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+703 lines, -599 lines) |
Patch |
|
M |
src/api.cc
|
View
|
|
4 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/debug/debug.cc
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/extensions/statistics-extension.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/factory.cc
|
View
|
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/heap/gc-tracer.h
|
View
|
1
2
3
4
5
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/heap/gc-tracer.cc
|
View
|
1
2
3
4
5
|
6 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/heap/heap.h
|
View
|
1
2
3
4
5
|
7 chunks |
+45 lines, -22 lines |
0 comments
|
Download
|
|
M |
src/heap/heap.cc
|
View
|
1
2
3
4
5
|
19 chunks |
+105 lines, -51 lines |
0 comments
|
Download
|
|
M |
src/heap/heap-inl.h
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/heap/incremental-marking.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/heap/incremental-marking.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/heap/incremental-marking-job.cc
|
View
|
1
2
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/heap/memory-reducer.cc
|
View
|
1
2
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/heap/scavenge-job.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/heap/spaces.cc
|
View
|
1
2
3
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/isolate.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/objects.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/profiler/heap-snapshot-generator.cc
|
View
|
|
2 chunks |
+5 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/profiler/sampling-heap-profiler.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-debug.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
test/cctest/cctest.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/cctest/cctest.cc
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/cctest/heap/heap-utils.cc
|
View
|
1
2
3
|
3 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
|
M |
test/cctest/heap/test-alloc.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
test/cctest/heap/test-array-buffer-tracker.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
test/cctest/heap/test-compaction.cc
|
View
|
|
5 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
test/cctest/heap/test-heap.cc
|
View
|
1
2
3
4
5
6
|
153 chunks |
+219 lines, -208 lines |
0 comments
|
Download
|
|
M |
test/cctest/heap/test-incremental-marking.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
test/cctest/heap/test-mark-compact.cc
|
View
|
1
2
3
4
5
6
|
10 chunks |
+13 lines, -13 lines |
0 comments
|
Download
|
|
M |
test/cctest/heap/test-page-promotion.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
test/cctest/test-accessors.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
test/cctest/test-api.cc
|
View
|
|
94 chunks |
+144 lines, -153 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-api-interceptors.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
test/cctest/test-cpu-profiler.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
test/cctest/test-debug.cc
|
View
|
|
5 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-decls.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-deoptimization.cc
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
test/cctest/test-dictionary.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-feedback-vector.cc
|
View
|
|
6 chunks |
+3 lines, -8 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-global-handles.cc
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-heap-profiler.cc
|
View
|
|
8 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-identity-map.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-log.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
test/cctest/test-mementos.cc
|
View
|
|
4 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-serialize.cc
|
View
|
|
6 chunks |
+11 lines, -7 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-symbols.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-unboxed-doubles.cc
|
View
|
|
7 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-weakmaps.cc
|
View
|
|
8 chunks |
+8 lines, -10 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-weaksets.cc
|
View
|
|
7 chunks |
+7 lines, -9 lines |
0 comments
|
Download
|
|
M |
test/unittests/heap/gc-tracer-unittest.cc
|
View
|
|
4 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
Total messages: 30 (22 generated)
|