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

Issue 747463002: Fix allocation stats bug on ARM; add unit test. (Closed)

Created:
6 years, 1 month ago by koda
Modified:
6 years, 1 month ago
Reviewers:
zra
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Fix allocation stats bug on ARM; add unit test. Also add sanity checks to ClassHeapStats. Array allocation stub was using an address instead of a size for the allocation size. R=zra@google.com Committed: https://code.google.com/p/dart/source/detail?r=41862

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -8 lines) Patch
M runtime/vm/class_table.h View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
M runtime/vm/class_table.cc View 1 2 4 chunks +12 lines, -0 lines 0 comments Download
M runtime/vm/heap_test.cc View 1 2 1 chunk +40 lines, -0 lines 0 comments Download
M runtime/vm/stub_code_arm.cc View 1 chunk +10 lines, -8 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
koda
6 years, 1 month ago (2014-11-20 18:53:09 UTC) #1
zra
lgtm with sanity check in class table as discussed. https://codereview.chromium.org/747463002/diff/20001/runtime/vm/heap_test.cc File runtime/vm/heap_test.cc (right): https://codereview.chromium.org/747463002/diff/20001/runtime/vm/heap_test.cc#newcode196 runtime/vm/heap_test.cc:196: ...
6 years, 1 month ago (2014-11-20 19:05:18 UTC) #2
koda
Also added ASSERTs of non-negativity. https://codereview.chromium.org/747463002/diff/20001/runtime/vm/heap_test.cc File runtime/vm/heap_test.cc (right): https://codereview.chromium.org/747463002/diff/20001/runtime/vm/heap_test.cc#newcode196 runtime/vm/heap_test.cc:196: Dart_Handle result2 = Dart_Invoke(h_lib, ...
6 years, 1 month ago (2014-11-20 19:19:53 UTC) #3
koda
6 years, 1 month ago (2014-11-20 19:20:38 UTC) #4
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as r41862 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698