Parrot 6.4.0 "Double-eyed Fig Parrot" | parrot.org/ | Log: irclog.perlgeek.de/parrot | #parrotsketch meeting Tuesday 19:30 UTC
Set by moderator on 25 May 2014.
dalek rrot/rurban/pmc2c_orig2: a608fd9 | rurban++ | src/pmc/ (12 files):
[pmc] fix wrong WB annotations

and add needed manual WBs
01:09
rrot/rurban/pmc2c_orig2: be9f62c | rurban++ | lib/Parrot/Pmc2c/Method.pm:
[pmc2c] Method::decl fix Possibly forgotten UNUSED warning

for the WB rewrite.
rrot/rurban/pmc2c_orig2: 7dce3c1 | rurban++ | lib/Parrot/Pmc2c/PCCMETHOD.pm:
[pmc] support RETURN(PMC* const ...) and (INTVAL pos>>32)

const is no variable name. And allow full expressions as return value, not just names. just skip ptr dereferences /^\\**/
rrot/rurban/pmc2c_orig2: 5b51715 | rurban++ | t/pmc/fixedstringarray.t:
[test] move test_gc to the end of t/pmc/fixedstringarray.t

all other tests pass fine, even with wrong write barriers
Heuristic branch merge: pushed 19 commits to parrot/rurban/pmc2c_orig2 by rurban 01:16
01:34 FROGGS_ joined 05:10 rurban1 joined 06:21 bighugedog joined 06:44 basiliscos joined 06:57 rurban joined 07:20 rurban joined 07:54 autark joined 08:21 rurban joined 09:22 rurban joined 09:47 Psyche^ joined 10:23 rurban joined 10:42 bighugedog joined 11:25 rurban joined 11:48 drift joined 12:26 rurban joined 13:02 rurban joined 13:26 bluescreen joined 13:39 bluescreen joined 14:49 rurban joined 15:00 Chirag joined
Chirag rurban: "all the WBs were wrong" ?? 15:02
rurban_ yes 15:10
Chirag how?
rurban_ I'm writing down the rules now in the ticket (need to add it to a pdd also) 15:13
Chirag ok.. back to square one? 15:14
rurban_ See github.com/parrot/parrot/issues/1069 15:18
I already fixed most in rurban/pmc2c_orig2
Chirag i ll fix the rest.. 15:20
even I will create a new branch?
rurban_ No need for a new branch, We need to rebase it multiple times anyway 15:22
Chirag ok
dalek rrot/rurban/gc-scan: e2c0aba | rurban++ | / (2 files):
[tools] add tools/dev/vgp_old using parrot_old

building parrot_old is much faster than parrot, when tracing leaks
15:26
rrot/rurban/gc-scan: 8cdf3bd | rurban++ | src/gc/system.c:
[gc] simplify the stack scanning loop

just inc the stack ptr reverse the hi <=> lo markers to make sense comment the unsafe ptr dereference here, where asan and valgrind do complain.
rurban_ I updated the instructions in github.com/parrot/parrot/issues/1069 15:50
Now it passes the prev failing WB tests 16:14
I'll check now all methods and compare against src/vtable/tbl :write
Chirag ok.. 16:19
t/op/gc.t still fails for me 17:57
t/pmc/fixedstringarray.t gives seg fault after 46 18:05
rurban_ I'll push my fixup's soon. rebase it later 18:26
Chirag alright.. 18:29
rurban_ a good test is also: perl t/harness --gc-debug t/pmc/*.t 18:31
this runs a GC at each op 18:32
Chirag quite a lot fail 18:33
rurban_ for me only t/pmc/namespace-old.t strill fails 18:56
but I'm still fixing tons of errors 19:04
dalek rrot/rurban/pmc2c_orig2: 3e7b3a9 | rurban++ | lib/Parrot/Pmc2c/PCCMETHOD.pm:
[pmc2c] support RETURN(PMC* const ...) and (INTVAL pos>>32)

const is no variable name. allow full expressions as return value, not just names.
just skip ptr dereferences /^\\**/. Note that the * return syntax is flawed, as we should support both cases, return *ptr; and return ptr; But we get away with it as we return only return (decl)*ptr and return (decl*)ptr;
20:43
rrot/rurban/pmc2c_orig2: bf3896f | rurban++ | t/pmc/fixedstringarray.t:
[test] move test_gc to the end of t/pmc/fixedstringarray.t

all other tests pass fine, even with wrong write barriers
rrot/rurban/pmc2c_orig2: 6c4b317 | rurban++ | / (2 files):
[tools] add tools/dev/vgp_old using parrot_old

building parrot_old is much faster than parrot, when tracing leaks
rrot/rurban/pmc2c_orig2: d89d02e | rurban++ | src/gc/system.c:
[gc] simplify the stack scanning loop

just inc the stack ptr reverse the hi <=> lo markers to make sense comment the unsafe ptr dereference here, where asan and valgrind do complain.
rrot/rurban/pmc2c_orig2: ee33e2f | rurban++ | src/pmc/task.pmc:
Revert "[pmc] task: WB related errors"

This reverts commit ab201b1657795217c95c7f62c8f1bf71418687b0.
rrot/rurban/pmc2c_orig2: 2d82f76 | rurban++ | src/ (88 files):
[pmc] Fixup most WBs. :no_wb for all non-writers, ... [1/2]

  :manual_wb on VTABLE method calls on SELF which to a WB (avoid duplicates).
See new description at github.com/parrot/parrot/issues/1069
rurban_ missing WBs: g grep -n " VTABLE " src/pmc | egrep "(get_|clone|exist|defined|mark|is_|cmp)" | grep -v wb 20:45
dalek rrot/rurban/pmc2c_orig2: f6bc0cc | rurban++ | src/pmc/ (41 files):
[pmc] Fixup most WBs [2/2]

  :no_wb on non-writers, :manual_wb on VTABLE method calls on SELF which to a WB (avoid duplicates).
See new description at github.com/parrot/parrot/issues/1069 Some UNUSED missing.
Still the same 2 regressions: t/op/gc.t (Wstat: 11 Tests: 19 Failed: 0)
   Non-zero wait status: 11
   Parse errors: No plan found in TAP output
t/pmc/namespace-old.t (Wstat: 1024 Tests: 38 Failed: 4)
   Failed tests: 27-30
   Non-zero exit status: 4
22:30
rrot/rurban/pmc2c_orig2: 287f951 | rurban++ | src/pmc/ (10 files):
[pmc] add more UNUSED for :no_wb methods

also remove a wrong task WB
23:07
23:36 sorear joined 23:44 rurban joined
rurban optimized write barriers are 2.46% faster: github.com/parrot/parrot-bench 23:44