Request reviews (S): 6896370: CTW fails share/vm/opto/matcher.cpp:1475 "duplicating node that's already been matched"
Vladimir.Kozlov at Sun.COM
Wed Nov 4 10:43:17 PST 2009
Fixed 6896370: CTW fails share/vm/opto/matcher.cpp:1475 "duplicating node that's already been matched"
It is compressed oops related.
LoadN node is not marked as shared since the method
Matcher::find_shared() misses the case of address phi
which has AddP nodes as input (after split through phi).
As result the special code for DecodeN in address
expressions is not executed.
Move DecodeN code outside the memory nodes only code.
I also noticed that several new memory nodes are missing
from the switch's cases in find_shared(). Instead of
adding them I replaced cases with common code for
stores and loads at the end of the switch.
Fix verified (y/n): y, test
More information about the hotspot-compiler-dev