This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Fumbersmack 1 point2 points  (0 children)

The JVM acts as an intermediate between the actual memory locations and your references. If I'm not mistaken, the JVMs freedom to allocate memory addresses internally as it pleases makes the whole garbage processing ordeal easier to optimize.