This need more work.

Even if we stop simplifying sliced strings when running out of memory during GC,
it can hurt other object types that can't tolerate allocation failures.

Whatever scheme we come up with should be memory efficient. In other words,
simplifying slices should not increase total memory usage.

And as Erik points out this change can cause subtle bugs when a string shape is changed after being inspected. Have you verified our runtime and generated code
to be immune to this?


Thanks,
Vitaly

http://codereview.chromium.org/7736020/

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to