This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, MELT] fix useless forcing of GCC garbage collector
- From: Pierre Vittet <piervit at pvittet dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 09 May 2011 14:15:30 +0200
- Subject: [PATCH, MELT] fix useless forcing of GCC garbage collector
This patch is for the MELT branch.
My GCC contributor number is 634276.
After speaking with Basile Starynkevitch, we saw that there might be a
useless forcing of the garbage collector in melt-runtime.c . I tested
with the patch, and I haven't seen any problem (I could compile GCC,
using a MELT plugin with the patched version).
I have also measured a small time improvement while compiling the file
gcc.c (which is more that 8000 lines):
Whithout the modification:
user sys
1.563 0.145s
With the modification:
user sys
1.144 0.106s
Changelog:
2011-05-09 Pierre Vittet <piervit@pvittet.com>
* melt-runtime.c: Remove variable forcing the garbage collector while
it was not needed.
Thanks
Pierre Vittet
Attachment:
not_forcing_garbcoll_call.diff
Description: Text document