Review Request CR#7118743 : Alternative Hashing for String with Hash-based Maps
Doug Lea
dl at cs.oswego.edu
Thu May 24 04:22:31 PDT 2012
On 05/23/12 20:29, Mike Duigou wrote:
>> Note that ConcurrentHashMap has been overhauled for JDK8.
>> The preliminary version, partially waiting for stability
>> on lambda-related stuff, has been out a while as
>> jsr166e.ConcurrenthashMapV8 (see
>> http://gee.cs.oswego.edu/dl/concurrency-interest/index.html)
>
> For the short term it will probably be a little annoying to keep this in sync between the workspaces. Sorry in advance.
>
We will soon have this issue across our own workspaces anyway
(jdk7- vs jdk8- compilable) so it's not an added problem.
To get better preliminary testing for CHM, sometime next
week, I'll try adding jdk7-compilable version of alt-hash to
our jsr166e.ConcurrenthashMapV8. This will sometimes be
slower than jdk8 version because String.hash32 emulation cannot
cache the result in the String object, but is probably
still worthwhile for collecting some feedback --
we seem to have at least dozens of heavy users of CHMV8.
-Doug
More information about the jdk7u-dev
mailing list