This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [10/15] Basic value access routines


>>>>> "Ulrich" == Ulrich Weigand <uweigand@de.ibm.com> writes:

Ulrich> Those are additional minor issues; the type structures are indeed
Ulrich> space critical

I have been curious about this.

It seems to me that in a given gdb session, most types will not
actually be needed.  (I haven't done the experiment though.)

If that is so, then it further seems to me that types would only be
space critical if we are instantiating them too eagerly.  This has
lead me to wonder whether lazy instantiation of types would be
beneficial.

A related idea that occurred to me is that, with Jan's type GC, we
could detach types from objfiles and "intern" them (something like
bcache-for-types).  This would only be a win if there are many
identical types distributed across objfiles, though.

Tom


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