Patch: remove useless memsets

Bryce McKinlay mckinlay@redhat.com
Fri Apr 22 17:47:00 GMT 2005


Anthony Green wrote:

>_Jv_AllocBytes is guaranteed to return zero-filled memory.   We don't
>need to do any of these memsets.  Ok for HEAD?
>
>AG
>
>
>
>  
>
>------------------------------------------------------------------------
>
>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.
>
>  
>

OK

Bryce



More information about the Java-patches mailing list