This repository has been archived by the owner on May 1, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch from
javaClass
look up from static to local
Summary: For some cases of loading, this function can actually be recursively called. Unfortunately, the static initialization of a local variable in a recursive call is actually undefined behavior and for some compilers this results in a deadlock. > If the initialization recursively enters the block in which the variable is being initialized, the behavior is undefined. Cite: https://en.cppreference.com/w/cpp/language/storage_duration Reviewed By: mhorowitz Differential Revision: D16172871 fbshipit-source-id: 224835620763c60130730946f2ab065f8e66e371
- Loading branch information