Can Phi->adr_type() be narrowoop ?

Tom Rodriguez Thomas.Rodriguez at Sun.COM
Thu May 1 16:10:33 PDT 2008

narrow oops aren't pointers so they shouldn't be able to be adr_types 
without being DecodeN'ed.


Vladimir Kozlov wrote:
> I am looking on failures where we missed an other checks for
> EncodeP, DecodeN in EA. When EA do split unique types it walks
> memory edges and can go over narrowoop memory (LoadN, for example).
> And since we have LoadN we can have memory Phi with narrowoop type.
> The question is can Phi->adr_type() be narrowoop also?
> We never checks adr_type() for narrowoop and it returns TypePrt not Type.
> Thanks,
> Vladimir

More information about the hotspot-compiler-dev mailing list