commit | 19cb8e2bcc1a26f23a9709daf96ad7ead96d05a7 | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Tue Oct 01 10:48:37 2019 +0100 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Tue Oct 01 16:04:25 2019 +0000 |
tree | 3e30d7f62a88042fe8575f1af3a67f902a4dc70a | |
parent | 30677103d4d4dfb2695f1d9c5a3a41ae64a66ec7 [diff] |
Lower the check to class is initialized. Knowing if the class is visibly initialized is only for JIT/AOT compiled code to avoid the memory barrier. For callers of `NeedsInitializationCheck` it's enough to just check whether the class is initialized. Test: test.py, 626-set-resolved-string Change-Id: I2b01e03139e70cdeb73e09a01519f8d096c09440