commit | 6c5cb212fa7010ae7caf9dc765533aa967c95342 | [log] [tgz] |
---|---|---|
author | Ian Rogers <irogers@google.com> | Wed Jun 18 16:07:20 2014 -0700 |
committer | Ian Rogers <irogers@google.com> | Wed Jun 18 16:39:29 2014 -0700 |
tree | c31c46eb7b284b317455fdab48317de92b81dd28 | |
parent | 241fd1192dfc0f7322660343179f9fc0591ed9ff [diff] |
Ensure classes are initialized rather than initializing. A class can be being initialized on a different thread, in that case other threads should block trying to access the class. The initializing state shows the class is being initialized but not that its safe for other threads to access. Change occurances of IsInitializing to IsInitialized primarily in slow-path code. Bug: 15347354 Change-Id: Ib586d0a385be6086a890dfbf8868d76f16767fac