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

Issue 566853005: Fix to allocation stub invalidation: we cannot just remove it as it will be collected even though c… (Closed)

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

Description

Fix to allocation stub invalidation: we cannot just remove it as it will be collected even though code still may reference it. Since we should probably have two different allocation stubs, keep two in the class and switch between them. Future work will put intelligence in the allocation stub selection. Added Daniel's test flag & code. R=koda@google.com Committed: https://code.google.com/p/dart/source/detail?r=40327

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -15 lines) Patch
M runtime/tests/vm/dart/byte_array_test.dart View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/code_generator.cc View 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/compiler_test.cc View 3 chunks +7 lines, -2 lines 0 comments Download
M runtime/vm/heap.cc View 2 chunks +19 lines, -8 lines 0 comments Download
M runtime/vm/object.h View 2 chunks +5 lines, -1 line 0 comments Download
M runtime/vm/object.cc View 1 chunk +12 lines, -2 lines 0 comments Download
M runtime/vm/raw_object.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
srdjan
6 years, 3 months ago (2014-09-12 18:21:53 UTC) #2
koda
This lgtm as a fix for the immediate bug, although we should talk about the ...
6 years, 3 months ago (2014-09-15 14:59:13 UTC) #3
srdjan
Long term plan is to use similar method as done for static methods: add references ...
6 years, 3 months ago (2014-09-15 23:39:59 UTC) #4
srdjan
6 years, 3 months ago (2014-09-16 17:01:24 UTC) #5
Message was sent while issue was closed.
Committed patchset #7 (id:120001) manually as r40327 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698