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

Issue 958473004: Do not touch a binary op IC target in code object marked for lazy deopt. (Closed)

Created:
5 years, 10 months ago by Jarin
Modified:
5 years, 10 months ago
Reviewers:
Igor Sheludko
CC:
v8-dev, Toon Verwaest
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Do not touch a binary op IC target in code object marked for lazy deopt. Bad scenario: - Enter a binop IC miss handler from optimized code object C from call site S, - From the binop IC, invoke arbitrary javascript that lazy deopts C, so all relocation info is nuked and replaced with lazy deopt entries' reloc info. In particular, there is no reloc info for S. - Still from the arbitrary JavaScript, make IC target's code object move. Note that the call site S is not updated. - Return to the miss handler and inspect the IC's target. This will try to get the target from S, but that is a potentially invalid pointer. It is quite possible that we will have to do a similar fix for other ICs, but we will have to find a reliable repro first. I am not submitting a repro here because it is quite long running and brittle (it relies on code compaction happening while in the binop IC). BUG=v8:3910 LOG=n R=ishell@chromium.org Committed: https://crrev.com/bb13e7f7468a5b92022d98be7086b5abf2533359 Cr-Commit-Position: refs/heads/master@{#26872}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -0 lines) Patch
M src/ic/ic.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/ic/ic.cc View 2 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
Jarin
Could you take a look, please?
5 years, 10 months ago (2015-02-25 14:32:52 UTC) #1
Igor Sheludko
lgtm
5 years, 10 months ago (2015-02-25 18:44:29 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/958473004/1
5 years, 10 months ago (2015-02-26 08:20:43 UTC) #4
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 10 months ago (2015-02-26 08:36:52 UTC) #5
commit-bot: I haz the power
5 years, 10 months ago (2015-02-26 08:37:01 UTC) #6
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/bb13e7f7468a5b92022d98be7086b5abf2533359
Cr-Commit-Position: refs/heads/master@{#26872}

Powered by Google App Engine
This is Rietveld 408576698