[gclist] hello list

David Detlefs - Sun Microsystems Labs BOS David Detlefs <david.detlefs@east.sun.com>
Thu, 9 May 2002 14:34:54 -0400 (EDT)


Vishal --

> I wanted to know whether anybody has an idea that how
> an object id is calculated by JVM.

In the spirit of teaching a man to fish :-, since  have the source, I
think you want to look at

  ObjectSynchronizer::identity_hash_value_for

in the file

  src/share/vm/runtime/synchronizer.cpp

Then you'll be able to tell us all how it is calculated :-)

Dave