Google Groups Home
Help | Sign in
Message from discussion Rethinking caching
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Jonas Sicking  
View profile
 More options Sep 19 2006, 7:49 pm
Newsgroups: mozilla.dev.platform, mozilla.dev.performance
From: Jonas Sicking <jonas.rem...@me.sicking.cc>
Date: Tue, 19 Sep 2006 16:49:16 -0700
Local: Tues, Sep 19 2006 7:49 pm
Subject: Re: Rethinking caching

Axel Hecht wrote:
> If our cached data would be already paged out, evicting items would
> actually page them back in first, right? I wonder if we have a good idea
> on when OSes page out to get rid of our not-so-used items before that
> happens.

I think if we were to just |free()| the cached items then they wouldn't
get paged in even if they were paged out. At least i'd hope that's the
case. However if the cached items are C++ objects that we |delete| and
in their dtor access a bunch of members then we'd probably end up
swapping in the memory.

/ Jonas


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google