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

Issue 342503002: Heap::AllocateExternal may trigger GC, so fix String::MakeExternal. (Closed)

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

Description

Heap::AllocateExternal may trigger GC, so fix String::MakeExternal. Note that this may happen even for size 0 (since we may be overdue for a GC). Some unit tests still optimistically expect that GC will not trigger. R=asiva@google.com Committed: https://code.google.com/p/dart/source/detail?r=37414

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -58 lines) Patch
M runtime/vm/dart_api_state.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/heap.cc View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 chunk +65 lines, -58 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
koda
6 years, 6 months ago (2014-06-17 18:12:28 UTC) #1
koda
Note: The diff is misleading; most of it is just an indentation change.
6 years, 6 months ago (2014-06-17 18:14:54 UTC) #2
siva
lgtm
6 years, 6 months ago (2014-06-17 18:40:34 UTC) #3
koda
6 years, 6 months ago (2014-06-17 19:41:17 UTC) #4
Message was sent while issue was closed.
Committed patchset #4 manually as r37414 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698