Integrated: 8225235: Unused field defaultIndex in NetworkInterface

2022-09-29 Thread Viktor Klang
On Wed, 28 Sep 2022 18:55:09 GMT, Viktor Klang wrote: > Removes the `defaultIndex`since it is no longer used. This pull request has now been integrated. Changeset: b030c7de Author: Viktor Klang Committer: Jaikiran Pai URL: https://git.openjdk.org/jdk/com

Re: RFR: 8315454: Add an immutable BitSet

2023-09-01 Thread Viktor Klang
On Fri, 1 Sep 2023 08:21:13 GMT, Per Minborg wrote: > This PR proposes adding a new method to BitSet that provides an immutable > snapshot of the set in the form of an `IntPredicate`. > > The predicate is eligible for constant folding. > > Here are some classes in the JDK that would benefit di

Re: RFR: 8356255: Add Stable Field Updaters to allow efficient lazy field evaluations [v11]

2025-05-09 Thread Viktor Klang
On Fri, 9 May 2025 08:38:39 GMT, Per Minborg wrote: >> This sketch shows how "Stable Updaters" can be used to create stable >> computations of `@Stable` fields. Only one updater is needed per class, >> similar to `AtomicIntegerFieldUpdater`. > > Per Minborg has updated the pull request with a n