commit | 580667b8d9cf6943596efff4df64f5879c1529e3 | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Mon Oct 23 11:20:39 2017 -0700 |
committer | Andreas Gampe <agampe@google.com> | Mon Oct 23 14:16:54 2017 -0700 |
tree | b12378ae46584e568c23f5414f18578636b8d896 | |
parent | 0a0935f36f23d37ec20151ff7250180050f3b822 [diff] |
ART: Correct static invariant checks Instances of initializing classes may leak to other threads. It is legal to execute methods and access fields, as long as they are not static. However, the class should still be initializing (or already be erroneous). Replace checks with this weaker invariant. Follow-up to commit 4e99b3d8955131f3fc71aa113f0fa71f0092cb6f. Bug: 15899971 Bug: 62478025 Bug: 67719550 Test: m test-art-host Change-Id: I63190253759df95ca54e40fd4117a24e12e0c069