6 ms·
> Pointer colouring (Is this the same as pointer tagging?)
by lamby 8y ago
> Pointer colouring
(Is this the same as pointer tagging?)
- rlmw 8y agoI would say that pointer colouring is a type of pointer tagging. AFAIK the colouring in ZGC represents different states. So the memory page mappings rely on the pointer having one colour (1 of the 4 bits set) whereas pointer tagging is the term for the general concept of encoding information in pointers.