review (XS) for 6982533: Crash in ~StubRoutines::jbyte_fill with AggressiveOpts enabled

Tom Rodriguez tom.rodriguez at
Tue Sep 7 10:32:37 PDT 2010

6982533: Crash in  ~StubRoutines::jbyte_fill with AggressiveOpts enabled

The logic for matching a byte fill is missing a check for the use of
the index.  It normally happens as part of the check for a shift
expression but since a byte array doesn't have a shift the check is
missed.  The fix is to make the index check explicit.  The reason it
didn't always crash was because of differences in heap size caused by
ergonomics.  With a 16m heap it crashes on any machine.  Tested with
failing test case.


More information about the hotspot-compiler-dev mailing list