[Mono-dev] Re. PR 1501: Mark hot functions in the runtime.
Miguel de Icaza
miguel at xamarin.com
Wed Jan 28 14:50:54 UTC 2015
There seems to have been a couple of regressions on the test suite, but it
is hard to read from the graph.
Do we know what could have caused this?
On Mon, Jan 26, 2015 at 8:45 PM, Jonathan Purdy <jonathan.purdy at xamarin.com>
> In this pull request I add GCC/Clang’s “__attribute__((hot))” to
> various hot GC functions. This increases code size a small amount, and
> makes a very small improvement in performance—see the attached graph. I
> think actually marking some slow-path/error-handling functions as
> “__attribute__((cold))” would do more to improve branch prediction in cases
> where we haven’t marked things as “G_UNLIKELY”.
> : https://github.com/mono/mono/pull/1501
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list