2 ms·
Not hardly. When a Smalltalk image comes back, it's in the exactly the same state as it was when it took a "snapshot" then quit. Can't say the same for a Unix
by stcredzero 17y ago
Not hardly. When a Smalltalk image comes back, it's in the exactly the same state as it was when it took a "snapshot" then quit. Can't say the same for a Unix box.
There are some deliberate modifications. Like the "command line" array is whatever the command line was when the VM was re-invoked. Sockets deliberately aren't active for security reasons. But where the state isn't exactly the same, it's for a specific reason.
Even processes (green threads) are frozen halfway through, and continue chugging along when we return from snaphot!