2

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."

Jean-François Corbett
38.7k30 gold badges146 silver badges192 bronze badges
asked Jan 6, 2014 at 23:25
3
  • The "object graph" is the set of existing objects and their references to each other. Extrapolate from there. Commented Jan 6, 2014 at 23:32
  • Can you be more specific what part of the sentence you don't understand? Is it the concept of liveness? The object graph? Mutation? Commented Jan 7, 2014 at 17:24
  • In particular this: GC threads invariably results in application threads mutating the object graph. Commented Jan 8, 2014 at 7:24

1 Answer 1

2

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.

answered Jan 7, 2014 at 17:21
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.