RFR(XS): 8147876: ciTypeFlow::is_dominated_by() writes outside dominated array
tobias.hartmann at oracle.com
Tue Jan 26 08:17:41 UTC 2016
On 25.01.2016 18:12, Vladimir Kozlov wrote:
> Looks good.
> Note to all. When you find problem in recent changes, please, add link in bug report to original changes (JDK-8140574 in this case). In a future it will help, for example, if we want to backport a original changes.
Right, I'll keep that in mind.
> On 1/25/16 1:48 AM, Tobias Hartmann wrote:
>> 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