santhosh.R gowda wrote:
Adam Michalik wrote:
Object reference = 4 bytes (on a 32 bit system)
I think its 8 bytes right for 32 bit system and 16 bytes for 64 bit system
After some research, I'm not so sure it is explicitly determined. See
the other thread.
On the other hand, on a 32 bit system, a memory pointer takes 4 bytes, so I don't know if it was reasonable to have 8 byte references... What's more, an 8-byte reference would not fit into a 32-bit processor register, which in turn would be slowing down object reference resolution. Do you have any more info on usage of 8-byte references on a 32-bit system?