System.identityHashCode performance
Christian Thalinger
Christian.Thalinger at Sun.COM
Tue Sep 22 11:47:44 UTC 2009
Tom Hawtin wrote:
> 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
Martin, are you having performance problems with client or server compiler?
-- Christian
More information about the core-libs-dev
mailing list