Request for reviews (XS): 6823453: DeoptimizeALot causes fastdebug server jvm to fail with assert(false,"unscheduable graph")

Vladimir Kozlov Vladimir.Kozlov at Sun.COM
Tue Mar 31 22:24:05 PDT 2009


Sorry, the problem description should be:

The code in GraphKit::new_array replaces a negative constant with
TOP (CastII(-1)#0) for all uses if it is used as new array length.
Incorrect ideal graph is generated as result.

Thanks,
Vladimir

Vladimir Kozlov wrote:
> http://cr.openjdk.java.net/~kvn/6823453/webrev.00
> 
> Fixed 6823453: DeoptimizeALot causes fastdebug server jvm to fail with 
> assert(false,"unscheduable graph")
> 
> Problem:
> The code in GraphKit::new_array replaces a negative constant
> with 0 for all uses if it used as new array length.
> As result An incorrect ideal graph is generated as result.
> 
> Solution:
> Don't replace constants.
> Added regression test.
> 
> Reviewed by:
> 
> Fix verified (y/n): y, bugs tests
> 
> Other testing:
> JPRT
> 



More information about the hotspot-compiler-dev mailing list