-
Bug
-
Resolution: Fixed
-
P3
-
repo-valhalla
Static value fields are initialized lazily. Initialized to NULL during the creation of the Java mirror, they are currently updated to point to the default value on the first getstatic. This behavior may lead to incorrect behavior if the lazy update in getstatic erase the result of of putstatic executed concurrently.
Update in getstatic should either be removed (and let the NULL pointer until the first putstatic) or be changed into a CAS.
Update in getstatic should either be removed (and let the NULL pointer until the first putstatic) or be changed into a CAS.