diff options
author | Anthony Green <green@redhat.com> | 2005-04-22 19:02:41 +0000 |
---|---|---|
committer | Anthony Green <green@gcc.gnu.org> | 2005-04-22 19:02:41 +0000 |
commit | f00fac9d2ffa5ea91809ef1ec85aae415889429c (patch) | |
tree | df2081a26cef9b6f28e32a75d53ca8b43c1631b5 /libjava/java/lang/natString.cc | |
parent | 9f12b095b1916f35ed89eaffdb5b0ac0e4074e8d (diff) | |
download | gcc-f00fac9d2ffa5ea91809ef1ec85aae415889429c.zip gcc-f00fac9d2ffa5ea91809ef1ec85aae415889429c.tar.gz gcc-f00fac9d2ffa5ea91809ef1ec85aae415889429c.tar.bz2 |
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
Diffstat (limited to 'libjava/java/lang/natString.cc')
-rw-r--r-- | libjava/java/lang/natString.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libjava/java/lang/natString.cc b/libjava/java/lang/natString.cc index e2558f4..6e8febc 100644 --- a/libjava/java/lang/natString.cc +++ b/libjava/java/lang/natString.cc @@ -125,7 +125,6 @@ rehash () { strhash_size = 1024; strhash = (jstring *) _Jv_AllocBytes (strhash_size * sizeof (jstring)); - memset (strhash, 0, strhash_size * sizeof (jstring)); } else { @@ -133,7 +132,6 @@ rehash () jstring* ptr = strhash + i; int nsize = strhash_size * 2; jstring *next = (jstring *) _Jv_AllocBytes (nsize * sizeof (jstring)); - memset (next, 0, nsize * sizeof (jstring)); while (--i >= 0) { |