The problem with `AtomicBoolean` is that it doesn't have a `null` semantic. So given that the code where this variable is written from is always synchronized, IMO `volatile` is the better/easier option.