62ccff992f
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 Review URL: https://codereview.chromium.org/2126393003 .