Reviewers: Toon Verwaest, Description: Implement verification of context separation.
This adds the --verify-global-context-separation flag which can be used to verify that no code object embeds pointers to more than one global context after a full GC. It uses an object visitor that just performs shallow traversal of the object graph spanned by one code object, and breaks at points where application objects are encountered. So it will not trip on cross-context leaks introduced by the application itself. [email protected] Please review this at https://chromiumcodereview.appspot.com/10830049/ SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge Affected files: M src/flag-definitions.h M src/mark-compact.cc M src/objects-printer.cc -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
