Commit eccc74ed authored by Nicolas Geoffray's avatar Nicolas Geoffray
Browse files

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 23ddfe86)

Change-Id: I21157fd9ab5589f0ec8e18ac321b2ac7177ad9b2
parent cdbd252a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment