[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [MirageOS-devel] Tracing and profiling blog post
On 30 Oct 2014, at 16:12, Thomas Gazagnaire <thomas@xxxxxxxxxxxxxx> wrote: > >> To echo Mort's comment, istr in Xenstore that there was a problem with many >> duplicate strings for labels, so it has a module somewhere that creates >> a Symbol.t that dedups similar strings, and also has the benefit that >> comparison can be done via fast equality rather than byte-by-byte checking. >> It also allows errors to be flagged up if (for example) duplicate symbol >> names are used in different programs. > > The downside if that approach is that you need a GC to collect dead symbols > regularly. Dave's newer versions removed that cache of symbols to keep things > simple. Ah, I was wondering where that code had gone! In the case of profiling, there shouldn't be many dead symbols (but I can see why it's bad for the Xenstore usecase). -anil _______________________________________________ MirageOS-devel mailing list MirageOS-devel@xxxxxxxxxxxxxxxxxxxx http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |