Re: Object unloading confusion

2020-04-15 Thread Ömer Sinan Ağacan
To answer my own question > So if I see a constructor with a reference to an object code in its payload > I'll not mark the object code. We don't visit payload as objects pointed from the payload will be visited during the scan later (or they're already visited if they come before the

Object unloading confusion

2020-04-15 Thread Ömer Sinan Ağacan
Hi Simon, I'm looking at object unloading code in CheckUnload.c. My understanding of how unloading works is: - When unloading of an object is requested the object is added to `unloaded_objects`. - When `unloaded_objects` is not empty, after GC, we scan the heap for any references to