commit | 23ddfe86788fe1c95b8be6c76f3a127f8f51dd9f | [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 14:11:57 2017 +0100 |
tree | e1070a3eeb7ba8f489339415324f98417b7eb94c | |
parent | 0a87f31513e5f9da27856af054d2241452898b22 [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 Change-Id: I6cd6828b4c2179504cf5334921fcb8d46615c77b