aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/CompilerCodegen.h
diff options
context:
space:
mode:
authorCarl Shapiro <cshapiro@google.com>2010-12-09 15:24:11 -0800
committerCarl Shapiro <cshapiro@google.com>2010-12-09 15:24:15 -0800
commit212607156602876fe3af6aebce8798628d4a8410 (patch)
tree74239257a017cc9540cd41c6c2614ff316b093af /vm/compiler/codegen/CompilerCodegen.h
parent1c3e0976b756232d93d02f71ec1f1d4c2a79d3b3 (diff)
Kill dvmHeapSourceGetObjectBitmaps and aliasBitmaps.
In the beginning separate mark bitmaps and live bitmaps were kept for each of the three heaps. Later, all heaps were allocated adjacent to one another from a single contiguous tract of virtual memory. As such, summary data structures such as the card table, mark bitmap, and live bitmap, were similarly allocated from individual blocks of memory instead of sparsely for each heap. While the summary structures were changed, the sweeping routine was left to assume separate bitmaps. In fact, the aliasBitmap hack was added to continue the fiction of small bitmaps for each of the heaps. It would have been preferable to change the sweeping routine, but that routine was greatly entangled with generalities. Fortunately, those entanglements have since been eliminated. This change updates the sweeping routine to operate on memory address ranges instead of whole bitmaps, obsoleting aliasBitmaps and its sole caller. The bitmap sweep routine now receives a range of addresses for sweeping. This range may span the entire bitmap or any contiguous range within the span of the bitmap. Change-Id: Iae206032738d6cad77e0625d27ae7b7d6551890d
Diffstat (limited to 'vm/compiler/codegen/CompilerCodegen.h')
0 files changed, 0 insertions, 0 deletions