4TB uses 42 bits of address space. It leaves you with 22 bits, out of which ZGC uses 4.
If anything, borrow a few more bits, and you should easily be able to address petabytes.
If anything, borrow a few more bits, and you should easily be able to address petabytes.
Can't you compress that into less than 42 bits?
https://en.wikipedia.org/wiki/Pigeonhole_principle#Uses_and_...
There's more holes than pigeons here.
How do I compute the hash of every object, since by definition I can't address every byte?
And why would you want to read raw bytes from an object to hash it? What requires this in Java?