DescriptionUse external byte arrays for token stream, this moves the token stream out of the isolate heap. For full snapshots the external byte array points to the snapshot buffer thus incurring no extra space in the C heap either.
Heap usage stats before this change is:
New space (0k of 32768k) Old space (1085k of 1280k) Code space (0k of 0k)
Heap Usage stats after this change is:
New space (0k of 32768k) Old space (947k of 1024k) Code space (0k of 0k)
A savings of about 138k.
Committed: https://code.google.com/p/dart/source/detail?r=11977
Patch Set 1 #
Total comments: 4
Patch Set 2 : #
Messages
Total messages: 5 (0 generated)
|