Reviewers: mvstanton,
Description:
Prevent stack overflow in the serializer/deserializer.
We keep an eye on the recursion depth. Once it exceeds a limit, we serialize
only the object header and size, but defer serializing the object body for
after we have unwound the stack.
[email protected]
Please review this at https://codereview.chromium.org/1125073004/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+168, -34 lines):
M src/api.cc
M src/heap/objects-visiting-inl.h
M src/snapshot/serialize.h
M src/snapshot/serialize.cc
M test/cctest/test-serialize.cc
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.