[Gc] Environment vars support for WinCE

Hans Boehm Hans.Boehm at hp.com
Tue Dec 8 01:12:51 PST 2009


OK.  That's fine.  Not a big deal. And I can certainly see that it's 
useful.

Thanks.

Hans

On Tue, 8 Dec 2009, Ivan Maidanski wrote:

> Hi!
> "Boehm, Hans" <hans.boehm at hp.com> wrote:
>> Looks good.
>>
>> However, I would still prefer to minimize non-bug-fix patches until 
>> after 7..2. This one seems pretty low risk, but it might still make 
>> sense to postpone it until after 7.2.
>
> This is guarded with a macro (which is off by default) except for 
> setting pagesize and win32 sysinfo earlier (I moved them upper to be 
> before setting GC_print_stats and friends) but this is ok since 
> pagesize/sysinfo values are obtained entirely from OS. I appology for 
> breaking the non-bugfix-patches-only policy but this was risen by a 
> practical issue of tuning/testing GC on a WinCE platform which lacks 
> getenv making the former harder.
>
>>
>> Hans
>>
>>> -----Original Message-----
>>> From: gc-bounces at napali.hpl.hp.com
>>> [mailto:gc-bounces at napali.hpl.hp.com] On Behalf Of Ivan Maidanski
>>> Sent: Monday, December 07, 2009 9:27 AM
>>> To: gc at napali.hpl.hp.com
>>> Subject: [Gc] Environment vars support for WinCE
>>>
>>> Hi!
>>>
>>> I've added "getenv" support for WinCE. It works as follows:
>>> GC_init reads name=value pairs (one per line) from
>>> <progname>.gc.env file into an allocated buffer, and getenv()
>>> implementation parses that buffer. The support is turned on
>>> with -D GC_READ_ENV_FILE (works only for Win32, WinCE and Cygwin).
>
> Bye.
> _______________________________________________
> Gc mailing list
> Gc at linux.hpl.hp.com
> http://www.hpl.hp.com/hosted/linux/mail-archives/gc/
>


More information about the Gc mailing list