Skip to content
Advertisement

Tag: self-reference

Cold streams and publishers, is the Garbage Collector fully aware of its true death?

When instanceSubscriptorManager is unable to receive any more boolean values, the last thing to be performed will be a false as isActive, removing localConsumer from publisher. How is localConsumer “aware” that instanceSubscriptorManager will be unable to receive an isActive -> true (again) sometime in the future, especially since the class is self-referencing itself? In short, this class is hold by

Advertisement