This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Question about hashtables in jcf-io.c


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/





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]