This is the mail archive of the java-patches@sources.redhat.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: Patch: String.unintern


Bryce> InternHog.java 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.

Tom

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