Re: GC pros and cons
Re: GC pros and cons
- Subject: Re: GC pros and cons
- From: Michael Ash <email@hidden>
- Date: Sat, 27 Jun 2009 21:40:32 -0400
On Sat, Jun 27, 2009 at 7:27 PM, Bill Bumgarner<email@hidden> wrote:
> On Jun 27, 2009, at 6:05 PM, Nick Zitzmann wrote:
>>
>> That, and 64-bit GC apps allocate a whopping 32 GB of VM on startup on
>> Leopard, which might scare a few people that (1) watch Activity Monitor like
>> a hawk, and (2) think that VM == swap. Most people won't notice, though.
>
> It actually isn't 32GB Of VM, even. The collector reserves 32GB of
> contiguous addresses, which shows up as VM in Activity Monitor. None of
> the pages are touched, though, so it is -- as you note -- completely
> innocuous.
>
> But hard to explain, which is a well understood problem and steps have been
> taken to improve the situation.
But that's what VM means: address space. So Activity Monitor is
correct to show it, it's just that users interpret the number
incorrectly. I think the main solution here is education. It's not
like the garbage collector is going to be the only piece of code out
there taking advantage of 64-bit addressing by allocating huge swaths
of address space for their own uses.
Improving things on the OS side sounds like a good idea as long as it
doesn't make Activity Monitor less useful for people who know what the
numbers mean....
Mike
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden