DescriptionVM: Fix snapshoting slow-down caused by 99c6a18a1bc2a4f13d8dd027a597fdca0f2d6e0c.
Only reload packages map when we are actually doing the isolate reload.
Snapshotting creates and destroys and loader object every time it loads a dart
file - which means kInitLoader is on the hot path and we should avoid rereading
packages map.
R=asiva@google.com, rmacnak@google.com
Committed: https://github.com/dart-lang/sdk/commit/13f5616ef6012d01a2fa1c008241ea95c05bb57f
Patch Set 1 #
Total comments: 2
Messages
Total messages: 6 (2 generated)
|