diff options
author | Igor Murashkin <iam@google.com> | 2017-07-06 13:16:34 -0700 |
---|---|---|
committer | Igor Murashkin <iam@google.com> | 2017-07-11 10:30:20 -0700 |
commit | 2b592abe1c12dd78614a5173256e430ed2f89ee8 (patch) | |
tree | f4fbf07290725d31c567cf95a6d45aaefb8c1dcc /test/MultiDex | |
parent | 6375a04cae864416499865453fecd2b50706b3b2 (diff) |
test: Make 079-phantom less flakey.
Definitely block the main thread until the GC has cleared out the native
data objects.
Introduces new happens-before orderings which weren't there
previously:
* freeNativeStorage(dataA) happens-before printing "nulling 2"
* freeNativeStorage(dataB) happens-before bitmap shutdown
This removes the races that occurred between the printing of
"nulling 2" and "freeNativeStorage".
Bug: b/22287285
Test: art/test/run-test --host --optimizing 079-phantom
Change-Id: I04a4ecc2d3ac68470010b61d3eb1c2fedac55cca
Diffstat (limited to 'test/MultiDex')
0 files changed, 0 insertions, 0 deletions