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:56:08 +0000 (14:56 -0700)
commitd39645e22b8db1767cf64dc1200a9e4b2f939ed2
treefd6488a428600f222c5a411e91ed9f1f3a280b05
parent15306dcd03208f062737239753ab1eccfe91403f
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.

(cherry picked from commit fac3a390a247fe33d4873773d742aad4cc100118)

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