Changes between Version 7 and Version 8 of Commentary/Rts/HaskellExecution/PointerTagging
- Timestamp:
- 12/10/09 05:21:27 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Commentary/Rts/HaskellExecution/PointerTagging
v7 v8 5 5 Paper: [http://www.haskell.org/~simonmar/papers/ptr-tagging.pdf Faster laziness using dynamic pointer tagging] 6 6 7 In GHC we "tag" pointers to heap objects with information about the object they point to. The tag goes in the low 2 bits of the pointer, which would normally be zero since heap objects are always [wiki:Commentary/Rts/Word word]-aligned (3 bits on a 64-bit platform).7 In GHC we "tag" pointers to heap objects with information about the object they point to. The tag goes in the low 2 bits (3 bits on a 64-bit platform) of the pointer, which would normally be zero since heap objects are always [wiki:Commentary/Rts/Word word]-aligned. 8 8 9 9 The way the tag bits are used depends on the type of object pointed to:
