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

Issue 2258003002: Disable CFI on a few methods. (Closed)

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

Description

Disable CFI on a few methods. While they have not been observed to slow down real-world use cases, some blink_layout microbenchmarks feel better with these methods disabled. In order to be concervative at the launch time, lift the CFI defense for these methods. 8/10 of these methods will become much faster when an optimization proposed in https://crbug.com/638056 -- we only need to load vptr once (before the loop) and have a single CFI check instead of a check per iteration. BUG=638056, 634139 Committed: https://crrev.com/e3ad26fee659e29604efb762dd05347df6506fa9 Cr-Commit-Position: refs/heads/master@{#38759}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -0 lines) Patch
M src/api.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/base/macros.h View 1 chunk +11 lines, -0 lines 0 comments Download
M src/global-handles.cc View 6 chunks +6 lines, -0 lines 0 comments Download
M src/objects-body-descriptors-inl.h View 2 chunks +2 lines, -0 lines 0 comments Download
M src/snapshot/serializer-common.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 24 (12 generated)
krasin1
Hi Benedikt! please, review this small CL that adds attributes to disable Control Flow Integrity ...
4 years, 4 months ago (2016-08-18 23:30:59 UTC) #2
Benedikt Meurer
lgtm
4 years, 4 months ago (2016-08-19 06:01:10 UTC) #3
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/2258003002/1
4 years, 4 months ago (2016-08-19 06:03:26 UTC) #5
krasin
On 2016/08/19 06:01:10, Benedikt Meurer wrote: > lgtm Thanks!
4 years, 4 months ago (2016-08-19 06:03:33 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/22086)
4 years, 4 months ago (2016-08-19 06:06:36 UTC) #8
krasin
Hi Toon, may I have you LGTM for src/snapshot/serializer-common.cc, please? Benedikt has reviewed the CL ...
4 years, 4 months ago (2016-08-19 06:13:25 UTC) #10
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/2258003002/1
4 years, 4 months ago (2016-08-19 08:48:11 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/22103)
4 years, 4 months ago (2016-08-19 08:51:00 UTC) #18
Toon Verwaest
rubberstamp lgtm
4 years, 4 months ago (2016-08-19 12:46:56 UTC) #19
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/2258003002/1
4 years, 4 months ago (2016-08-19 16:29:56 UTC) #21
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-08-19 16:31:40 UTC) #22
commit-bot: I haz the power
4 years, 4 months ago (2016-08-19 16:31:54 UTC) #24
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/e3ad26fee659e29604efb762dd05347df6506fa9
Cr-Commit-Position: refs/heads/master@{#38759}

Powered by Google App Engine
This is Rietveld 408576698