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

Issue 2612753002: Add more tests for compiler-dispatcher (Closed)

Created:
3 years, 11 months ago by jochen (gone - plz use gerrit)
Modified:
3 years, 11 months ago
Reviewers:
vogelheim, marja
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Add more tests for compiler-dispatcher BUG=v8:5215 R=marja@chromium.org,vogelheim@chromium.org Review-Url: https://codereview.chromium.org/2612753002 Cr-Commit-Position: refs/heads/master@{#42062} Committed: https://chromium.googlesource.com/v8/v8/+/a8b16f44242e701cb9030b86835b58fa7593f4d6

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -9 lines) Patch
M src/compiler-dispatcher/compiler-dispatcher.cc View 2 chunks +7 lines, -5 lines 3 comments Download
M test/unittests/compiler-dispatcher/compiler-dispatcher-unittest.cc View 2 chunks +59 lines, -4 lines 2 comments Download

Messages

Total messages: 14 (7 generated)
jochen (gone - plz use gerrit)
3 years, 11 months ago (2017-01-04 08:21:31 UTC) #1
jochen (gone - plz use gerrit)
https://codereview.chromium.org/2612753002/diff/1/src/compiler-dispatcher/compiler-dispatcher.cc File src/compiler-dispatcher/compiler-dispatcher.cc (left): https://codereview.chromium.org/2612753002/diff/1/src/compiler-dispatcher/compiler-dispatcher.cc#oldcode25 src/compiler-dispatcher/compiler-dispatcher.cc:25: v8::TryCatch try_catch(reinterpret_cast<v8::Isolate*>(isolate)); turns out that we only create a ...
3 years, 11 months ago (2017-01-04 08:23:23 UTC) #4
marja
lgtm
3 years, 11 months ago (2017-01-04 10:05:55 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2612753002/1
3 years, 11 months ago (2017-01-04 10:06:25 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/v8/v8/+/a8b16f44242e701cb9030b86835b58fa7593f4d6
3 years, 11 months ago (2017-01-04 10:08:05 UTC) #12
vogelheim
lgtm https://codereview.chromium.org/2612753002/diff/1/src/compiler-dispatcher/compiler-dispatcher.cc File src/compiler-dispatcher/compiler-dispatcher.cc (right): https://codereview.chromium.org/2612753002/diff/1/src/compiler-dispatcher/compiler-dispatcher.cc#newcode62 src/compiler-dispatcher/compiler-dispatcher.cc:62: } nitpick: Hmm... How about: DCHECK_EQ(job->status() == CompileJobStatus::kFailed, ...
3 years, 11 months ago (2017-01-04 10:08:49 UTC) #13
jochen (gone - plz use gerrit)
3 years, 11 months ago (2017-01-04 10:23:18 UTC) #14
Message was sent while issue was closed.
https://codereview.chromium.org/2612753002/diff/1/src/compiler-dispatcher/com...
File src/compiler-dispatcher/compiler-dispatcher.cc (right):

https://codereview.chromium.org/2612753002/diff/1/src/compiler-dispatcher/com...
src/compiler-dispatcher/compiler-dispatcher.cc:62: }
On 2017/01/04 at 10:08:49, vogelheim wrote:
> nitpick: Hmm... How about:
> 
> DCHECK_EQ(job->status() == CompileJobStatus::kFailed,
>           isolate->has_pending_exception());
> if (ob->status() == CompileJobStatus::kFailed
>     && exception_handling == ExceptionHandling::kSwallow)
>   isolate->clear_pending_exception();

will do in a follow-up

https://codereview.chromium.org/2612753002/diff/1/test/unittests/compiler-dis...
File test/unittests/compiler-dispatcher/compiler-dispatcher-unittest.cc (right):

https://codereview.chromium.org/2612753002/diff/1/test/unittests/compiler-dis...
test/unittests/compiler-dispatcher/compiler-dispatcher-unittest.cc:437:
CompilerDispatcher dispatcher(i_isolate(), &platform, 50);
On 2017/01/04 at 10:08:49, vogelheim wrote:
> For my understanding: The point is to over-run an artificially small stack?

yes

we can't put a real syntax error here, because RunJS() wouldn't work then

Powered by Google App Engine
This is Rietveld 408576698