Can this With | old Native GC, variable in singleton without @ThreadLocal can't be changed after initialization | warning be ignored in Kotlin 1.8.10?
l
Landry Norris
04/21/2023, 12:02 AM
It can be ignored if using the new mm. Keep in mind that there's no thread safety protections, so you should either know you don't need thread safety or build your own mechanism.
i
itnoles
04/21/2023, 1:22 AM
the IDE one got me confusing.
l
Landry Norris
04/21/2023, 1:23 AM
It was a problem in the old gc. People wanted the IDE to tell them, and they added it when they released the new gc