[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


Hello Jonathan,

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>
wrote:

> In this pull request[1] 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”.
>
> [1]: https://github.com/mono/mono/pull/1501
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20150128/9e9eb2d8/attachment.html>


More information about the Mono-devel-list mailing list