Object file questions
Mike via D.gnu
d.gnu at puremagic.com
Sun Aug 17 03:44:34 PDT 2014
On Sunday, 17 August 2014 at 08:26:40 UTC, Johannes Pfau wrote:
>
> Great! But I think this pull request addresses a different
> monitor
> problem: There's an implicit __monitor field in every class
> right now,
> which makes every class _instance_ bigger.
>
> But the monitor in TypeInfo/ClassInfo is different: ClassInfo
> exists
> only once per class, it doesn't matter how many class instances
> you've
> got. AFAIR this monitor is to support synchronize(ClassType)
> which
> synchronizes on the class type, not on an instance.
I looked through the source code, and couldn't find any such
monitor. Can you please point it out for me?
Thanks,
Mike
More information about the D.gnu
mailing list