[jdom-interest] JDOM and garbage collection

Bradley S. Huffman hip at a.cs.okstate.edu
Tue Jan 29 13:00:26 PST 2002

Thanks. I wondered about that, the spec's talk about object accessiblity
but wasn't quite clear (at least to me) how it determines it.


Hallvard Trtteberg writes:

> > is the Java GC mechanism smart enough to figure out
> > they are not accessible or does it assume since there's a reference no
> > GC? Theoretically I guess if it's not smart enough we could run out of
> > memory.
> No modern memory management and GC systems use reference counting, except
> those with specific real-time requirements. Almost any complex data
> structure is circular, so neither does Java's.
> Hallvard

More information about the jdom-interest mailing list