ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl6-internals
perl6-internals
Re: GMC for dummies
by Leopold Toetsch other posts by this author
Jul 17 2005 3:07AM messages near this date
Re: GMC for dummies | Re: GMC for dummies
Bob Rogers wrote:
>     From: Leopold Toetsch <lt@[...].at>
>     Date: Sat, 16 Jul 2005 11:38:41 +0200
>  
>     . . .
>  
>     We keep the invariant by several means:
>     . . .
>     c) a write barrier checks pointer stores into aggregates (by just 
>     comparing 2 memory addresses - basically)
>        we can do either:
>        - make aggregate younger (move to left)
>        - make stored-into object older (move to right)
>        - remember in IGP
>  
>  What happens when a store creates a cycle?  And how would this be
>  detected?

To keep the invariant we can't move the container nor the contained 
object, *if* both are aggregates. Therefore the pointer store will be 
recorded on the IGP list. Thus there is no need to detect cycles.

>  					-- Bob

leo
Thread:
Nattfodd
Nattfodd
Leopold Toetsch
Bob Rogers
Leopold Toetsch
Bob Rogers
Leopold Toetsch
Bob Rogers
Leopold Toetsch
Nattfodd
Bob Rogers
Alexandre Buisse
Bob Rogers
Nicholas Clark
Bob Rogers
Nattfodd
Bob Rogers
Nattfodd
Leopold Toetsch
Nattfodd
Leopold Toetsch
Nattfodd

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved