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