commit | da283050a1a3ddbb7cefae3f36e8c8c1a6acedb7 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Tue Nov 07 21:17:24 2017 +0000 |
committer | Vladimir Marko <vmarko@google.com> | Wed Nov 08 13:23:03 2017 +0000 |
tree | b839d69d0bf8d55d89a95b80621fd3f630536531 | |
parent | 72627a5f675b1c664beb2ad33d60a1c8dca80826 [diff] |
Fix String.equals() for moveable String.class. If the String.class is moveable (i.e. running without boot image), the instanceof check emitted by the JIT in the String.equals() intrinsic would require read barriers. As we do not really care about the performance of running without the boot image, disable the intrinsic in this case. Test: 669-moveable-string-class-equals (--jit) Bug: 68181300 Change-Id: I39c9f9935e0482b3b30f1ae5cd23515cbda0603b