Commit 885a7133 authored by Mathieu Chartier's avatar Mathieu Chartier
Browse files

Add support for profiling boot class path

Added a runtime option -Xps-profile-boot-class-path that makes the
profile saver take samples for the boot dex files. The motivation is
to use this for improving boot image creation.

Added test case to test 595.

Test: adb shell setprop dalvik.vm.extra-opts "'-Xusejit:false -Xint -Xps-profile-boot-class-path -verbose:profiler'"
Test: Pull profile and look at output
Test: test-art-host
Test: test/run-test --host 595-profile-saving

Bug: 37966211

(cherry picked from commit 08fee9c7)

Change-Id: Id95de103ed14841d9c209946ea7f1c4f6b5d23a5
parent 16d59b2b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment