comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Do we need PTR_FREE anymore?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Do we need PTR_FREE anymore? [message #71918] Thu, 29 July 2010 08:52 Go to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Jul 29, 7:33 am, Chris <beaum...@ifa.hawaii.edu> wrote:
> My guess is that IDL periodically checks for reference-less heap
> variables and frees them, in which case there is a "limbo" period for
> such objects. If some piece of code is creating and destroying lots of
> heap memory (in a long loop, e.g.), then maybe it makes sense to clean
> up manually?

That is one possible implementation. But they could also be erased at
the moment their reference count reaches 0, which to me seems to be
the case in IDL, judging from the help on the garbage collector.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: "Fatal error: IDL has encountered a fatal error and will now exit."
Next Topic: Another small V8.0 bug

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 07:27:33 PDT 2025

Total time taken to generate the page: 1.36010 seconds