OSDN Git Service

ART: Refactor oat_file.h/cc for better maintainability
authorAndreas Gampe <agampe@google.com>
Wed, 2 Dec 2015 07:27:12 +0000 (23:27 -0800)
committerAndreas Gampe <agampe@google.com>
Wed, 2 Dec 2015 18:30:28 +0000 (10:30 -0800)
commit049cff0ed5e28aa17a17e456efe3121b6d58910f
tree995c2cf8359f9638c6a5832482e4e5365a8f25c6
parentf4c539395244ccfc14aebaf53fdc1122287f65a6
ART: Refactor oat_file.h/cc for better maintainability

Refactor the code so that generic oat file initialization (checking
ART symbols etc) is common between dlopen and ART's ElfFile
implementation. Reduce methods and fields exposed in the oat_file
header.

Change-Id: I5bf65dd8b7047a007c6bf435b55bdde306595e8d
runtime/oat_file.cc
runtime/oat_file.h
runtime/runtime.cc