This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Question about hashtables in jcf-io.c
- From: Mohan Embar <gnustuff at thisiscool dot com>
- To: GCJ Java <java at gcc dot gnu dot org>
- Date: Sun, 16 Mar 2003 00:31:40 -0600
- Subject: Question about hashtables in jcf-io.c
- Reply-to: gnustuff at thisiscool dot com
Hi,
There are two static hashtables in jcf-io.c: memoized_dirlists
and memoized_class_lookups. I see the htab_create calls for
these, but not any htab_delete calls. Are these hidden somewhere
that I'm missing? If not, are they not there on purpose? (The
only rationale I can think of for not having these is that it
is assumed that they will live throughout the pcocess' lifetime,
but I still thought it was good practice to clean things up
explicitly.)
The same question applies to the namelists malloc-ed by scandir().
Thanks in advance for helping me understand this.
-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/