commit | eccc74ed594576816d4521aad1974ddfa54cd6ac | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Wed Jun 07 14:09:43 2017 +0100 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Wed Jun 07 16:56:38 2017 +0100 |
tree | 1db1d294dbf2663add9f86e37469b8b0a6ea2a38 | |
parent | cdbd252ab528ac29f45403bf099c79ae2c3bde00 [diff] |
Don't call EnsureInitialized in the JIT. Calling EnsureInitialized can block due to locking on the class object, that an application can also do. Just rely that the compilation request is for a reason. The compiler aleady knows how to compile methods of classes that are not initialized. bug: 62243120 Test: test.py --jit (cherry picked from commit 23ddfe86788fe1c95b8be6c76f3a127f8f51dd9f) Change-Id: I21157fd9ab5589f0ec8e18ac321b2ac7177ad9b2