Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

art: 提交列表

art


RSS
Rev. 时间 作者
ce54870 nougat-x86 android-x86-7.1-r3 android-x86-7.1-r4 android-x86-7.1-r5 2019-10-16 22:51:08 Chih-Wei Huang

Android 7.1.2 Release 39 (5787804)
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCXZfNfQAKCRDorT+BmrEO
eNtkAJ0aEx+AwZB82lS3iaAWZmRKgNlB/QCgjcvlMeVjK9JHPlDgmef5ak8pIY8=
=+PVX
-----END PGP SIGNATURE-----

Merge tag 'android-7.1.2_r39' into nougat-x86

Android 7.1.2 Release 39 (5787804)

8602eda 2019-06-11 03:35:23 Calin Juravle

Use conservative permissions when creating files in ART

Use 644 permissions by default so that only the owner has write-rights.

Bug: 130821293
Test: host run-test & gtest
Merged-In: Ic4dae399a5bfe862aff3d8614c45b38044d805db
Merged-In: I09eab9749d1ce5872ecaf7d5a80fc45c9c708853
Change-Id: I09eab9749d1ce5872ecaf7d5a80fc45c9c708853
(cherry picked from commit e69642936ef28e09970e8a3abb36f31e3d7d17bf)

39e967c android-x86-7.1-r1 android-x86-7.1-r2 2017-08-11 19:39:45 Andreas Gampe

ART: Change main-thread thread paging scheme

Modify the code that ensures we can install a stack guard page into
the main thread.

A recent kernel change means that our previous approach of using a
free pointer does not work. It is important to actually extend the
stack properly. For portability, use a function with a large stack
frame (suggested by and adapted from hboehm).

Bug: 62952017
Test: m
Test: m test-art-host
Test: Device boots (x86_64 emulator)
Test: Device boots (bullhead)
Change-Id: Ic2a0c3d6d05a1ea9f655329d147b46949e1b9db3

f9e3754 2017-02-10 05:09:03 Andreas Gampe

Revert "Revert "ART: Give JIT thread pool workers a peer""

This reverts commit 9dfb707ba2f8c2ff67d42c26e3214f5d7142b6d3.

Accept a live Java thread for the JIT, and adjust the tests
accordingly.

(cherry picked from commit 4471e4f7c5874bdaf93762b6047d4a4bebc465df)

Bug: 31684920
Test: m ART_TEST_JIT=true ART_TEST_INTERPRETER=true test-art-host
Change-Id: I92cbae1eaae05711b9069335cf1a5f7eb58b9fd8

2db6c40 2017-02-09 00:58:51 Andreas Gampe

ART: Add ThreadPool mode that creates peers

Add a mode where worker threads in a thread pool will get a Java
peer. Add a test.

(cherry picked from commit b15de0c0580633701c19c32bb60bcd64f30da867)

Bug: 29547798
Bug: 31684920
Test: m test-art-host-gtest-thread_pool_test
Change-Id: I3654cc2be1294a79881b6ac9f84445a1e7f24b70

f5f462b 2017-02-08 09:51:29 Calin Juravle

Add Thread entry to signal if the thread can call into java

Compiler threads (AOT or JIT) should not call into Java as they have no
peers (which may lead to crashes, e.g. b/33067273)

(cherry picked from commit ccd56958eb46fbb00c1eb45c7a7b23d5bbfd7698)

Bug: 32602185
Bug: 33067273

Test: m test-art-host-run-test; m test-art-host-gtest
Change-Id: I97dda7a5444643db3c5d5318339a65a602f709e8

3f3d4d6 2017-01-23 18:02:15 Artem Udovichenko

Cache flush/invalidate needs RWX permission

When generating JIT code, perform cache maintenance operations before
removing page write permissions. Errata on some cores require data
flush operations to be followed by data invalidate operations
requiring write permission.

Test: ART_TEST_JIT=true test-art-target on an arm64 device.
bug: 27265969

(cherry picked from commit b18a669259aa6ba08d9ca01b5b32c1aa0417138b)

Change-Id: I53080c664f9e7cfebe25f87cf6a45cd6eb33b281

61049e8 2017-01-21 04:32:47 Mathieu Chartier

Delete extra arm64/mips64 MterpReturn suspend check

Doing a suspend check after moving the result into the shadow frame
result_register_ is not safe since result_register_ is not a GC
root. The suspend check is unnecessary since the opcodes that branch
to MterpReturn already do a suspend check.

This could maybe explain one crash for CC that was seen after calling
a getter that had no compiled code.

The extra suspend check appears to only be present on arm64 amd mips64.

Test: test-art-target ART_TEST_INTERPRETER=true, N5X booting

(cherry picked from commit aceff18580b94a586a469110565f2ba166f3635a)

Bug: 33211261
Change-Id: I70b8863f40a25a26f278ac8ef0d57e083b663e0f

2f3fb4d 2017-01-06 10:36:38 Mathieu Chartier

Merge "Add visiting for class loaders in StickyMarkSweep" into nyc-mr2-dev

40d4c76 2017-01-06 08:21:20 neo.chae

Add visiting for class loaders in StickyMarkSweep

StickyMarkSweep clear the mark stack,
Because all reachable objects must be referenced by a root or a dirty card.
But, there are some marking hole for class object.

If some object is marked and the object and it's class object is not dirty,
Then class object cannot be marking by card table.

In previous OS including mashmellow,
Class table was maintaned by class linker
and all class object was marked with kVisitRootFlagAllRoots flag.

In N OS,
Class object is not marked with kVisitRootFlagAllRoots.
So, I added new flag to mark class object and using it StickyMarkSweep.

Added regression test in 141-class-unload.

Test: test-art-host
Merged-In: I57599e6db53b260f4c5ef466b63962141b8da5c3

(cherry picked from commit a2d1b28599e38ee0180f0f7130a879eac5be9dec)

Bug: 33924225

Change-Id: I57599e6db53b260f4c5ef466b63962141b8da5c3
Signed-off-by: Hyangseok Chae <neo.chae@lge.com>

9d5d85e 2017-01-06 04:09:38 Mathieu Chartier

Revert "Revert "Prune uses library classes even without profile DO NOT MERGE""

No evidence that the fix was causing crashes.

Bug: 33718412
Bug: 30688277
Bug: 31427727

This reverts commit fc9bec20893d50f9c92c7c25845f2f425f4de052.

Test: test-art-host

Change-Id: Ib05e9a3ac6079ac246cb2ff00ea133aeddf5cbf3

a03ed24 2016-12-20 04:57:09 Griff Hazen

Revert "Prune uses library classes even without profile DO NOT MERGE"
am: fc9bec2089

Change-Id: I7037166ff62642a6c75438d59182ba8ccaf111a6

fc9bec2 2016-12-20 03:15:53 Griff Hazen

Revert "Prune uses library classes even without profile DO NOT MERGE"

This fix may be causing other crashes e.g. b/33718412.

Bug: 33718412
Bug: 30688277
Bug: 31427727

This reverts commit 8394cee5f0f87ddeeb8f33c199fa21e0cdee9073.

Change-Id: Ie19ece9d8ae1afef8b578482fae1cdbd35ff930d

e737165 2016-12-16 10:20:02 Mathieu Chartier

Merge "Prune uses library classes even without profile" into nyc-mr2-dev

dfd17f1 2016-12-16 10:05:59 Mathieu Chartier

Prune uses library classes even without profile

The previous pruning relied on the classes being pruned from the
profile, and then using the profile to prune classes. If there was
no profile, the uses library classes were incorrectly left unpruned.

Leaving these classes unpruned caused aborts during compilation.

Bug: 30688277

Test: adb shell dex2oat --runtime-arg -classpath --runtime-arg /system/framework/com.google.android.maps.jar --dex-file=/data/app/comb.BBClient-1/base.apk --dex-location=/data/app/comb.BBClient-1/base.apk --oat-file=/data/app/comb.BBClient-1/oat/arm/base.odex --app-image-file=/data/app/comb.BBClient-1/oat/arm/base.art --image-format=lz4 --compiler-filter=speed

(cherry picked from commit c27bc405312845bda4e25cd24e93211dfc7d7308)

Change-Id: I261b8894847b5b0a4f7330f49666e823a1b38bb0

f22e9f6 2016-12-15 14:54:01 Mathieu Chartier

Prune uses library classes even without profile DO NOT MERGE
am: 8394cee5f0

Change-Id: I20a21470cee6c52c50b5ed04ec13c3e17528770a

8394cee 2016-12-15 07:31:08 Mathieu Chartier

Prune uses library classes even without profile DO NOT MERGE

The previous pruning relied on the classes being pruned from the
profile, and then using the profile to prune classes. If there was
no profile, the uses library classes were incorrectly left unpruned.

Leaving these classes unpruned caused aborts during compilation.

Cherry picked from https://android-review.googlesource.com/#/c/312750/

Bug: 30688277
Bug: 31427727

Test: adb shell dex2oat --runtime-arg -classpath --runtime-arg /system/framework/com.google.android.maps.jar --dex-file=/data/app/comb.BBClient-1/base.apk --dex-location=/data/app/comb.BBClient-1/base.apk --oat-file=/data/app/comb.BBClient-1/oat/arm/base.odex --app-image-file=/data/app/comb.BBClient-1/oat/arm/base.art --image-format=lz4 --compiler-filter=speed

Change-Id: I261b8894847b5b0a4f7330f49666e823a1b38bb0

2b25ca9 2016-11-30 17:59:56 Sebastien Hertz

Fix event reporting from the debugger thread

The debugger thread may trigger events (like CLASS PREPARE after the
initalization of a class while processing a command).

This CL removes the incorrect CHECK that makes the runtime abort in
this case. However, we do check that only the debugger thread can
report an event while it is already processing a command.

Bug: 33032664
Test: art/tools/run-jdwp-tests.sh '--mode=host' '--variant=X64'

(cherry picked from commit af8bcf83535cd7bf5651ada2fb08a0ba9c5191d6)

Change-Id: Id2e4362393203935e820586560800b300c6dd3a3

b33635d 2016-11-18 08:11:53 Andreas Gampe

ART: Prioritize reference table dump

Sort the reference table summary dump by highest count, prioritizing
repeated types and instances. This will help with triaging leaks.

Add a test.

(cherry picked from commit 6e970e7fa88efd5ee38b0d6f9010a3985c62778f)

Bug: 32857749
Test: m test-art-host-gtest-reference_table_test
Merged-In: Id9c7a118c36c06c7510b13c2a51e63f08a27c564
Change-Id: I7e61881b5badf9ac2b6b72333f31437ab498caee

2a539ab 2016-10-18 00:27:26 Brian Carlstrom

Ensure OpenDexFilesFromImage closes file to prevent file descriptor leak
am: 645e477c2c

Change-Id: I071d7c8a53641981673387295c51757e5e18e635

645e477 2016-10-15 08:51:27 Brian Carlstrom

Ensure OpenDexFilesFromImage closes file to prevent file descriptor leak

Test: m -j32 test-art-host
Bug: 32095919
Change-Id: I44541edeb403a508e1b9794ee09fb1f55e3f42bf

f7fe4ed 2016-10-05 11:31:13 Andreas Gampe

ART: Reprint long messages on abort
am: 47d522b27f

Change-Id: I0b82fa7b714688b9971eae9c7711821a2c0b32b2

96527e3 2016-10-05 11:31:06 Andreas Gampe

ART: Clean up IRT-related abort messaging
am: 15b7c90ab8

Change-Id: I9a5f61d7d6952f88ea457e15365e19cc13071844

47d522b 2016-10-05 09:38:46 Andreas Gampe

ART: Reprint long messages on abort

Add an abort message parameter to Runtime::Abort. In case the message
is multiline (and will thus not be completely preserved in the
Android abort reason), reprint the message after all threads have
been dumped.

Bug: 31893081
Test: m test-art-host
Change-Id: I65bc77691fec79f7c868a90d6132805fcc91e473
(cherry picked from commit 90a32b16feb58d4edf932fdcb6a070be3418e365)

15b7c90 2016-10-05 04:08:35 Andreas Gampe

ART: Clean up IRT-related abort messaging

Change AbortIfNoCheckJNI to take the abort message as a parameter.
This way it can be passed down.

Bug: 31893081
Test: m test-art-host
Change-Id: Ib24c7060f1b32c9613ab84e6c1966082c866bc14
(cherry picked from commit f1e8630fe8eab89e61e9f0a97135ae7c9d38ce23)

c7e8eca 2016-09-29 07:09:05 Alex Light

DO NOT MERGE: Update Oat version to 088
am: ae444410cc

Change-Id: I44f82f443b449733dadbc1e262aac83a782c76a5

ae44441 2016-09-29 03:48:50 Alex Light

DO NOT MERGE: Update Oat version to 088

Give N-MR1 a different oat version to prevent compatibility problems
with NYC.

Bug: 31789675
Test: mma test-art-host
Test: Phone boots and runs apps
Change-Id: I6a922e8ac932dbf36a19431c4f34c2ace6f34609

d6a77d2 2016-09-28 15:46:04 Andreas Gampe

ART: Dump referenced type in IRT overflows
am: 280f32b095

Change-Id: I6dedb3915fd67c08e45218892a7c909d397d9733

280f32b 2016-09-28 10:45:02 Andreas Gampe

ART: Dump referenced type in IRT overflows

When the runtime dumps a reference table, e.g., when aborting for
an overflow, dump the type of stored referents for reference types
to aid in debugging leaks.

Bug: 31600693
Change-Id: Ia892dc84ca8827dd93a8b75d6f571c392f94859c

50d2227 2016-09-27 02:57:40 Alex Light

Make test for app-image loading.
am: d3997bd98a

Change-Id: I19963f3dca87677b02e52dcc403c6c66b33f352c

Show on old repository browser