This is the mail archive of the java-discuss@sourceware.cygnus.com 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]

Re: Speeding up method searches


Bryce McKinlay wrote:

> I don't think so. Interned strings should still be collectable, right?
> Maybe we can put a special finalizer in natString.cc and call
> _Jv_RegisterFinalizer from String.intern()?

Actually, there already is - it just doesnt seem to ever get called:

/* Called by String fake finalizer. */
void
java::lang::String::unintern()
{
[...]

  [ bryce ]



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