Hi Andrew,

So then is is correct to conclude that the gc does examine fields in instances
still being constructed to determine reachability?

How is that we have gone so long without needing reachabilityFence?
Or is it just because optimizers have taken so long to get a perfect view of reference scope?

Thanks, Roger


On 10/21/2015 10:45 AM, Andrew Haley wrote:
On 10/21/2015 02:58 PM, Daniel Fuchs wrote:
I do hope that method parameters are not eagerly gc'ed before
the method returns
They are -- that's what reachabilityFence() is for.  I don't think
that constructors have any special rules, and nor should they.

Andrew.

Reply via email to