pbenedict at apache.org
Wed Dec 16 16:54:49 UTC 2015
When I asked my question, I wasn't aware Brian was using Any::isNull as an
interim solution. He said things aren't going to stay this way. So my
question turned out to be premature.
On Wed, Dec 16, 2015 at 10:49 AM, Rezaei, Mohammad A. <
Mohammad.Rezaei at gs.com> wrote:
> Doesn't this sort of optimization fit better in the (runtime) class
> specializer than either javac or C1/C2? Surely, the specializer has to deal
> with Any::isNull call sites regardless, so might as well not generate the
> dead code paths.
> >-----Original Message-----
> >From: valhalla-dev [mailto:valhalla-dev-bounces at openjdk.java.net] On
> Behalf Of
> >Rémi Forax
> >Sent: Wednesday, December 16, 2015 11:36 AM
> >To: Paul Benedict; Brian Goetz
> >Cc: valhalla-dev
> >Subject: Re: Any::isNull check
> >The question is whenever you have several .class for one generic class or
> >there is only one fat .class and multiple classes (or something lighter)
> >If you have one .class, the compiler can not do something for you.
More information about the valhalla-dev