Request for reviews (S): 6865031: Application gives bad result (throws bad exception) with compressed oops
Vladimir.Kozlov at Sun.COM
Thu Jul 30 13:35:39 PDT 2009
Fixed 6865031: Application gives bad result (throws bad exception) with compressed oops
The problem at the same place as in 6851282.
The new Phi narrow type is incorrect since it is based
on the type of one of inputs which could be subtype of
the original Phi's type. The Phi is used in CmpP node
which gives a wrong result since Phi's type is wrong.
It leads to incorrect graph and generated code.
Produce narrow type for new Phi from the original type
instead of using a type of Phi's input.
Fix verified (y/n): y, bug's test and 6851282 test
JPRT, CTW with +UseCompressedOops
More information about the hotspot-compiler-dev