Hi,<div><br></div><div>Any thoughts plans to add API accessibility to the GC subsystems and the ability to add our own GC.</div><div><br></div><div>Looking for the comments from the community and Oracle.</div><div><br></div>
<div>In addition I like to propose introducing the following annotations for more predictable GC overheads:</div><div><ul><li>GCAtBlockEnd</li><li>GCAtBlockExit - for loops the GC happens when the</li><li>GCAtLastReference</li>
<li>GCAtEndOfScope</li><li>GCOnAssignment</li><li>GCOnReturn</li><li>GCOnGCOfContainingObject - GC on GC of aggregate / composing object</li><li>GCOnStatementCompletion - GC parameters and return value (if not assigned) of a call when the function returns. Need to support statement level annotations.</li>
<li>GCOnLastResort - Only GC at last resort before outofmemory exception - class level</li><li>ExcludeFinalising - prevent finalizers running on the object - class level</li><li>GCUsingCurrentThread</li><li>GCUsingDefaultThread</li>
<li>GCUsingNewThread(Priority = n)</li></ul></div><div>To do this annotations need to be extended to local variables and for some application at the statement / block level.</div><div><br></div><div>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 </div>
<div><br></div><div>Suminda<br clear="all"><div><div dir="ltr"><div><span style="font-family:'arial narrow',sans-serif">--</span></div><span style="font-family:'arial narrow',sans-serif">Suminda Sirinath Salpitikorala Dharmasena</span><span style="font-family:'arial narrow',sans-serif">, B.Sc. Comp. & I.S. (Hon.) Lond., P.G.Dip. Ind. Maths. J'Pura, MIEEE, MACM</span><span style="font-family:'arial narrow',sans-serif">, CEO </span><span style="font-family:'comic sans ms',sans-serif">Sakrīō!</span><span style="font-family:'arial narrow',sans-serif"> </span><span style="font-family:'arial narrow',sans-serif">▣ </span><b style="font-family:'arial narrow',sans-serif"><i>Address</i></b><span style="font-family:'arial narrow',sans-serif">: 6G • 1st Lane • Pagoda Road • Nugegoda 10250 • Sri Lanka. ▣ </span><b style="font-family:'arial narrow',sans-serif"><i>Tele</i></b><span style="font-family:'arial narrow',sans-serif">: +94-(0)11-5 864614 / 5 875614 / 2 825908 ▣ <b><i>Web</i></b>: <a href="http://www.sakrio.com" target="_blank">http://www.sakrio.com</a> </span><span style="font-family:'arial narrow',sans-serif">▣</span><br style="font-family:'arial narrow',sans-serif">
<br><div><font face="arial narrow, sans-serif">This email is subjected to the email Terms of Use and Disclaimer: <a href="http://www.sakrio.com/email-legal" target="_blank">http://www.sakrio.com/email-legal</a>. Please read this first.</font></div>
<div><font face="arial narrow, sans-serif">--</font></div></div></div>
</div>