hg: jdk9/hs-rt/hotspot: 8033792: AltHashing used jint for imprecise bit shifting

yumin.qi at oracle.com yumin.qi at oracle.com
Mon Feb 10 22:43:07 PST 2014


Changeset: cd6b3f1a94ff
Author:    minqi
Date:      2014-02-10 21:29 -0800
URL:       http://hg.openjdk.java.net/jdk9/hs-rt/hotspot/rev/cd6b3f1a94ff

8033792: AltHashing used jint for imprecise bit shifting
Summary: AltHashing used jint the way of juint in bit shifting which could lead loss of precision. Fix  by change _seed defined as juint.
Reviewed-by: coleenp, ccheung
Contributed-by: yumin.qi at oracle.com

! src/share/vm/classfile/altHashing.cpp
! src/share/vm/classfile/altHashing.hpp
! src/share/vm/oops/instanceKlass.hpp
! src/share/vm/oops/metadata.hpp
! src/share/vm/oops/oop.cpp
! src/share/vm/oops/oop.hpp
! src/share/vm/oops/symbol.cpp
! src/share/vm/oops/symbol.hpp
! src/share/vm/utilities/hashtable.cpp
! src/share/vm/utilities/hashtable.hpp



More information about the jdk9-all-changes mailing list