DescriptionRemove definitions from Kernel canonical names.
Before: Canonical names contained pointers to the corresponding Kernel
tree which assumed that the whole tree was in memory whenever the
canonical names were.
Now: Canonical names do not contain these pointers. They were only
really used to perform name-based lookup in the VM's heap so the
canonical name itself is enough.
If we later find that we need to get from a canonical name to its
Kernel tree we can add an offset in the binary (for instance) to the
canonical name or in a separate mapping on the side.
BUG=
R=asgerf@google.com, jensj@google.com, vegorov@google.com
Committed: https://github.com/dart-lang/sdk/commit/ed77783cd32d55fdad61bf9bc749030847ba9384
Committed: https://github.com/dart-lang/sdk/commit/d562f7ced52c28cd417660128b6bafe44534a422
Patch Set 1 #Patch Set 2 : Small cleanups before review. #
Total comments: 4
Patch Set 3 : Incorporate review comments. #Patch Set 4 : Update test expectations. #
Messages
Total messages: 15 (5 generated)
|