Do we have free bits in the info pointer itself?

Ryan Newton rrnewton at gmail.com
Wed Sep 7 21:32:21 UTC 2016


Our heap object header is one word -- an info table pointer
<https://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/HeapObjects>.

Well, a 64 bit info table pointer leaves *at least* 16 high bits inside the
object header for other purposes, right?

Is there any problem with using these other than having to mask the info
table pointer each time it is dereferenced?

Thanks,
  -Ryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20160907/50e93b39/attachment.html>


More information about the ghc-devs mailing list