DescriptionCache compile-time constants on the script object, sometimes.
When a script is not in the vm heap, we now cache compile time
constants on the script object itself. During isolate reload we may
have both an old and a new version of a script being compiled at the
same time and they need to cache their constants separately. This
also means that compile time constants from old scripts can be
collected when the script is collected, which is good.
When a script is in the vm heap, we continue to use the old system of
employing a shared per-isolate cache stored in the object store.
Closes #26833
BUG=
R=fschneider@google.com, johnmccutchan@google.com
Committed: https://github.com/dart-lang/sdk/commit/62ccff992fc64403d5d4693ee4ca1b71e02df360
Patch Set 1 #Patch Set 2 : cleanups #
Total comments: 6
Patch Set 3 : Code review #
Messages
Total messages: 8 (3 generated)
|