Reputation: 275
I was reading this nice article but stuck on one sentence to get more idea about this.
What does this means (mentioned in point #8)
"Allowing application threads to run alongside GC
threads invariably results in application threads mutating the object graph in a way that would affect the liveness of objects."
Upvotes: 2
Views: 82
Reputation: 9028
This simply means that implementing a concurrent garbage collection algorithm represents a specific challenge - both the GC and application are running concurrently and thus the GC algorithm must deal with situations when the object set is being modified by the application at the time of a GC phase.
Upvotes: 2