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

Issue 1945223002: [Interpreter] Updates mjsunit/es6/mirror-collections to work with ignition (Closed)

Created:
4 years, 7 months ago by mythria
Modified:
4 years, 7 months ago
Reviewers:
rmcilroy, Yang
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Interpreter] Updates mjsunit/es6/mirror-collections to work with ignition mjsunit/es6/mirror-collections fails with ignition because dead registers may hold references to objects. This prevents GC from collecting otherwise dead objects. Dead registers are not cleared because the cost of clearing them outweighs its benefits. Hence, modifying this test to work around this problem. BUG=v8:4280, v8:4853 LOG=N Committed: https://crrev.com/a64b1d876797f9824d3b31cd9ba8f43f284b783e Cr-Commit-Position: refs/heads/master@{#36098}

Patch Set 1 #

Patch Set 2 : correct fix this time. #

Patch Set 3 : updated test expectations in mjsunit.status #

Total comments: 2

Patch Set 4 : Updated as suggested by Ross. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -26 lines) Patch
M test/mjsunit/es6/mirror-collections.js View 1 2 3 2 chunks +28 lines, -18 lines 0 comments Download
M test/mjsunit/mjsunit.status View 1 2 2 chunks +0 lines, -8 lines 0 comments Download

Messages

Total messages: 34 (17 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1945223002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1945223002/1
4 years, 7 months ago (2016-05-04 09:07:07 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux64_asan_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_asan_rel_ng/builds/1132) v8_linux64_asan_rel_ng_triggered on ...
4 years, 7 months ago (2016-05-04 09:27:18 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1945223002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1945223002/20001
4 years, 7 months ago (2016-05-04 11:05:39 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_win_nosnap_shared_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win_nosnap_shared_rel_ng/builds/1209) v8_win_nosnap_shared_rel_ng_triggered on ...
4 years, 7 months ago (2016-05-04 11:21:31 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1945223002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1945223002/40001
4 years, 7 months ago (2016-05-04 12:59:28 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-04 13:28:31 UTC) #12
mythria
PTAL. Thanks, Mythri
4 years, 7 months ago (2016-05-04 13:50:47 UTC) #18
rmcilroy
https://codereview.chromium.org/1945223002/diff/40001/test/mjsunit/es6/mirror-collections.js File test/mjsunit/es6/mirror-collections.js (right): https://codereview.chromium.org/1945223002/diff/40001/test/mjsunit/es6/mirror-collections.js#newcode108 test/mjsunit/es6/mirror-collections.js:108: assertTrue(getWeakMapLength(weakMapMirror) <= 5); I think it would be cleaner ...
4 years, 7 months ago (2016-05-04 14:36:50 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1945223002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1945223002/60001
4 years, 7 months ago (2016-05-04 15:41:37 UTC) #21
mythria
https://codereview.chromium.org/1945223002/diff/40001/test/mjsunit/es6/mirror-collections.js File test/mjsunit/es6/mirror-collections.js (right): https://codereview.chromium.org/1945223002/diff/40001/test/mjsunit/es6/mirror-collections.js#newcode108 test/mjsunit/es6/mirror-collections.js:108: assertTrue(getWeakMapLength(weakMapMirror) <= 5); On 2016/05/04 14:36:50, rmcilroy wrote: > ...
4 years, 7 months ago (2016-05-04 16:13:57 UTC) #22
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-04 16:21:25 UTC) #24
mythria
Hi Yang, I updated mjsunit/es6/mirror-collections test to work with ignition. We have decided not to ...
4 years, 7 months ago (2016-05-05 08:52:18 UTC) #26
rmcilroy
LGTM if Yang agrees.
4 years, 7 months ago (2016-05-05 09:23:55 UTC) #27
Yang
On 2016/05/05 09:23:55, rmcilroy wrote: > LGTM if Yang agrees. LGTM.
4 years, 7 months ago (2016-05-09 05:36:35 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1945223002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1945223002/60001
4 years, 7 months ago (2016-05-09 08:14:52 UTC) #30
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-09 08:38:34 UTC) #32
commit-bot: I haz the power
4 years, 7 months ago (2016-05-09 08:40:15 UTC) #34
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/a64b1d876797f9824d3b31cd9ba8f43f284b783e
Cr-Commit-Position: refs/heads/master@{#36098}

Powered by Google App Engine
This is Rietveld 408576698