Say we have an object instance that we know, but its being prevented from garbage collection due to being contained in a datastructure of an unknown program.
How can we delete that object, effectively causing all references where that object is being used to end up being null?
Is there are way to see all reference holders? Im guessing there is since the Gargabe Collector does.
So in other words a custom Garbage Collector.
then we could have manual memory managment in the first place when the jvm can not handle it