|
CpuProfiler: eliminate cpu-profiler dependency from heap-inl.h
We accessed to cpu_profiler for tracking SharedFunctionInfo objects movements and used their addresses for generating function_id. Actually we could replace the manually generated shared_id by the pair script_id + position. In this case we can drop SharedFunctionInfo events support from cpu_profiler and remove the dependency.
BTW GetCallUid was used as an unique identifier of the function on the front-end side. Actually it is a hash which might not be unique. So I renamed GetCallUid with GetHash and implemented GetFunctionId method.
BUG= 452067
LOG=n
Committed: https://crrev.com/8ba89cce6daf5be4427ba184ec5f2c25ec2a15a4
Cr-Commit-Position: refs/heads/master@{#26775}
Total comments: 10
Total comments: 2
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+80 lines, -110 lines) |
Patch |
|
M |
src/api.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/arm/lithium-codegen-arm.cc
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/arm64/lithium-codegen-arm64.cc
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/cpu-profiler.h
|
View
|
|
4 chunks |
+1 line, -12 lines |
0 comments
|
Download
|
|
M |
src/cpu-profiler.cc
|
View
|
|
9 chunks |
+2 lines, -28 lines |
0 comments
|
Download
|
|
M |
src/cpu-profiler-inl.h
|
View
|
|
2 chunks |
+0 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/deoptimizer.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/heap/heap-inl.h
|
View
|
|
2 chunks |
+3 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/ia32/lithium-codegen-ia32.cc
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/ic/handler-compiler.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/ic/ic-compiler.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/log.cc
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/mips/lithium-codegen-mips.cc
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/mips64/lithium-codegen-mips64.cc
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/ppc/lithium-codegen-ppc.cc
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/profile-generator.h
|
View
|
1
2
|
10 chunks |
+17 lines, -15 lines |
0 comments
|
Download
|
|
M |
src/profile-generator.cc
|
View
|
1
2
3
4
|
8 chunks |
+37 lines, -35 lines |
0 comments
|
Download
|
|
M |
src/profile-generator-inl.h
|
View
|
1
2
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
src/runtime/runtime-function.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/serialize.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/x64/lithium-codegen-x64.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/x87/lithium-codegen-x87.cc
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 25 (5 generated)
|