Request for reviews (S): 7110824: ctw/jarfiles/GUI3rdParty_jar/ob_mask_DateField crashes VM

Vladimir Kozlov vladimir.kozlov at oracle.com
Wed Jan 4 19:54:52 PST 2012


http://cr.openjdk.java.net/~kvn/7110824/webrev

7110824: ctw/jarfiles/GUI3rdParty_jar/ob_mask_DateField crashes VM

PhaseChaitin::yank_if_dead() can't handle nodes which load from constant table 
because MachConstantBase node could be spilled and Phi nodes are generated for 
it. In failing case loadConP_load node has Phi node as input and it is yanked 
since there is an other copy of the same constant load.

Change yank_if_dead() to recursive method to remove all dead inputs.

Tested with full CTW and failing test.

Thanks,
Vladimir


More information about the hotspot-compiler-dev mailing list