RFR(XS): 8147876: ciTypeFlow::is_dominated_by() writes outside dominated array
tobias.hartmann at oracle.com
Mon Jan 25 09:48:28 UTC 2016
please review the following patch:
ciTypeFlow::is_dominated_by() write outside the 'dominated' array because it's size is too small. The problem is that the number of ciBlocks is not equal to the Blocks used by ciTypeFlow (there is a 1:n relation). Therefore, we should use block_count() instead of _methodBlocks->num_blocks().
More information about the hotspot-compiler-dev