|
|
1. Register canonical names for internal VM classes and get rid of the method GetSingletonClassName
2. Create the empty_array object as a singleton in the VM isolate and remove it from the object store
3. Remove eager population of the functions_cache entry in the class. This results in a pretty impressive reduction of the initial isolate heap size:
- on IA32 it goes from 1331k to 1071k
- on X64 it goes from 2431k to 1911k
- snapshot size also is reduced from 859219 bytes to 789147 bytes.
(as a follow up change I will consider completely removing functions cache)
Committed: https://code.google.com/p/dart/source/detail?r=10535
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+159 lines, -122 lines) |
Patch |
 |
M |
vm/class_finalizer_test.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
vm/code_descriptors.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
vm/code_generator.cc
|
View
|
1
2
3
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
vm/heap_profiler.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -7 lines |
0 comments
|
Download
|
 |
M |
vm/object.h
|
View
|
1
2
3
|
6 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
vm/object.cc
|
View
|
1
2
3
|
16 chunks |
+83 lines, -95 lines |
0 comments
|
Download
|
 |
M |
vm/object_store.h
|
View
|
1
2
3
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
vm/object_store.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
vm/object_test.cc
|
View
|
1
2
3
|
5 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
vm/parser.cc
|
View
|
1
2
3
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
vm/raw_object.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
vm/snapshot.cc
|
View
|
1
2
3
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
vm/snapshot_ids.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
vm/stub_code_ia32.cc
|
View
|
1
2
3
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
vm/stub_code_x64.cc
|
View
|
1
2
3
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
vm/symbols.h
|
View
|
1
2
3
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
 |
M |
vm/symbols.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 3 (0 generated)
|