javax GC API

Bernd Eckenfels bernd-2013 at eckenfels.net
Fri Apr 19 18:53:52 UTC 2013


Am 19.04.2013, 10:06 Uhr, schrieb Suminda Dharmasena <sirinath at sakrio.com>:
>    - GCAtBlockEnd
>    - GCAtBlockExit - for loops the GC happens when the
>    - GCAtLastReference
>    - GCAtEndOfScope
>    - GCOnAssignment
>    - GCOnReturn
...
> At each point the objects pointed by the handle are GCed if there is
> a possibility (reference count becomes 0). If a reference to an object is
> specified to be

I think most of those annotations are not possible with modern GCs. You  
need to be aware that there is no reference counting and there is already  
Escape Analysis, Nursery and Thread Local allocations dealing with most of  
the scopes you listed above anyway.

Greetings
Bernd
-- 
http://bernd.eckenfels.net



More information about the hotspot-gc-dev mailing list