New gcj option --no-store-check

Jeff Sturm
Thu Feb 28 16:05:00 GMT 2002

On Fri, 1 Mar 2002, Bryce McKinlay wrote:
> I've committed a patch which implements some optimizations for array 
> accesses as well as a new flag, --no-store-check, which disables 
> assignability checks for stores into object arrays. It works much like 
> --no-bounds-check: for code that you are sure will never throw an 
> ArrayStoreException, this flag can be used to disable the checks which 
> can provide a reasonable performance boost and reduce code size slightly.

I'd say this merits a news item, does anyone agree?  I tried it on my
interpreter benchmark, and got around a 5% boost on code that's
usually dominated by GC time.

Also, will this go into 3.1?


More information about the Java mailing list