-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.customer-fluttertype-performanceIssue relates to performance or code sizeIssue relates to performance or code sizevm-aot-code-sizeRelated to improvements in AOT code sizeRelated to improvements in AOT code size
Description
It appears we preserve CodeSourceMap objects in obfuscated mode. They are used for building string representations of stack traces (one frame might be decoded into multiple functions) as well as for storing pc offset -> token position mappings.
This information is not necessary for the AOT runtime for correctness, only for stack traces and exception messages. We could therefore consider moving this information out of AOT snapshot, similarly to how we have an external obfuscation map.
These CodeSourceMap's sometimes take up 15% of the isolate snapshot (upwards of half a MB).
xster, Sacchid and gaaclarke
Metadata
Metadata
Assignees
Labels
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.customer-fluttertype-performanceIssue relates to performance or code sizeIssue relates to performance or code sizevm-aot-code-sizeRelated to improvements in AOT code sizeRelated to improvements in AOT code size