Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
2Activity
0 of .
Results for:
No results containing your search query
P. 1
Garbage Collection in Flash - The Atomic Model

Garbage Collection in Flash - The Atomic Model

Ratings:

5.0

(1)
|Views: 671 |Likes:
Published by Ed McManus

More info:

Published by: Ed McManus on Mar 26, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PPT, PDF, TXT or read online from Scribd
See more
See less

06/16/2009

pdf

text

original

 
2005 Adobe Systems Incorporated. All Rights Reserved.1
GarbageCollection
Alex Harui
Flex SDK 
Adobe Systems, Inc.
 
2005 Adobe Systems Incorporated. All Rights Reserved.2
Garbage Collection: Atomic Model
By “Atomic Model” I mean that this is a model of how garbagecollection works in the player, not a technical, exactdescription. That’s because:
 The actual behavior is complex and difficult to describe (just like we don’treally know what atoms are made of, we just have a model which works forus).
 The player may change it at some point
 This model has worked for me so far.
 
2005 Adobe Systems Incorporated. All Rights Reserved.3
Flash Player Memory Management
Many Flash memory allocations are small and of common sizes
Lots of small, frequent OS memory allocations can be slow
Flash grabs large chunks of memory from the OS less often
A single large chunk is carved into a pool of small blocks of afixed size
Big chunks for Bitmaps, Files, etc are not pooled
 
256 bytes256 bytes256 bytes
 
256 bytes256 bytes
 
256 bytes256 bytes256 bytes
 
256 bytes
 
256 bytes512 bytes512 bytes512 bytes512 bytes512 bytes

Activity (2)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->