[vector] make some methods abstract <was> Re: [vector] Test to check method overriding
Paul Sandoz
paul.sandoz at oracle.com
Thu May 17 01:14:52 UTC 2018
From the results of the test i made some methods, applicable to all primitive species and vector types, abstract:
http://cr.openjdk.java.net/~psandoz/panama/abstract-operations/webrev/ <http://cr.openjdk.java.net/~psandoz/panama/abstract-operations/webrev/>
I can pick off type specific methods in another round.
(I need to update the test to report on Mask and Shuffle.)
Thanks,
Paul.
> On May 16, 2018, at 4:15 PM, Paul Sandoz <Paul.Sandoz at oracle.com> wrote:
>
> Hi,
>
> I just pushed a test that reports method overriding (or not) on methods of primitive vector or species classes. This will make it easier to make concrete methods on such classes abstract (just one default implementation) and detect operations that are not intrinsified (since the concrete class does not override).
>
> http://hg.openjdk.java.net/panama/dev/rev/7b455dda2694 <http://hg.openjdk.java.net/panama/dev/rev/7b455dda2694>
>
> I have not enabled assertions for now as it's likely too noisy with some false positives, but i think we can get to a point later on where we can do so.
>
> Given the information output from this test i will, in a subsequent changeset, make abstract appropriate concrete methods on the primitive vector and species classes.
>
> Thanks,
> Paul.
More information about the panama-dev
mailing list