Patch: String.unintern

Tom Tromey
Thu Jan 25 15:12:00 GMT 2001

Bryce> from Kaffe is one test. With you're patch, it is
Bryce> currently failing after 12179 iterations in rehash().

Thanks.  Part of the problem is that String.rehash is not checking the
result of _Jv_AllocBytes.  I'm changing it to use
_Jv_AllocBytesChecked; this will cause it to signal out of memory
instead of null pointer exception.

The fact that it runs out of memory at all seems to indicate something
fishy is going on.  I'll debug it.


More information about the Java-patches mailing list