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

Issue 10832292: Reduce space used for stackmaps. (Closed)

Created:
8 years, 4 months ago by Kevin Millikin (Google)
Modified:
8 years, 4 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Reduce space used for stackmaps. Only allocate space for the bits covered by the stackmap, instead of for the backing store of the utility class that built it. Fix a bug where the size in bytes was multiplied by the word size in bytes. Also do some cleanup of the stackmap code and renaming in the tests. BUG= Committed: https://code.google.com/p/dart/source/detail?r=10870

Patch Set 1 #

Patch Set 2 : Restore inadvertently deleted code. #

Total comments: 9
Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -117 lines) Patch
M runtime/vm/bitmap_test.cc View 1 chunk +40 lines, -38 lines 0 comments Download
M runtime/vm/code_descriptors.h View 2 chunks +5 lines, -2 lines 3 comments Download
M runtime/vm/code_descriptors.cc View 1 4 chunks +6 lines, -6 lines 0 comments Download
M runtime/vm/code_descriptors_test.cc View 3 chunks +52 lines, -52 lines 0 comments Download
M runtime/vm/flow_graph_compiler.cc View 2 chunks +4 lines, -1 line 0 comments Download
M runtime/vm/object.h View 1 chunk +8 lines, -7 lines 3 comments Download
M runtime/vm/object.cc View 2 chunks +19 lines, -11 lines 3 comments Download

Messages

Total messages: 6 (0 generated)
Kevin Millikin (Google)
https://chromiumcodereview.appspot.com/10832292/diff/2001/runtime/vm/object.cc File runtime/vm/object.cc (left): https://chromiumcodereview.appspot.com/10832292/diff/2001/runtime/vm/object.cc#oldcode6860 runtime/vm/object.cc:6860: intptr_t size = bmap->SizeInBytes(); Here we need to use ...
8 years, 4 months ago (2012-08-14 13:02:31 UTC) #1
Kevin Millikin (Google)
There is an issue with the stackmap size. It is not constant per function. I'll ...
8 years, 4 months ago (2012-08-14 13:12:47 UTC) #2
Kevin Millikin (Google)
OK, this code can be reviewed. It will have to be adjusted to account for ...
8 years, 4 months ago (2012-08-15 08:47:45 UTC) #3
Vyacheslav Egorov (Google)
lgtm with comments https://chromiumcodereview.appspot.com/10832292/diff/2001/runtime/vm/code_descriptors.h File runtime/vm/code_descriptors.h (right): https://chromiumcodereview.appspot.com/10832292/diff/2001/runtime/vm/code_descriptors.h#newcode68 runtime/vm/code_descriptors.h:68: explicit StackmapTableBuilder(intptr_t entry_length_in_bits) : why : ...
8 years, 4 months ago (2012-08-15 14:17:37 UTC) #4
Kevin Millikin (Google)
https://chromiumcodereview.appspot.com/10832292/diff/2001/runtime/vm/code_descriptors.h File runtime/vm/code_descriptors.h (right): https://chromiumcodereview.appspot.com/10832292/diff/2001/runtime/vm/code_descriptors.h#newcode68 runtime/vm/code_descriptors.h:68: explicit StackmapTableBuilder(intptr_t entry_length_in_bits) : On 2012/08/15 14:17:37, Vyacheslav Egorov ...
8 years, 4 months ago (2012-08-15 14:41:31 UTC) #5
srdjan
8 years, 4 months ago (2012-08-15 22:17:08 UTC) #6
DBC

https://chromiumcodereview.appspot.com/10832292/diff/2001/runtime/vm/code_des...
File runtime/vm/code_descriptors.h (right):

https://chromiumcodereview.appspot.com/10832292/diff/2001/runtime/vm/code_des...
runtime/vm/code_descriptors.h:86: intptr_t entry_length_in_bits_;
const

Powered by Google App Engine
This is Rietveld 408576698