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

Issue 511963007: Pretenure some strings into bump-allocated block (Closed)

Created:
6 years, 3 months ago by koda
Modified:
6 years, 3 months ago
Reviewers:
Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Proof-of-concept pretenuring of some strings: - Add bump-pointer allocated block in page space. - Pretenure num.toString whenever >98% of strings are being promoted. - Fix deadlock in freelist printing. Committed: https://code.google.com/p/dart/source/detail?r=39688

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 10

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+189 lines, -34 lines) Patch
M runtime/lib/num.cc View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M runtime/vm/freelist.h View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M runtime/vm/freelist.cc View 1 2 3 4 3 chunks +25 lines, -3 lines 0 comments Download
M runtime/vm/heap.h View 1 2 3 4 5 chunks +9 lines, -0 lines 0 comments Download
M runtime/vm/heap.cc View 1 2 3 4 5 chunks +42 lines, -1 line 0 comments Download
M runtime/vm/pages.h View 1 2 3 4 3 chunks +12 lines, -0 lines 0 comments Download
M runtime/vm/pages.cc View 1 2 3 4 10 chunks +94 lines, -28 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
koda
koda@google.com changed reviewers: + iposva@google.com
6 years, 3 months ago (2014-08-28 23:21:52 UTC) #1
koda
6 years, 3 months ago (2014-08-28 23:22:36 UTC) #2
Ivan Posva
LGTMwC -ip https://codereview.chromium.org/511963007/diff/40001/runtime/vm/freelist.cc File runtime/vm/freelist.cc (right): https://codereview.chromium.org/511963007/diff/40001/runtime/vm/freelist.cc#newcode239 runtime/vm/freelist.cc:239: ASSERT(index >= 0); Please add DEBUG_ASSERT(mutex_->Owner() == ...
6 years, 3 months ago (2014-08-29 00:07:12 UTC) #3
koda
https://codereview.chromium.org/511963007/diff/40001/runtime/vm/freelist.cc File runtime/vm/freelist.cc (right): https://codereview.chromium.org/511963007/diff/40001/runtime/vm/freelist.cc#newcode239 runtime/vm/freelist.cc:239: ASSERT(index >= 0); On 2014/08/29 00:07:12, Ivan Posva wrote: ...
6 years, 3 months ago (2014-08-29 00:52:20 UTC) #4
koda
6 years, 3 months ago (2014-08-29 03:54:46 UTC) #5
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as r39688 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698