summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/Main.java
diff options
context:
space:
mode:
authorHans Boehm <hboehm@hboehm.mtv.corp.google.com>2018-03-09 17:05:28 -0800
committerHans Boehm <hboehm@google.com>2018-04-02 17:34:30 -0700
commit4d4175a132b944214ed7559beb9b6b91d2eb36e1 (patch)
tree7059c4373c991ce1508b4b955ab5cce268ab7efe /test/ProfileTestMultiDex/Main.java
parentb6074811f8a33461c4745e324fac321708d2f11d (diff)
Add reachabilityFence intrinsics
Add intrinsics that generate no code or do nothing for all architectures and for the interpreter. The only impact is to keep the argument live at all suspend points preceding the call. We ensure that the code is not moved across other memory accesses by declaring it to have write side-effects. Add a minimal test. Modify 036-finalizer to use a reachabilityFence, hopefully making it more robust to dead refererence elimination. Bug: 72698200 Test: Build and boot AOSP. art/test.py --host -r -t 072-reachability-fence Look at generated code. Change-Id: I0f298bf5cc375d8ebc19bb791cc05a8490d55430 Merged-In: I0f298bf5cc375d8ebc19bb791cc05a8490d55430 (cherry picked from AOSP commit c7b28de9f8bf407d91cff22de782d022492b45f7)
Diffstat (limited to 'test/ProfileTestMultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions