This is the mail archive of the
java-patches@sources.redhat.com
mailing list for the Java project.
Re: Patch: String.unintern
- To: Bryce McKinlay <bryce at albatross dot co dot nz>
- Subject: Re: Patch: String.unintern
- From: Tom Tromey <tromey at redhat dot com>
- Date: 25 Jan 2001 16:37:45 -0700
- Cc: Java Patch List <java-patches at sourceware dot cygnus dot com>
- References: <87wvbl62tw.fsf@creche.redhat.com> <3A6F7471.2AD4D1AC@albatross.co.nz>
- Reply-To: tromey at redhat dot com
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