Files
sdk/runtime/lib
Matthias Hausner ad0f14e0ce Eliminate all but one top-level class per library.
Each script has an associated top-level class in which the top-level functions and fields are stored, and the reference to the script. All other fields in the TL class are unused. There are 380 TL classes in corelib alone; eliminating them saves space.

This CL eliminates all TL classes but one per library. All TL functions and fields in the library are stored in that TL class. Because scripts are not stored directly in functions and fields, but are accessible via their owner class, the owner of TL entities are now PatchClasses, rather than classes.

Before:
Size of vm isolate snapshot = 930813
New space (0k of 0k) Old space (1184k of 1624k)
VM Isolate: Number of symbols : 14909
Size of isolate snapshot = 261873
New space (0k of 2048k) Old space (987k of 1024k)

After:
Size of vm isolate snapshot = 931101
New space (0k of 0k) Old space (713k of 1156k)
VM Isolate: Number of symbols : 14907
Size of isolate snapshot = 256956
New space (0k of 1024k) Old space (514k of 768k)

R=iposva@google.com

Review URL: https://codereview.chromium.org/1410383020 .
2015-12-01 09:21:17 -08:00
..
2015-06-04 14:55:32 +02:00
2015-11-24 08:26:03 +01:00
2014-09-09 21:47:44 +00:00
2015-06-03 12:39:59 -07:00
2015-08-04 17:13:22 -07:00
2013-09-20 15:54:10 +00:00
2014-08-19 21:15:39 +00:00
2015-09-04 10:06:02 +02:00
2015-11-24 08:26:03 +01:00
2015-08-04 17:13:22 -07:00
2015-08-12 11:01:21 +02:00
2015-11-11 10:59:38 -08:00
2013-09-25 13:52:15 +00:00
2015-11-25 14:39:19 -08:00