Tom> I did a little work on the gcjx branch in this area. But it has
Tom> never been tested. Anyway the idea was that the compiler could emit
Tom> real mark descriptors for Class, by special-casing it a bit in
Tom> boehm.c.
I looked at this today. We can't scan Class using a bitmap descriptor
yet, because its layout is wrong for this. The descriptor overflows
and we have to fall back to procedural scanning.
We could still do better than we do today, I think. For instance we
could scan Class conservatively, and make sure to allocate
Class-related structures via the GC (using conservative scanning or
introducing new mark kinds as desired).