Re: [dev-servo] meeting notes (COW DOM)

2014-07-09 Thread Robert O'Callahan
On Thu, Jul 10, 2014 at 9:56 AM, Patrick Walton wrote: > On 7/9/14 2:48 PM, Robert O'Callahan wrote: > >> If you think so, then I think we *should* be considering GC+CC for Servo. >> >> Crazy idea: could it even make sense for JS GC to use a traced nursery >> and a refcounted+CC tenured space? >>

Re: [dev-servo] meeting notes (COW DOM)

2014-07-09 Thread Robert O'Callahan
On Thu, Jul 10, 2014 at 9:53 AM, Patrick Walton wrote: > On 7/8/14 1:23 PM, smaug wrote: > >> In general issues with GC handling are security bugs, but in CC they >> lead to leaks. >> > > This is not the case in Servo, though; we should be foolproof for both. > I'm definitely not willing to compr

Re: [dev-servo] meeting notes (COW DOM)

2014-07-09 Thread Cameron Zwarich
On Jul 9, 2014, at 2:48 PM, Robert O'Callahan wrote: > On Wed, Jul 9, 2014 at 8:23 AM, smaug wrote: > >> In general issues with GC handling are security bugs, but in CC they lead >> to leaks. >> >> I could note that max median CC times have been lower than max GC slice >> times at least since

Re: [dev-servo] meeting notes (COW DOM)

2014-07-09 Thread Patrick Walton
On 7/9/14 2:48 PM, Robert O'Callahan wrote: If you think so, then I think we *should* be considering GC+CC for Servo. Crazy idea: could it even make sense for JS GC to use a traced nursery and a refcounted+CC tenured space? This is more or less how RC-immix works, right? http://users.cecs.anu

Re: [dev-servo] meeting notes (COW DOM)

2014-07-09 Thread Patrick Walton
On 7/8/14 1:23 PM, smaug wrote: In general issues with GC handling are security bugs, but in CC they lead to leaks. This is not the case in Servo, though; we should be foolproof for both. I'm definitely not willing to compromise on memory safety. :) Blink doesn't have a collector for refcou

Re: [dev-servo] meeting notes (COW DOM)

2014-07-09 Thread Robert O'Callahan
On Wed, Jul 9, 2014 at 8:23 AM, smaug wrote: > In general issues with GC handling are security bugs, but in CC they lead > to leaks. > > I could note that max median CC times have been lower than max GC slice > times at least since early 2012. > CC needs to deal with possible garbage only, GC ten

Re: [dev-servo] meeting notes (COW DOM)

2014-07-09 Thread smaug
On 07/08/2014 05:56 AM, Patrick Walton wrote: On 7/7/14 7:11 PM, Robert O'Callahan wrote: Difficult, definitely. Performance problem ... now that we have incremental CC and bunch of other optimizations, I feel like it isn't. At least compared to any other viable GC approach, all of which have th