Peter Memishian <[EMAIL PROTECTED]> wrote:
>
> > I think this is more in the range of megabytes since the kernel is full
> > of duplicate strings.
>
> The waste is certainly noticeable on DEBUG kernels. In fact, there's
> currently a P1 bug (6522961) open that DEBUG kernels are overflowing the
> 4M nucleus text page because of all the duplicate text strings in ASSERT()
> messages (especially __FILE__). Roland, you will be happy to hear that
> one of the proposals on the table is to enable -xstrconst for the kernel.
I am not sure whether the compiler will ever be able to avoid duplicate
strings that result from strinmgs in different source files.
Jörg
--
EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
[EMAIL PROTECTED] (uni)
[EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code