summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/lib/gnu/java/beans/decoder/JavaHandler.class
diff options
context:
space:
mode:
authorak <ak@138bc75d-0d04-0410-961f-82ee72b054a4>2013-04-23 03:09:47 +0000
committerak <ak@138bc75d-0d04-0410-961f-82ee72b054a4>2013-04-23 03:09:47 +0000
commit88a96138095975577488bcb3667a85107977b433 (patch)
tree23ffa8b00dd8951c14d347d1ad8327bd887526c2 /libjava/classpath/lib/gnu/java/beans/decoder/JavaHandler.class
parentab16985ed348bea61e913f3743bd5764a91b8f33 (diff)
downloadppe42-gcc-88a96138095975577488bcb3667a85107977b433.tar.gz
ppe42-gcc-88a96138095975577488bcb3667a85107977b433.zip
Improve pointer hash function to include all bits
The hashtab pointer hash function is not very good. It throws most of the bits in the pointer away. This changes pointer_hash to use the mix code from jhash function that mixes all the bits on the pointer and makes them dependent on each other, before doing the modulo. libiberty/: 2013-04-22 Andi Kleen <ak@linux.intel.com> * hashtab.c (hash_pointer): Move to end of file and reimplement. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198171 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/lib/gnu/java/beans/decoder/JavaHandler.class')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud