RFR: JDK-8282798 java.lang.runtime.Carrier

Kasper Nielsen kasperni at gmail.com
Tue Mar 8 19:14:44 UTC 2022


>
>
> Agreed.  Also, this class is unusual in that it is not instantiated; like
> `Arrays` or `Collections` it is a (small) bundle of static factories (or
> are they algorithms?).  I think as such it should be called `Carriers`.
>

I don't know if it is still the plan. But there was talk about adding a
java.util.concurrent.Carrier type?
As well as various Carrier implementations.
https://mail.openjdk.java.net/pipermail/loom-dev/2020-March/001122.html

What about java.lang.runtime.ObjectShapes instead? Would fit in with
ObjectMethods.

/Kasper


More information about the core-libs-dev mailing list