On Tue, Oct 29, 2013 at 11:02 AM, Jonathan S. Shapiro <[email protected]>wrote:
> Identifying interior object references in large object space is easy, > because they won't point at the start of a page. > ... > So the real problem is to *identify* interior references into the nursery > or the general heap. > Just curious -- presumably the nursery and general heap are for objects less than a page? Would it be possible to have pages in those heaps start with a header identifying the locations of objects within the page? On a system with 4k pages and 16-byte object alignment, that burns 32 bytes, which seems relatively affordable. (It might be useful for debugging, too.) (... and just to get the idea out there: you could put *all* the object headers at the front of the page, especially if you only need a few bits. Or they could go in separate pages, if you don't need them in the mutator.) )Rob
_______________________________________________ bitc-dev mailing list [email protected] http://www.coyotos.org/mailman/listinfo/bitc-dev
