[Issue 3463] Integrate Precise Heap Scanning Into the GC

2010-07-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 --- Comment #34 from nfx...@gmail.com 2010-07-21 11:57:02 PDT --- I don't really use D2 (all my code is in D1). Porting it to D2 will require dealing with the recently added array append stuff. Not sure how hard that would be, but currently I ha

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2010-07-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 nfx...@gmail.com changed: What|Removed |Added Attachment #681 is|0 |1 obsolete|

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2010-07-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 nfx...@gmail.com changed: What|Removed |Added Attachment #689 is|0 |1 obsolete|

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2010-07-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 --- Comment #31 from Leandro Lucarella 2010-07-21 08:38:06 PDT --- (In reply to comment #30) > Hm... I'd love to get this into D2, but the diffs are a bit large to apply by > hand. I don't suppose you'd be inclined to provide a D2 patch as we

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2010-07-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 --- Comment #30 from Sean Kelly 2010-07-21 07:21:06 PDT --- Hm... I'd love to get this into D2, but the diffs are a bit large to apply by hand. I don't suppose you'd be inclined to provide a D2 patch as well? It should be pretty similar to t

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2010-07-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 --- Comment #29 from Leandro Lucarella 2010-07-20 20:01:30 PDT --- Woops! I'm sorry about the noise, I just found out what the problem was. I was trying building DMD as a 64 bits app, so sizeof(size_t) was 8, but the generated code was 32 bits

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2010-07-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 --- Comment #28 from Leandro Lucarella 2010-07-20 19:51:19 PDT --- Some extra info: (gdb) up #5 0x004679d4 in VarDeclaration::fillPointerMap (this=0x1130700, pm=0x7fff15974fc0, a_offset=0) at declaration.c:1379 1379type->

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2010-07-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 --- Comment #27 from Leandro Lucarella 2010-07-20 19:33:05 PDT --- I'm trying to test this patch but I'm having some problems compiling Tango (I'm using 0.99.9, not trunk). With the patched DMD, I get this error: dmd: mtype.c:5671: void Point

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2010-07-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 --- Comment #26 from nfx...@gmail.com 2010-07-18 14:20:24 PDT --- @Sean Kelly: you said something about different ways of storing the mask. Do you have any more concrete suggestions? -- Configure issuemail: http://d.puremagic.com/issues/userpr

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2010-07-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 --- Comment #25 from Leandro Lucarella 2010-07-04 08:05:15 PDT --- (In reply to comment #23) > I just voted for it. It would be great if you could define some benchmarks by > which you assess the improvements your approach is bringing. I will

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2010-07-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 --- Comment #24 from David Simcha 2010-07-02 18:29:07 PDT --- I'm thoroughly impressed. Now that someone wrote a better patch than I did, with some of the plumbing issues resolved, I wish I could just use all 10 votes on it. Then again, I've

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2010-07-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 Andrei Alexandrescu changed: What|Removed |Added CC||and...@metalanguage.com --- Comm

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2010-07-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 Rob Jacques changed: What|Removed |Added CC||sandf...@jhu.edu --- Comment #22 from Ro

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2010-07-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 --- Comment #21 from Leandro Lucarella 2010-07-02 05:41:22 PDT --- I care! But I guess that if I'm the only one you are wasting your time :) I'd suggest to bring it up in the DMD (or even druntime, but I guess that one is D2-only) devel list:

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2010-07-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc --- Com

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2010-07-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 --- Comment #19 from nfx...@gmail.com 2010-07-02 03:02:40 PDT --- I also wanted to make scanning of AA nodes precise, but it turned out the compiler never passes the TypeInfo of AA values to the runtime functions. I guess I could hack the compil

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2010-07-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 nfx...@gmail.com changed: What|Removed |Added Attachment #682 is|0 |1 obsolete|

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2010-06-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 --- Comment #17 from nfx...@gmail.com 2010-06-27 14:49:50 PDT --- PS: I forgot to handle TypeInfo_Typedef. Apply this change in object_.d: @@ -370,6 +370,7 @@ class TypeInfo_Typedef : TypeInfo override TypeInfo next() { return base; }

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2010-06-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 nfx...@gmail.com changed: What|Removed |Added Attachment #680 is|0 |1 obsolete|

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2010-06-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 --- Comment #15 from nfx...@gmail.com 2010-06-27 14:21:58 PDT --- I posted two patches to enable precise GC heap scanning under D1/Tango. All user programs will make use of the precise scanning; no modifications required. The dmd patch makes dm

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2010-06-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 --- Comment #14 from nfx...@gmail.com 2010-06-27 14:08:34 PDT --- Created an attachment (id=681) D1 - patch for Tango's runtime to enable precise GC scanning -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ---

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2010-06-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 --- Comment #13 from nfx...@gmail.com 2010-06-27 14:07:33 PDT --- Created an attachment (id=680) D1 - patch for dmd for creating pointer bitmasks -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are rec

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2010-06-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 --- Comment #12 from Sean Kelly 2010-06-08 12:22:20 PDT --- Yeah, the patch doesn't work any more. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2010-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 nfx...@gmail.com changed: What|Removed |Added CC||nfx...@gmail.com --- Comment #11 fro

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2009-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 Sean Kelly changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #9 from Sean Kelly

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2009-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 --- Comment #10 from David Simcha 2009-11-03 08:18:35 PST --- Just one thing to keep in mind: Heap scanning is only precise if the mask information is passed to GC.malloc. This only happens if you use one of my templates or call GC.malloc di

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2009-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 --- Comment #8 from David Simcha 2009-11-03 08:06:43 PST --- (In reply to comment #7) > Nice work! It may be preferable to store the pointer elsewhere however. I > believe all blocks returned by the allocator must be 16 byte-aligned, so > tac

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2009-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 --- Comment #7 from Sean Kelly 2009-11-03 07:52:44 PST --- Nice work! It may be preferable to store the pointer elsewhere however. I believe all blocks returned by the allocator must be 16 byte-aligned, so tacking a pointer onto the end of a

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2009-11-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 --- Comment #6 from David Simcha 2009-11-01 12:36:22 PST --- > > 3. The mixin is because I needed a lot of the same logic in realloc() and > > extend() and it was complicated enough that I felt it was the lesser of two > > evils to use a mixin

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2009-11-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 --- Comment #5 from Leandro Lucarella 2009-11-01 12:31:57 PST --- (In reply to comment #4) > 1. I chose to store the bitmask after SENTINEL_POST so that none of the > assumptions of the sentinel code (such as that the sentinel is immediately

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2009-11-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 --- Comment #4 from David Simcha 2009-11-01 11:49:58 PST --- 1. I chose to store the bitmask after SENTINEL_POST so that none of the assumptions of the sentinel code (such as that the sentinel is immediately after the data) changes. 2. The f

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2009-11-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 Leandro Lucarella changed: What|Removed |Added CC||llu...@gmail.com --- Comment #3 fr

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2009-11-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 David Simcha changed: What|Removed |Added Attachment #487 is|0 |1 obsolete|

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2009-11-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 --- Comment #1 from David Simcha 2009-11-01 10:46:03 PST --- Created an attachment (id=488) Templates to generate bit masks, documentation of format. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You ar

<    1   2