What is the reason for the additional indirection in Handle?
gbenson at redhat.com
Mon Sep 8 08:15:03 PDT 2008
Ramón García wrote:
> What is exactly the function for garbage collection? Does it just
> make it known that the oop is used, so it is not deleted, or in
> addition it handles the case where the oop is moved by a copying
Like Keith said, it does both.
> In the first case, there would be more efficient ways, such as
> increasing a reference count when the handle is created.
Sadly, reference counting GC fails with circular dependencies.
More information about the hotspot-runtime-dev