System.identityHashCode performance

Ulf Zibis Ulf.Zibis at gmx.de
Tue Sep 22 11:42:17 UTC 2009


Janda, you could provide a/the patch to force the fix of this bug.
See: http://openjdk.java.net/contribute/

-Ulf


Am 22.09.2009 13:35, Tom Hawtin schrieb:
> Janda Martin wrote:
>> I would like to ask about any plans of speed improvements to 
>> "System.identityHashCode" or "IdentityHashMap"
>>
>> I use EclipseLink and it uses IdentityHashMap for storing entities 
>> and their clones.
>>
>> In my case System.identityHashCode consumes 54% of time during insert 
>> data to database. There are lots of other project using 
>> IdentityHashMap and identityHashCode.
>
> CR 6378256 seems to cover this for the client/C1 compiler. Presumably 
> the server/C2 compiler already intrinsifies the method. It's been in 
> "fix understood" for a couple of years...
>
> http://bugs.sun.com/view_bug.do?bug_id=6378256
>
> Tom Hawtin
>
>




More information about the core-libs-dev mailing list