Is preloaded-class generator support in ART mode?

12 views
Skip to first unread message

昱超許

unread,
May 31, 2017, 11:11:35 AM5/31/17
to android-platform
Dear all

As I know the preloaded-class can be generated by the tool in /frameworks/base/tools/preload
But it need to enable the log in dalvik/vm/oo/Class.cpp (#define LOG_CLASS_LOADING 1)
Then grep the logcat.txt and use preload.jar to generate it.

java -cp preload.jar Compile logcat.txt logcat.compiled
java -cp preload.jar WritePreloadedClassFile logcat.compiled

However, the dalvik is no longer support in current Android version,
but I didn't find where to enable the log for preload using.
Does anybody know this?

BR,
YuChao.
Reply all
Reply to author
Forward
0 new messages