Re: detecting missing roots and other GC mistakes

2013-12-16 Thread Nicholas Clark
On Mon, Dec 16, 2013 at 07:58:06PM +0100, Tobias Leich wrote: > I don't think they can move... > > value_obj is only used from its assignment to before an allocation. Same > goes for base_obj. [reply below because I think that it makes more sense] > Am 15.12.2013 21:50, schrieb Nicholas Clark: >

Re: detecting missing roots and other GC mistakes

2013-12-16 Thread Tobias Leich
I don't think they can move... value_obj is only used from its assignment to before an allocation. Same goes for base_obj. Am 15.12.2013 21:50, schrieb Nicholas Clark: > On Sun, Dec 15, 2013 at 05:56:40PM +, Nicholas Clark wrote: > >> With this, all NQP tests pass I can build the Rakudo setti

Re: how to handle debug code?

2013-12-16 Thread Will Coleda
I would start with http://strangelyconsistent.org/blog/macros-what-are-they-really for a way to parse but not execute potentially expensive debug code. On Sun, Dec 15, 2013 at 10:49 PM, Richard Hainsworth wrote: > What should be the perl6 idiom for handling debug code? > > I am writing a prog

how to handle debug code?

2013-12-16 Thread Richard Hainsworth
What should be the perl6 idiom for handling debug code? I am writing a program that will be run with large values and take some time when it is clear that it is running correctly. In order to ensure that the program is correct, I have added code to generate and output intermediate results. I

Re: detecting missing roots and other GC mistakes

2013-12-16 Thread Nicholas Clark
On Sun, Dec 15, 2013 at 08:50:27PM +, Nicholas Clark wrote: > On Sun, Dec 15, 2013 at 05:56:40PM +, Nicholas Clark wrote: > > > With this, all NQP tests pass I can build the Rakudo setting, with a nursery > > size of 2048K. > > > > I have now written a script that will attempt to repeated