RFR(S): 8149463 - [jittester] rarely generates tests with compile error
dmitrij.pochepko at oracle.com
Fri May 6 14:59:22 UTC 2016
please review fix for 8149463 - [jittester] rarely generates tests with
A reason for incorrect code generation was "removeSelf" method, which is
called when IR tree is cut to meet constraints. This method is
implemented in all loops to not remove node loop completely, but leave
some of node content instead("header" and "initialization". In this
specific order.) So, incorrect code was generated in case header code
used some variable declared in initialization block, thus, leading to
variable usage before declaration. So, this patch fixes this problem.
Also, minor code improvement: instead of removing self(loop node), it's
overwritten with "initialization" block and then a header content is added.
I've tested this fix using linux_x64.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-compiler-dev