OSDN Git Service
(root)
/
android-x86
/
art.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c6233c
)
Enable compiled-methods= dex2oat switch
author
Wojciech Staszkiewicz
<staszkiewicz@google.com>
Tue, 9 Aug 2016 21:30:55 +0000
(14:30 -0700)
committer
Wojciech Staszkiewicz
<staszkiewicz@google.com>
Tue, 9 Aug 2016 23:52:37 +0000
(16:52 -0700)
Pass compiled_methods instead of nullptr from dex2oat to
compiler driver.
Test: Run dex2oat with compiled-methods and dump-passes
set. Look at the dump-passes output and verify that only
methods provided in compiled-methods are compiled.
Change-Id: Ic7249878f7bde5fdb18f9cc348b7ba82de486df8
dex2oat/dex2oat.cc
patch
|
blob
|
history
diff --git
a/dex2oat/dex2oat.cc
b/dex2oat/dex2oat.cc
index
eb11f6d
..
cfcfe1c
100644
(file)
--- a/
dex2oat/dex2oat.cc
+++ b/
dex2oat/dex2oat.cc
@@
-1576,7
+1576,7
@@
class Dex2Oat FINAL {
IsAppImage(),
image_classes_.release(),
compiled_classes_.release(),
-
/* compiled_methods */ nullptr
,
+
compiled_methods_.release()
,
thread_count_,
dump_stats_,
dump_passes_,