Change cctest/test-lockers to not copy persistent handles around.
authordcarney@chromium.org <dcarney@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 24 Apr 2013 14:23:46 +0000 (14:23 +0000)
committerdcarney@chromium.org <dcarney@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 24 Apr 2013 14:23:46 +0000 (14:23 +0000)
commit061f523b5a744a651eb9bf54ae99714756dcdf38
treed723024f833101fe6b374bc7833927b5b86bde72
parent3e7f38147ba57acb19ac27d7b4e64d78f52a6374
Change cctest/test-lockers to not copy persistent handles around.

Instead, create Local handles to pass them around. This also means that the
code needs to be shifted around a bit such that a handle scope exists when
creating threads.

Review URL: https://codereview.chromium.org/14150017

Patch from Jochen Eisinger <jochen@chromium.org>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14420 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
include/v8.h
test/cctest/test-lockers.cc