Re: RFR: 8268113: Re-use Long.hashCode() where possible [v3]

2021-06-02 Thread Сергей Цыпанов
On Wed, 2 Jun 2021 17:58:29 GMT, Vyom Tewari wrote: >> Сергей Цыпанов has updated the pull request incrementally with one >> additional commit since the last revision: >> >> 8268113: Inline local vars where reasonable > > src/java.base/share/classes/java/util/BitSet.java line 105: > >> 103:

Re: RFR: 8268113: Re-use Long.hashCode() where possible [v3]

2021-06-02 Thread Vyom Tewari
On Wed, 2 Jun 2021 16:37:49 GMT, Сергей Цыпанов wrote: >> There is a few JDK classes duplicating the contents of Long.hashCode() for >> hash code calculation. They should explicitly delegate to Long.hashCode(). > > Сергей Цыпанов has updated the pull request incrementally with one additional >

Re: RFR: 8268113: Re-use Long.hashCode() where possible [v3]

2021-06-02 Thread Сергей Цыпанов
On Wed, 2 Jun 2021 14:50:23 GMT, liach wrote: >> Сергей Цыпанов has updated the pull request incrementally with one >> additional commit since the last revision: >> >> 8268113: Inline local vars where reasonable > > src/java.base/share/classes/java/lang/Double.java line 881: > >> 879: p

Re: RFR: 8268113: Re-use Long.hashCode() where possible [v3]

2021-06-02 Thread Сергей Цыпанов
> There is a few JDK classes duplicating the contents of Long.hashCode() for > hash code calculation. They should explicitly delegate to Long.hashCode(). Сергей Цыпанов has updated the pull request incrementally with one additional commit since the last revision: 8268113: Inline local vars wh