jni.cc (natrehash): Don't bother clearing memory again.

2005-04-22  Anthony Green  <green@redhat.com>

        * jni.cc (natrehash): Don't bother clearing memory again.
        * interpret.cc (do_allocate_static_fields): Ditto.
        * java/lang/natString.cc (rehash): Ditto.

From-SVN: r98583
This commit is contained in:
Anthony Green 2005-04-22 19:02:41 +00:00 committed by Anthony Green
parent 9f12b095b1
commit f00fac9d2f
4 changed files with 6 additions and 5 deletions

View file

@ -1847,7 +1847,6 @@ natrehash ()
nathash =
(JNINativeMethod *) _Jv_AllocBytes (nathash_size
* sizeof (JNINativeMethod));
memset (nathash, 0, nathash_size * sizeof (JNINativeMethod));
}
else
{
@ -1857,7 +1856,6 @@ natrehash ()
nathash =
(JNINativeMethod *) _Jv_AllocBytes (nathash_size
* sizeof (JNINativeMethod));
memset (nathash, 0, nathash_size * sizeof (JNINativeMethod));
for (int i = 0; i < savesize; ++i)
{