Re: RFR: 8282221: x86 intrinsics for divideUnsigned and remainderUnsigned methods in java.lang.Integer and java.lang.Long [v4]

2022-04-09 Thread Srinivas Vamsi Parasa
On Wed, 6 Apr 2022 06:23:47 GMT, Jatin Bhateja wrote: >>> Also need a jtreg test for this. >> >> Thanks Sandhya for the review. Made the suggested changes and added jtreg >> tests as well. > > Hi @vamsi-parasa , thanks for addressing my comments, looks good to me > otherwise apart from the out

Integrated: 8282221: x86 intrinsics for divideUnsigned and remainderUnsigned methods in java.lang.Integer and java.lang.Long

2022-04-09 Thread Srinivas Vamsi Parasa
On Tue, 22 Feb 2022 09:24:47 GMT, Srinivas Vamsi Parasa wrote: > Optimizes the divideUnsigned() and remainderUnsigned() methods in > java.lang.Integer and java.lang.Long classes using x86 intrinsics. This > change shows 3x improvement for Integer methods and upto 25% improvement for > Long. T

Re: RFR: 8282221: x86 intrinsics for divideUnsigned and remainderUnsigned methods in java.lang.Integer and java.lang.Long [v13]

2022-04-09 Thread Srinivas Vamsi Parasa
On Sat, 9 Apr 2022 18:25:54 GMT, Vladimir Kozlov wrote: > Testing passed. Thank you Vladimir! - PR: https://git.openjdk.java.net/jdk/pull/7572

Re: RFR: 8284161: Implementation of Virtual Threads (Preview)

2022-04-09 Thread ExE Boss
On Fri, 8 Apr 2022 13:43:39 GMT, Alan Bateman wrote: > This is the implementation of JEP 425: Virtual Threads (Preview); TBD which > JDK version to target. > > We will refresh this PR periodically to pick up changes and fixes from the > loom repo. > > Most of the new mechanisms in the HotSpot

Re: RFR: 8283892: Compress and expand bits [v6]

2022-04-09 Thread Claes Redestad
On Fri, 8 Apr 2022 19:13:35 GMT, Paul Sandoz wrote: >> Add support to compress bits and expand bits of `int` and `long` values, see >> Hacker's Delight (2nd edition), section 7.4. >> >> Compressing or expanding bits of an `int` or `long` value can be composed to >> enable general permutations,

Re: RFR: 8282221: x86 intrinsics for divideUnsigned and remainderUnsigned methods in java.lang.Integer and java.lang.Long [v13]

2022-04-09 Thread Vladimir Kozlov
On Fri, 8 Apr 2022 22:17:23 GMT, Srinivas Vamsi Parasa wrote: >> Optimizes the divideUnsigned() and remainderUnsigned() methods in >> java.lang.Integer and java.lang.Long classes using x86 intrinsics. This >> change shows 3x improvement for Integer methods and upto 25% improvement for >> Long

Re: RFR: 8186958: Need method to create pre-sized HashMap [v12]

2022-04-09 Thread XenoAmess
On Sat, 9 Apr 2022 16:02:17 GMT, liach wrote: > > > Quick question: If the maps are intended to be fixed-size, can't the > > > users just call `new HashMap<>(size, 1)`, increasing the growth factor to > > > prevent growth? > > > > > > @liach this questions equals question : "why default load

Re: RFR: 8186958: Need method to create pre-sized HashMap [v12]

2022-04-09 Thread liach
On Sat, 9 Apr 2022 15:25:47 GMT, XenoAmess wrote: > > Quick question: If the maps are intended to be fixed-size, can't the users > > just call `new HashMap<>(size, 1)`, increasing the growth factor to prevent > > growth? > > @liach this questions equals question : "why default load factor be 0

Re: RFR: 8186958: Need method to create pre-sized HashMap [v12]

2022-04-09 Thread XenoAmess
On Sat, 9 Apr 2022 04:33:00 GMT, liach wrote: > Quick question: If the maps are intended to be fixed-size, can't the users > just call `new HashMap<>(size, 1)`, increasing the growth factor to prevent > growth? @liach this questions equals question : "why default load factor be 0.75 not 1" In

Re: RFR: 8284161: Implementation of Virtual Threads (Preview)

2022-04-09 Thread Furkan Özmen
On Fri, 8 Apr 2022 13:43:39 GMT, Alan Bateman wrote: > This is the implementation of JEP 425: Virtual Threads (Preview); TBD which > JDK version to target. > > We will refresh this PR periodically to pick up changes and fixes from the > loom repo. > > Most of the new mechanisms in the HotSpot