RFR: 8299576: Reimplement java.io.Bits using VarHandle access [v2]

Andriy Plokhotnyuk duke at openjdk.org
Mon Jan 30 09:02:32 UTC 2023


On Mon, 30 Jan 2023 08:41:25 GMT, Per Minborg <pminborg at openjdk.org> wrote:

> > java.time.ZoneOffset
> 
> Maybe I am blind but can you provide a direct reference to an exising JDK method in `java.time` where we can apply similar optimizations?

No problem! We can start from `java.time.ZoneOffset` and its `parse` and `toString` methods.

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

PR: https://git.openjdk.org/jdk/pull/11840


More information about the core-libs-dev mailing list