Recently I read 30-50% of more heap is required on 64-bit beacuse of the memory layout in 64-bit archicture.
This Includes
1.the Object Header which are 12 bytes on 64-bit JVM which adds some overheads as compared to the 8 bytes on headers on 32-bit
- Object references can be either 4 bytes or 8 bytes on 64-bit While on 32-bit it is 4 bytes
My Question is why we need 12 bytes of header in 64-bit JVM what difference does it makes ? and so is for the Object Reference too WHY ?