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

Issue 2194843002: object-stats.cc: Annotate PrintJSONArray with V8_NOINLINE (Closed)

Created:
4 years, 4 months ago by dcheng
Modified:
4 years, 4 months ago
CC:
Hannes Payer (out of office), ulan, 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

object-stats.cc: Annotate PrintJSONArray with V8_NOINLINE Sometimes, the compiler will inline this function and unroll the loop. Forcing this to never be inlined reduces the compiled size of the function from a potential 170KB to around 39KB. BUG=v8:5240 Committed: https://crrev.com/593ad0f7dfb87fce8e1033ad4a95519f90f5523d Cr-Commit-Position: refs/heads/master@{#38172}

Patch Set 1 #

Patch Set 2 : Add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -1 line) Patch
M src/heap/object-stats.cc View 1 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 13 (5 generated)
dcheng
This one is a bit non-deterministic: yesterday, it wasn't being inlined and unrolled in official ...
4 years, 4 months ago (2016-07-29 08:26:28 UTC) #2
Camillo Bruni
I'm no heap owner, but would generally approve otherwise :)
4 years, 4 months ago (2016-07-29 08:47:36 UTC) #4
Michael Lippautz
lgtm, thanks!
4 years, 4 months ago (2016-07-29 09:02:35 UTC) #5
dcheng
I added a small comment so it's less mysterious why this one function is marked ...
4 years, 4 months ago (2016-07-29 09:57:09 UTC) #6
dcheng
4 years, 4 months ago (2016-07-29 09:57:26 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/2194843002/20001
4 years, 4 months ago (2016-07-29 09:58:28 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-07-29 10:24:42 UTC) #11
commit-bot: I haz the power
4 years, 4 months ago (2016-07-29 10:26:06 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/593ad0f7dfb87fce8e1033ad4a95519f90f5523d
Cr-Commit-Position: refs/heads/master@{#38172}

Powered by Google App Engine
This is Rietveld 408576698