799313 wrote:I think he means when the GC (Garbage Collector) will eat the object.
I assume you mean, what determines whether an object is in the L1 cache, L2 cache, L3 cache, main memory or on disk?
The CPU and OS do this. iT is not something you can control in Java.
Is there a more specific problem you are trying to solve or is this a general question?
What determines when less referenced objects are flushed?The number of reachable references. When that number is zero it can be GCed. It will be some time after.
How can we improve the time to pause there?No finalizes and fiddle with the GC options.