summaryrefslogtreecommitdiff
path: root/compiler/export/jit_create.h
AgeCommit message (Collapse)Author
2023-10-17Revert^4 "Merge libart and libart-compiler into a single library" Dmitrii Ishcheikin
This reverts commit 61b1c151163a09ad49c0b74c19ee84caeb4d0345. Reason for revert: reland with dex2oat PGO removed. Previous attempts at merging libart-compiler into libart showed some performance regressions, which were caused by incompatibilities between AFDO and PGO optimization pipelines when used within a single library. This change removes dex2oat PGO and leaves only AFDO for libart.so. Change-Id: I75a844f53663385ef98351f60d3adb900157f5e5 Bug: 303042202 Bug: 186902856 Test: art/test.py -b --host Test: atest art_standalone_\*_tests Test: art/build/apex/runtests.sh Test: atest art-apex-update-rollback Test: (chroot) art/tools/run-gtests.sh -j4 Test: (chroot) art/test/testrunner/testrunner.py --target Test: (chroot) art/tools/run-libcore-tests.sh --mode=device Test: (chroot) art/tools/run-libjdwp-tests.sh --mode=device
2023-08-23Revert^3 "Merge libart and libart-compiler into a single library" Dmitrii Ishcheikin
This reverts commit 4617cc65933921f40b8dd09ad630850a984486c7. Reason for revert: app startup regressions b/296703167 b/295363008 Change-Id: Ib31df00f80c57b9c86d6d0254e795b9ad6e22e00
2023-08-18Revert^2 "Merge libart and libart-compiler into a single library" Dmitrii Ishcheikin
This reverts commit da43e436c6586253144febfb2700c67214c46a62. Reason for revert: reland after investigating regressions Change-Id: I1ff91c08808f81a5e027cc7110d130e8518ac704
2023-07-28Revert "Merge libart and libart-compiler into a single library" Dmitrii Ishcheikin
This reverts commit 35cca3e296346277422aaee030edced697e09319. Reason for revert: perf regression b/293406139 Change-Id: I34693a930a68c06300b51f75e60c8b724903f938
2023-07-26Merge libart and libart-compiler into a single library Dmitrii Ishcheikin
Rename old libart to libart-runtime. Build libart-runtime and libart-compiler separately as static libraries. This is required to support PGO (compiler) and AFDO (runtime) without mixing them. Combine libart-runtime and libart-compiler into libart with whole-archive linking. Remove JitLoadTest, since `jit_create` (previously `jit_load`) function is guaranteed to exist in `libart`. After this change libart-compiler will have access to all libart-runtime symbols. This will allow to hide more symbols from libart-runtime. ART APEX size before and after: X86 : 29,748.00 KiB -> 29,648.00 KiB (-100.00 KiB, -0.34%) X86_64: 49,148.00 KiB -> 48,928.00 KiB (-220.00 KiB, -0.45%) Arm32 : 23,440.00 KiB -> 23,268.00 KiB (-172.00 KiB, -0.73%) Arm64 : 44,472.00 KiB -> 43,884.00 KiB (-588.00 KiB, -1.32%) Bug: 186902856 Test: art/test.py -b --host Test: atest art_standalone_\*_tests Test: art/tools/run-gtests.sh Test: art/test/testrunner/testrunner.py --target Test: art/tools/run-libcore-tests.sh --mode=device Test: art/tools/run-libjdwp-tests.sh --mode=device Test: m mts && mts-tradefed run commandAndExit mts-art Test: m libart-compiler libartd-compiler libart-runtime libartd-runtime libart libartd Test: art/build/apex/runtests.sh (no regressions) Test: atest art-apex-update-rollback (no regressions) Change-Id: I20bd2fcca26013963a48e933142c9f81883bdca4