On Mon, Jun 1, 2015 at 8:46 AM, Andrew McCreight <amccrei...@mozilla.com> wrote:
>
> This is probably too esoteric for the blog post, but it seems like the
> malloc_size_of thing isn't passed in for the Rust version. (For those who
> don't know, in Firefox, this is used for the Dark Matter Detector (DMD): a
> method can be passed in to record all blocks that are measured via the
> memory reporters, to then report the allocation stacks for blocks that
> aren't reported, to find places that are missing reporters.) I assume that
> this is just because there's no DMD set up yet?

Yep, exactly.

> I also assume that
> basically you can just modify the derive generator code, which would be
> really great, compared to the hideous giant patches that are required when
> modifying the reporter boiler plate in Firefox. I don't know if it is worth
> calling out that global changes can be made locally, or maybe that's just
> implicit in the "less boilerplate" part of things.

Yeah, the plugin code is pretty short and is in the Servo repo (or
will be when it lands).

Nick
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to