Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(254)

Issue 14150017: Change cctest/test-lockers to not copy persistent handles around. (Closed)

Created:
7 years, 8 months ago by jochen (gone - plz use gerrit)
Modified:
7 years, 8 months ago
Reviewers:
Sven Panne, dcarney
CC:
v8-dev
Visibility:
Public.

Description

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. Committed: https://code.google.com/p/v8/source/detail?r=14420

Patch Set 1 #

Patch Set 2 : updates #

Total comments: 4

Patch Set 3 : updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -31 lines) Patch
M include/v8.h View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M test/cctest/test-lockers.cc View 1 2 12 chunks +39 lines, -31 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
jochen (gone - plz use gerrit)
plz review :) the tests pass locally in ia32.debug
7 years, 8 months ago (2013-04-24 12:55:02 UTC) #1
dcarney
lgtm
7 years, 8 months ago (2013-04-24 13:13:30 UTC) #2
dcarney
https://codereview.chromium.org/14150017/diff/3001/test/cctest/test-lockers.cc File test/cctest/test-lockers.cc (right): https://codereview.chromium.org/14150017/diff/3001/test/cctest/test-lockers.cc#newcode501 test/cctest/test-lockers.cc:501: thread; spacing
7 years, 8 months ago (2013-04-24 13:13:38 UTC) #3
jochen (gone - plz use gerrit)
https://codereview.chromium.org/14150017/diff/3001/test/cctest/test-lockers.cc File test/cctest/test-lockers.cc (right): https://codereview.chromium.org/14150017/diff/3001/test/cctest/test-lockers.cc#newcode501 test/cctest/test-lockers.cc:501: thread; On 2013/04/24 13:13:38, dcarney wrote: > spacing that's ...
7 years, 8 months ago (2013-04-24 13:15:16 UTC) #4
Sven Panne
LGTM with a nit, too. https://codereview.chromium.org/14150017/diff/3001/test/cctest/test-lockers.cc File test/cctest/test-lockers.cc (right): https://codereview.chromium.org/14150017/diff/3001/test/cctest/test-lockers.cc#newcode501 test/cctest/test-lockers.cc:501: thread; On 2013/04/24 13:15:16, ...
7 years, 8 months ago (2013-04-24 13:40:39 UTC) #5
dcarney
https://codereview.chromium.org/14150017/diff/3001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/14150017/diff/3001/include/v8.h#newcode380 include/v8.h:380: : Handle<T>(New(isolate, that)) { } Should be a comment ...
7 years, 8 months ago (2013-04-24 13:46:02 UTC) #6
jochen (gone - plz use gerrit)
addressed both comments
7 years, 8 months ago (2013-04-24 14:20:02 UTC) #7
dcarney
7 years, 8 months ago (2013-04-24 14:24:19 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 manually as r14420 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698