Age | Commit message (Collapse) | Author |
|
Change-Id: Ia49849c537200f6bdc06025c1ff7fbe46486a94e
|
|
Change-Id: Iaf48868208da271af8b4536f089c44bf4412cc9e
|
|
s-keystone-qcom-release
Change-Id: I2a4ed6e10234e5d7c5a3af6983567140631b6127
|
|
Change-Id: If047708942d1bf78a01c5449539d824ca31c6f1e
|
|
s-keystone-qcom-release
Change-Id: I5053cbf9ad9e0aab97fc39d1d19505e0bb2936cb
|
|
Change-Id: Ie30e6decc687dd07c62f61760ea1900c619d6ce0
|
|
s-keystone-qcom-release
Change-Id: I02461e3e77063d9f612be73d2aa60ed6caf606d7
|
|
Change-Id: Icd1f32d5d274239e323872ccd98a69f5b83add9b
|
|
Change-Id: I2045dd5cfdc76b61e1989fa0e2d238c5e6affc91
|
|
Because we now protect the mappings before creating the executable one,
we need to also allow PROT_EXEC on an ashmem region.
Test: manually change code to use ashmem, build, see that JIT is
created.
Bug: 202999239
Merged-In: I9f2944c45f4ff607c7e341552c82138bfe13cca4
(cherry picked from commit 8c63ce27d4d3e87f535769976e9b9185fa372b9b)
Change-Id: I8a5e9655e6c40404389344e78c21b0ebd5a1a4b9
(cherry picked from commit 94e2fc9465e9a2c9d62902b09ed9a18d9250ccd8)
|
|
Change-Id: Icf785f6fcbfec66546d7a744294af20a322f4c74
|
|
Because we now protect the mappings before creating the executable one,
we need to also allow PROT_EXEC on an ashmem region.
Test: manually change code to use ashmem, build, see that JIT is
created.
Bug: 202999239
Merged-In: I9f2944c45f4ff607c7e341552c82138bfe13cca4
(cherry picked from commit 8c63ce27d4d3e87f535769976e9b9185fa372b9b)
Change-Id: I8a5e9655e6c40404389344e78c21b0ebd5a1a4b9
(cherry picked from commit 94e2fc9465e9a2c9d62902b09ed9a18d9250ccd8)
|
|
Change-Id: I441cf404b886ac4dc0fb76602117269657282cda
|
|
s-keystone-qcom-release
Change-Id: I920762bdd9629fb9a6db41f2b55466f5992d1ad4
|
|
sc-qpr1-release
Change-Id: Idb694197685a3a855e9f8dc1d18c8385ef3fb5e1
|
|
sc-qpr1-d-release
Change-Id: Ia2aa109dbac73beaf7feeebfced89ebeca20bb95
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/art/+/15951443
Change-Id: Ide27dbe61bff2affd67a3cb02fc1bc09dfb2f393
|
|
To ensure we don't create mappings that can later be turned into
writable mappings.
Ignore-AOSP-First: b/200284993
Test: jit_memory_region_test
Test: device booting
Bug: 200284993
Change-Id: I5160e61d287207563af57b71d50b08364ca892a0
|
|
Change-Id: Iaf4bb73cf665ece167027bf375605ea70dd16975
|
|
s-keystone-qcom-release
Change-Id: Ib8c175570a419896714ed5090a10117c8f9e2ded
|
|
When ART is mainline, it will create memFd boot-image-methods.art
without MFD_CLOEXEC.
Add MFD_CLOEXEC flag when create boot-image-methods.art memFd.
Bug: 197498527
Test: run cts CtsSecurityTestCases pass
CRs-Fixed: 3034193
Change-Id: If941c036f7adb598d67ec2b2c5bc4cb24994e3a1
(cherry picked from commit 3326fcea1ead5d5d360a053704faad27b6dd8c40)
|
|
When ART is mainline, it will create memFd boot-image-methods.art
without MFD_CLOEXEC.
Add MFD_CLOEXEC flag when create boot-image-methods.art memFd.
Bug: 197498527
Test: run cts CtsSecurityTestCases pass
CRs-Fixed: 3034193
Change-Id: If941c036f7adb598d67ec2b2c5bc4cb24994e3a1
(cherry picked from commit 3326fcea1ead5d5d360a053704faad27b6dd8c40)
|
|
sc-qpr1-release
Change-Id: Ie117abb1c82ff0546660283111b0c20d90624407
|
|
Standalone ART gtests used to be installed in the same directory on
device (`/data/local/tmp/nativetest`), which could be a race
condition. In particular, some ART gtests are run as root
(e.g. `art_standalone_dexoptanalyzer_tests`) and create the
`/data/local/tmp/nativetest` directory with `root`
ownership/permissions, preventing any subsequent ART gtest not run as
root (e.g. `art_standalone_cmdline_tests`) from installing its
artifacts in that directory.
To prevent these issues, use a different directory on device (under
`/data/local/tmp`) per standalone ART gtest.
(cherry picked from commit d8c0ac264f606bf0c69781388ca6048eb0a4b55f)
(cherry picked from commit 58a79873e94dbe4a168221fc95b641dbf8cd3e3e)
Test: atest art_standalone_dexoptanalyzer_tests \
&& atest art_standalone_cmdline_tests
Test: atest art_standalone_\*_tests
Bug: 194403904
Bug: 162834439
Change-Id: I141c1676382b078c1441e5782b3dc77affafa3fc
Merged-In: I141c1676382b078c1441e5782b3dc77affafa3fc
|
|
group `presubmit`." am: c57043bb4b -s ours
am skip reason: Merged-In Ibfcf212a4bc3094ca74f8f3c0f98469810c6ea19 with SHA-1 66372d2c44 is already in history. Merged-In was found from reverted change.
Reverted change: https://googleplex-android-review.googlesource.com/c/platform/art/+/15241579
Original change: https://googleplex-android-review.googlesource.com/c/platform/art/+/15843431
Change-Id: I684f7c72ba2a2ed427275f144d9d61600124fdf0
|
|
group `mainline-presubmit`." am: 1eb37aaa03 -s ours
am skip reason: Merged-In Ibfcf212a4bc3094ca74f8f3c0f98469810c6ea19 with SHA-1 66372d2c44 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/art/+/15836038
Change-Id: Icbb80531e1c3c1f712d41a0b6398462435220e25
|
|
This reverts commit 66372d2c444b1badaa0e3972001dea3f31c0d339.
Reason for revert: Some standalone ART gtests are failing in presubmits
when built from sources where the Oat file version has been updated
-- compared to current prebuilt ART APEXes -- and run against such a
prebuilt ART APEX, that does not include that Oat version change.
Test: Rely on TreeHugger presubmits
Bug: 193218514
Bug: 152379281
Bug: 194403904
Change-Id: I88a9e7801dcc98940209d361af385bdcbb6e5099
Merged-In: Ibfcf212a4bc3094ca74f8f3c0f98469810c6ea19
|
|
This reverts commit 506b64c3b001dc32c59b8e63ce2e6d6cf4451fcb.
Reason for revert: Some standalone ART gtests are failing in presubmits
when built from sources where the Oat file version has been updated
-- compared to current prebuilt ART APEXes -- and run against such a
prebuilt ART APEX, that does not include that Oat version change.
Test: Rely on TreeHugger presubmits
Bug: 193218514
Bug: 152379281
Bug: 194403904
Change-Id: I6166e7146a4bd07fce8acde381caa9a741ecc254
Merged-In: Ibfcf212a4bc3094ca74f8f3c0f98469810c6ea19
|
|
sc-qpr1-release
Change-Id: I34d98015835da8844fef7af2a00179dcab901db4
|
|
This means we need to stop the lookup, as an exception is pending.
(cherry picked from commit 36d182089a4ced3603c7cdcb61b2d92a5a76a471)
Test: 831-unverified-bcp
Bug: 195766785
Merged-In: I8aa65f6bbaae83eff0be7ca5d82e0c0a548b5b60
Change-Id: I3e414f75e7081eb93b8cb5af89859d25492edf10
|
|
sc-qpr1-release
Change-Id: Idb3657e56e56565e1dee81deb1f2fe899ef6d04b
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/art/+/15836008
Change-Id: I0de7810c1afb28ca44a418b448fb413d8823fc48
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/art/+/15836007
Change-Id: Ic2e1ca7735ef01cd02a3c58e798d5a095b07bc15
|
|
This will ensure we don't take any .oat file that has the bogus
generated code.
(cherry picked from commit 776a1c1447be1e504c2013c5d170d08ef4907d7f)
(cherry picked from commit 8246b0cbfd4c5e19596e2dac0c1377c56f444d5f)
Test: test.py
Bug: 197981962
Merged-In: Ic14d18d310bdcd408c1f6e2777ef53a041fb2f12
Change-Id: Ic66ee1998f490c15b95279f3b4881f9581772190
|
|
s-keystone-qcom-release
Change-Id: I6a41feedf108994ccb8497b6d339f77940be6d00
|
|
Change-Id: I3f8dd6898857d8add033324dba2d7e37d829b73a
|
|
Change-Id: I996faf0c86c4d2fbe48d3b28c38156f0b8541345
|
|
Due to a bug in it. Add a regression test.
(cherry picked from commit 18074d2b59ae56dcfccea770ceb515215c8eb53f)
(cherry picked from commit a38b7355a603772424a8212840849094ce0ddeb3)
Bug: 197818595
Test: 828-partial-lse
Merged-In: I65da4f7ef09cd2a1f6c4b21799ecd7a42c1adac2
Change-Id: I3eb52dc091264e617bb711260fb4950d15c7f50b
|
|
sc-qpr1-release
Change-Id: I44559e16534133a93fe580999895e4ffbfd41b3c
|
|
This will ensure we don't take any .oat file that has the bogus
generated code.
(cherry picked from commit 776a1c1447be1e504c2013c5d170d08ef4907d7f)
(cherry picked from commit 8246b0cbfd4c5e19596e2dac0c1377c56f444d5f)
Test: test.py
Bug: 197981962
Merged-In: Ic14d18d310bdcd408c1f6e2777ef53a041fb2f12
Change-Id: Ic66ee1998f490c15b95279f3b4881f9581772190
|
|
Due to a bug in it. Add a regression test.
Bug: 197818595
Test: 828-partial-lse
(cherry picked from commit 18074d2b59ae56dcfccea770ceb515215c8eb53f)
(cherry picked from commit a38b7355a603772424a8212840849094ce0ddeb3)
Merged-In: I65da4f7ef09cd2a1f6c4b21799ecd7a42c1adac2
Change-Id: I3eb52dc091264e617bb711260fb4950d15c7f50b
|
|
sc-qpr1-release
Change-Id: Ib5b7ed76aabdc23e2d5ca6c37cf7c4230b03e4fe
|
|
A subgraph could also have an infinite loop.
Test: 826-inifinite-loop
Bug: 196246395
Merged-In: Ifd1e1ae0f42dfe2cc156386fc166101c20748fc9
(cherry picked from commit 96dadefd24331f6808cb287048269ba772423c33)
Change-Id: I410ec26aefbc42629ba7dbe5a19a87399cefe396
(cherry picked from commit 1c7eeae26429bf76c47a1eaf6eddf514c000ba71)
|
|
It's unclear yet why the vdex files are being corrupted. But system
server, which is reading these vdex files should be robust to any vdex
corruption.
Bug: 199309980
Bug: 199395272
Test: test.py
(cherry picked from commit a74a7071490e47e1b5590cc19726f1620fd0ee43)
(cherry picked from commit a35586522fd398fb2845a9ae8427aa4853f155be)
Merged-In: Ia85ab8b23a0be4069cfa058a86fdf561f1ceb432
Change-Id: I558238fd7cc0d7bc2f89f989ad53db8eb7a2eb24
|
|
sc-qpr1-release
Change-Id: I9ffcba7c901725f333c9bd3a9c7e59fa3763ac92
|
|
Bug: 196334695
Test: m
Change-Id: Id87cfc30957baa5e575947fc69d6f307e843dcf8
Merged-In: Id87cfc30957baa5e575947fc69d6f307e843dcf8
(cherry picked from commit e261356db98dc27bcec4048b3eaf9834864169aa)
(cherry picked from commit 977054f46299a940e4db186a99f91b14dd735576)
|
|
sc-qpr1-release
Change-Id: I11e107ff8b1ad17d3c2bf88944c83c569469ab8d
|
|
Also add a note that libdexfile_support users also need to depend on
libdexfile.
Manual cherry-pick from https://r.android.com/1810837.
Ignore-AOSP-First: Cherry-picked from AOSP
Test: m droid
Bug: 197856821
Bug: 169779783
Change-Id: I80162942a6557b0309ccde28c058cdf66c1fa250
Merged-In: I80162942a6557b0309ccde28c058cdf66c1fa250
|
|
sc-qpr1-release
Change-Id: I610491001866cec4160fbbd7af1d10e5759d74d2
|
|
Disabling weak-ref access in ConcurrentCopying collector can lead to
deadlocks. For instance, if mutator M1 acquires W1 mutex and then
participates in the checkpoint and then gets blocked in getReferent(),
waiting for the gc-thread to finish reference processing. Mutator M2
waits for M1 to release W1 so that it can acquire the mutex before
participating in the checkpoint. On the other hand, GC-thread waits
for M2 to finish checkpoint.
A STW pause avoids the deadlock by ensuring that mutators are not
blocked on weak-ref access before the pause, and GC-thread can make
progress after the pause in reference processing.
Bug: 195336624
Bug: 195261575
Test: art/test/testrunner/testrunner.py
Merged-In: I03d6bcd4d53f37ec84064edd8292951d30f48eaf
Change-Id: I03d6bcd4d53f37ec84064edd8292951d30f48eaf
(cherry picked from commit 555eefef9a27995ef341cdf44ed60c61953e2e3f)
(cherry picked from commit 16f1ef2d09e82d419a2a51ac3d7f7fb7e9553dd1)
|