This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: apparent memory increase


>>>>> "Richard" == Richard Guenther <richard.guenther@gmail.com> writes:

Richard> For big testcases I actually see a consistend reduction in
Richard> peak overall memory usage (the number if you would look at
Richard> 'top').  For small testcases I can see both ups and downs,
Richard> probably because of changes in the number and points of GC
Richard> collections (but I guess that is expected).

If you are looking with top, I suppose noise for smaller test cases
could come from differences in the overhead imposed by the GC versus
an obstack.  Also the new scheme wastes some amount of memory per
identifier -- on average, half the minimum allocation size.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]