This is the mail archive of the
mailing list for the GCC project.
Re: incremental compiler project
- From: Jeff Law <law at redhat dot com>
- To: David Kunsman <dmkunsman at gmail dot com>, Tom Tromey <tom at tromey dot com>
- Cc: Manuel LÃpez-IbÃÃez <lopezibanez at gmail dot com>, GCC Development <gcc at gcc dot gnu dot org>
- Date: Fri, 4 Sep 2015 09:44:14 -0600
- Subject: Re: incremental compiler project
- Authentication-results: sourceware.org; auth=none
- References: <CAPVyUPD0eAyAuPOktpjqpY=UKx0t2YEvFQxMUMY2Lv2pwUAjLA at mail dot gmail dot com> <55E87708 dot 7010901 at gmail dot com> <87twrap6c2 dot fsf at tromey dot com> <CAPVyUPDX9YiCSp8WjafmuYpwAqx4jt-2r_7U4XXO4Zg_HmuzgQ at mail dot gmail dot com>
On 09/04/2015 09:40 AM, David Kunsman wrote:
You should get in contact with David Malcolm as these issues are
directly related to his JIT work.
what do you think about the sub project in the wiki:
One approach is to make the front end multi-threaded. (I've pretty
much abandoned this idea. There are too many mutable tree fields,
making this a difficult project. Also, threads do not interact well
with fork, which is currently needed by the code generation approach.)
Yes, but that's work that is already in progress. Right now David's got
a big log and context switch in place, but we really want to drive down
the amount of stuff in that context switch.
This will entail removing most global variables, marking some with
__thread, and wrapping a few with locks.