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

Issue 42686: Fix issue 96, test-debug/ThreadedDebugging is flaky... (Closed)

Created:
11 years, 9 months ago by Matt Hanselman
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Fix issue 96, "test-debug/ThreadedDebugging is flaky" The previous test assumed the V8 thread would begin executing before the Debugger thread issued its break statement. Change it so the V8 thread calls its first barrier within the JS infinite loop rather than right before invoking it in the C++ code. Merged the two JS code snippets into one since the C++ intermediate barrier call was removed. Ran the test for about 8 hours on Windows without a hang or a failure BUG=96

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -6 lines) Patch
M test/cctest/test-debug.cc View 1 3 chunks +18 lines, -6 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Matt Hanselman
11 years, 9 months ago (2009-03-27 03:00:57 UTC) #1
Søren Thygesen Gjesse
Putting a sleep into one test might not seem like a big deal, but with ...
11 years, 9 months ago (2009-03-27 10:50:38 UTC) #2
Matt Hanselman
Apologies for the delay -- I didn't realize I needed to star my own review ...
11 years, 8 months ago (2009-04-01 01:58:35 UTC) #3
Matt Hanselman
Reworked to place barrier call in JS code
11 years, 8 months ago (2009-04-01 14:00:16 UTC) #4
Søren Thygesen Gjesse
11 years, 8 months ago (2009-04-01 21:05:50 UTC) #5
LGTM

Thank you for the patch Matt. I will put it in Monday.

Powered by Google App Engine
This is Rietveld 408576698