How Java and Scala objects are laid out in physical memory | Dark Hacker News