Login  Register

Re: GlDrawableHelper allocates unecessary Iterator

Posted by Michael Bien on Jun 24, 2010; 5:15pm
URL: https://forum.jogamp.org/GlDrawableHelper-allocates-unecessary-Iterator-tp912785p920030.html

a single FPS counter which displays the FPS String would cause more garbage as an iterator. But in both cases you won't notice it. The objects would die young and wouldn't be evacuated in the young gc phase - which is very fast compared to old generation sweeps.

But again if you have a cool idea how to get rid of it... you know where the repo is :). API Bindings should be GC neutral i fully agree.

regards,

michael


On 06/24/2010 04:00 PM, jeff [via jogamp] wrote:
Taif might be right. anything that is allocated will be GCed once in a while. even if the GC happens rarely, it will happen evenutally and on slow machines this causes a framelag.


View message @ http://jogamp.762907.n3.nabble.com/GlDrawableHelper-allocates-unecessary-Iterator-tp912785p919549.html
To start a new topic under jogamp, email [hidden email]
To unsubscribe from jogamp, click here.