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

Issue 2056813002: Fix incorrect new-space allocations in the parser during background compilation (Closed)

Created:
4 years, 6 months ago by Florian Schneider
Modified:
4 years, 6 months ago
Reviewers:
siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix incorrect new-space allocations in the parser during background compilation Thess place were forgotten when changing all allocations in the background compiler to old-space. New-space allocation is not allowed in the background compiler thread. I added assert to places that should only be reachable during unoptimized compilation. BUG=#26669 R=asiva@google.com Committed: https://github.com/dart-lang/sdk/commit/82fac9b30bacf5ac7a8dcd523d6349d6a710ac51

Patch Set 1 #

Patch Set 2 : more fixes #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -19 lines) Patch
M runtime/vm/object.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/parser.cc View 1 18 chunks +24 lines, -18 lines 1 comment Download

Messages

Total messages: 7 (4 generated)
Florian Schneider
4 years, 6 months ago (2016-06-09 20:22:18 UTC) #4
siva
lgtm https://codereview.chromium.org/2056813002/diff/20001/runtime/vm/parser.cc File runtime/vm/parser.cc (right): https://codereview.chromium.org/2056813002/diff/20001/runtime/vm/parser.cc#newcode11703 runtime/vm/parser.cc:11703: type_class, TypeArguments::Handle(Z), primary_pos, Heap::kOld)); Type::New by default allocates ...
4 years, 6 months ago (2016-06-09 20:51:41 UTC) #5
Florian Schneider
4 years, 6 months ago (2016-06-09 20:53:46 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
82fac9b30bacf5ac7a8dcd523d6349d6a710ac51 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698