OSDN Git Service

Move image intern table into image
authorMathieu Chartier <mathieuc@google.com>
Wed, 10 Jun 2015 00:50:29 +0000 (17:50 -0700)
committerMathieu Chartier <mathieuc@google.com>
Thu, 11 Jun 2015 21:25:14 +0000 (14:25 -0700)
commitfac3a390a247fe33d4873773d742aad4cc100118
treecbb28b86470827e42d919e144efc914296c799ee
parent21cb657159b3e93cc888685ade83f8fc519290be
Move image intern table into image

Previously we recreated this intern table during runtime startup.
This added 50-100ms of boot time.

Fixed bug where we didn't copy over hashcodes into the image.

Deleted some stale code.

Bug: 20727525
Bug: 19569780
Change-Id: I08959e9aa2a73cedb52f393033e2ffea3a26e76b
15 files changed:
compiler/image_writer.cc
compiler/image_writer.h
oatdump/oatdump.cc
patchoat/patchoat.cc
patchoat/patchoat.h
runtime/base/hash_set.h
runtime/class_linker.cc
runtime/gc/accounting/space_bitmap-inl.h
runtime/gc/accounting/space_bitmap.cc
runtime/gc/accounting/space_bitmap.h
runtime/gc/space/image_space.cc
runtime/image.cc
runtime/image.h
runtime/intern_table.cc
runtime/intern_table.h