[foreign-memaccess] [Rev 01] RFR: Alternative scalable MemoryScope

Maurizio Cimadamore mcimadamore at openjdk.java.net
Tue May 5 10:58:04 UTC 2020


On Tue, 5 May 2020 10:29:27 GMT, Peter Levart <plevart at openjdk.org> wrote:

> Would this be an acceptable "addtition" to Spliterator API?

I'll leave this to Paul. IMHO doing this for an incubating API seems a bit too much (although I can buy that there can
be other benefits in doing this). Another option would be in having this be a JDK-internal spliterator API, so that our
own spliterators could implement that and get better stream performances (after all, I don't expect a lot of users to
come up with their own spliterators). If stream sees that one of those 'special' stream is being used, it can use the
more efficient implementation.

-------------

PR: https://git.openjdk.java.net/panama-foreign/pull/142


More information about the panama-dev mailing list