OSDN Git Service

Separate maps from code in oat file.
authorVladimir Marko <vmarko@google.com>
Tue, 8 Apr 2014 13:00:50 +0000 (14:00 +0100)
committerVladimir Marko <vmarko@google.com>
Tue, 22 Apr 2014 16:50:49 +0000 (17:50 +0100)
commit96c6ab93336b972a38bd2448bcccf19188b8389b
tree87c4904182d6b087e59a7c18d4a6b5b42275ef45
parent82b1a81890970a8b07f9132aeae537a6c43df6b0
Separate maps from code in oat file.

Write all GC maps first, then all mapping tables and then
all vmap tables and only then align the offset to page size
and write all method code chunks with headers.

Bug: 11767815
Change-Id: Ic83555c8303c5be119afc43e95e58c0a32ff2a4f
compiler/oat_writer.cc
compiler/oat_writer.h
runtime/mirror/art_method-inl.h
runtime/mirror/art_method.h
runtime/oat.cc
runtime/oat.h