|
Reapplying r5147 (caching maps for slow case objects).
r5147 wrongly assumed that a code cache for a slow case map is always empty.
This patch solves this: whenever we attempt to add a stub to a map's code cache
we check that this map is cached. If it is we give the object its own copy
of the map and only then modify the map.
Committed: http://code.google.com/p/v8/source/detail?r=5342
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+311 lines, -74 lines) |
Patch |
|
M |
src/bootstrapper.cc
|
View
|
|
3 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/contexts.h
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/heap.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/heap.cc
|
View
|
|
2 chunks |
+18 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/ic.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/ic.cc
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/ic-inl.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/objects.h
|
View
|
|
6 chunks |
+37 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/objects.cc
|
View
|
1
|
3 chunks |
+155 lines, -16 lines |
0 comments
|
Download
|
|
M |
src/objects-debug.cc
|
View
|
1
|
3 chunks |
+27 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/objects-inl.h
|
View
|
|
2 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/stub-cache.cc
|
View
|
|
29 chunks |
+40 lines, -51 lines |
0 comments
|
Download
|
|
M |
src/v8-counters.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 3 (0 generated)
|