• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: GC pros and cons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: GC pros and cons (From: James Gregurich <email@hidden>)
 >Re: GC pros and cons (From: WT <email@hidden>)
 >Re: GC pros and cons (From: Graham Cox <email@hidden>)
 >Re: GC pros and cons (From: WT <email@hidden>)
 >Re: GC pros and cons (From: Graham Cox <email@hidden>)
 >Re: GC pros and cons (From: Bill Bumgarner <email@hidden>)
 >Re: GC pros and cons (From: Jeff Johnson <email@hidden>)
 >Re: GC pros and cons (From: Nick Zitzmann <email@hidden>)
 >Re: GC pros and cons (From: Bill Bumgarner <email@hidden>)

  • Prev by Date: Re: GC pros and cons
  • Next by Date: Re: Base SDK and deployment target Q
  • Previous by thread: Re: GC pros and cons
  • Next by thread: Re: GC pros and cons
  • Index(es):
    • Date
    • Thread