You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Jones, Brian O." <br...@md.northgrum.com> on 2001/03/07 20:25:57 UTC
Managing Memory
Hello,
I have looked through the Xerces code, searching for where the memory
management is handled. Does anyone have an idea where this is done?
Thanks in Advance
Thanks,
BJones
Re: Managing Memory
Posted by Volker Krause <v....@samuelson.de>.
----- Original Message -----
From: "Jones, Brian O." <br...@md.northgrum.com>
To: "'xercesDev'" <xe...@xml.apache.org>
Sent: Wednesday, March 07, 2001 8:25 PM
Subject: Managing Memory
> Hello,
>
> I have looked through the Xerces code, searching for where the memory
> management is handled. Does anyone have an idea where this is done?
>
> Thanks in Advance
>
> Thanks,
> BJones
>
Probably RefCountedImpl.?pp are the files you're looking for.
void RefCountedImpl::referenced(); // This function will be called by
// the reference counting
implementation
// whenever the reference count
transitions
// from 0 to 1.
void RefCountedImpl::unreferenced(); // unreferenced() is called whenever
the
// the ref count goes from 1 to 0.
(Nodes are
// not deleted when the ref count goes
to zero
// if they are in the doc tree and the
tree
// is still referenced, so a nodes
referenced /
// unreferenced state may switch many
times
// over its life time.)
Re: Managing Memory
Posted by Dean Roddey <dr...@charmedquark.com>.
What do you mean? Memory management is via the language runtime, if that's
what you mean. Xerces uses standard new/free calls, as most any C++
application would.
--------------------------
Dean Roddey
The CIDLib C++ Frameworks
Charmed Quark Software
droddey@charmedquark.com
http://www.charmedquark.com
"I'm not sure how I feel about ambivalence"
----- Original Message -----
From: "Jones, Brian O." <br...@md.northgrum.com>
To: "'xercesDev'" <xe...@xml.apache.org>
Sent: Wednesday, March 07, 2001 11:25 AM
Subject: Managing Memory
> Hello,
>
> I have looked through the Xerces code, searching for where the memory
> management is handled. Does anyone have an idea where this is done?
>
> Thanks in Advance
>
> Thanks,
> BJones
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>