On Sat, Feb 18, 2017 at 11:46 PM, GitHub <
[hidden email]> wrote:
Great to see this progress. Thanks Eliot.
Just curious about the strategy of handling pinned objects during
Image save/load.
Could the pinned memory possibly be considered to have been invalidated
much like when the VM exits? And thus the VM could move and compress
the pinned objects at some point, or automatically unpin all objects
in a saved Image?
Or are their cases where the pin is useful to persist across saves?
Maybe if an external library relies on one pinned object refering
to the memory location of another pinned in some domain document structure?
Thus it is Image's responsibility to unpin all objects to minimise Image size?
I guess unpinning by the Image would be best at Image load rather when saving
since the Image may continue.
cheers -ben