https://issues.dlang.org/show_bug.cgi?id=2834
--- Comment #31 from github-bugzi...@puremagic.com ---
Commit pushed to 2.067 at https://github.com/D-Programming-Language/druntime
https://github.com/D-Programming-Language/druntime/commit/dbbea7c5bd4d8936dc8cb523b65f771842f2a487
Merge pull request #
https://issues.dlang.org/show_bug.cgi?id=2834
--- Comment #30 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/druntime
https://github.com/D-Programming-Language/druntime/commit/dbbea7c5bd4d8936dc8cb523b65f771842f2a487
Merge pull request
https://issues.dlang.org/show_bug.cgi?id=2834
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|--
https://issues.dlang.org/show_bug.cgi?id=2834
--- Comment #29 from Andrei Alexandrescu ---
core.memory?
--
https://issues.dlang.org/show_bug.cgi?id=2834
--- Comment #28 from Orvid King ---
Where should I add it? It can't be in rt.lifetime, because that's not exposed
to the user.
--
https://issues.dlang.org/show_bug.cgi?id=2834
--- Comment #27 from Andrei Alexandrescu ---
Could you please add a function to druntime callStructDtorsDuringGC(bool)? That
would give a chance people who have issues with the called destructors to
revert back to the old behavior until they fix their
https://issues.dlang.org/show_bug.cgi?id=2834
hst...@quickfur.ath.cx changed:
What|Removed |Added
CC||hst...@quickfur.ath.cx
--- Comment #2
https://issues.dlang.org/show_bug.cgi?id=2834
--- Comment #25 from Orvid King ---
Fine by me.
--
https://issues.dlang.org/show_bug.cgi?id=2834
--- Comment #24 from Andrei Alexandrescu ---
Ready to take the big step with 2.067?
--
https://issues.dlang.org/show_bug.cgi?id=2834
--- Comment #23 from Orvid King ---
And another update.
The fix to the other issue that this encountered has already been merged, and
the main DRuntime PR has been running green on the autotester for a while now.
It's just awaiting a final review and
https://issues.dlang.org/show_bug.cgi?id=2834
--- Comment #22 from Orvid King ---
Ok, so, to give an update on this issue, I've now implemented the invoking of
destructors on heap allocated structs, as well as arrays of structs. It
required a fix to a bug in DMD with the delete operator, as well
https://issues.dlang.org/show_bug.cgi?id=2834
Rainer Schuetze changed:
What|Removed |Added
CC||r.sagita...@gmx.de
--- Comment #21 from Rai
https://issues.dlang.org/show_bug.cgi?id=2834
Dmitry Olshansky changed:
What|Removed |Added
CC||dmitry.o...@gmail.com
--- Comment #20 from
https://issues.dlang.org/show_bug.cgi?id=2834
--- Comment #19 from Orvid King ---
We still wouldn't be able to call the destructors in structs for arrays even
with precise heap scanning, because we can't know that each value in the array
is actually valid. Take for instance an array of File's,
https://issues.dlang.org/show_bug.cgi?id=2834
--- Comment #18 from Jonathan M Davis ---
(In reply to Orvid King from comment #17)
> https://github.com/D-Programming-Language/druntime/pull/864
>
> It's not feasibly possible to call destructors on heap-allocated arrays of
> structures, however thi
https://issues.dlang.org/show_bug.cgi?id=2834
Orvid King changed:
What|Removed |Added
CC||blah38...@gmail.com
--- Comment #17 from Orvid K
https://issues.dlang.org/show_bug.cgi?id=2834
David Nadlinger changed:
What|Removed |Added
CC||c...@klickverbot.at
--- Comment #16 from Da
https://issues.dlang.org/show_bug.cgi?id=2834
--- Comment #15 from Orvid King ---
Would making all the writeln's in http://dpaste.dzfl.pl/fbb4a15cda14 print out
be an acceptable solution to this issue? (that is, making heap-allocated
structs call their destructors)
--
https://issues.dlang.org/show_bug.cgi?id=2834
--- Comment #14 from Jonathan M Davis ---
(In reply to Benoit Rostykus from comment #12)
> AdRoll (the company I work for) just put a $1000 bounty on this bug:
That's quite the bounty.
--
https://issues.dlang.org/show_bug.cgi?id=2834
Jonathan M Davis changed:
What|Removed |Added
CC||jmdavisp...@gmx.com
--- Comment #13 from J
https://issues.dlang.org/show_bug.cgi?id=2834
Benoit Rostykus changed:
What|Removed |Added
CC||benoit.rosty...@adroll.com
--- Comment #12
https://d.puremagic.com/issues/show_bug.cgi?id=2834
rswhi...@googlemail.com changed:
What|Removed |Added
CC||rswhi...@googlemail.com
---
https://d.puremagic.com/issues/show_bug.cgi?id=2834
Dicebot changed:
What|Removed |Added
CC||pub...@dicebot.lv
Platform|x86
On 11/21/2010 08:20 PM, Sean Kelly wrote:
wrote:
http://d.puremagic.com/issues/show_bug.cgi?id=2834
Max Samukha changed:
What|Removed |Added
CC|
|samu...@volia
wrote:
> http://d.puremagic.com/issues/show_bug.cgi?id=2834
>
>
> Max Samukha changed:
>
>What|Removed |Added
>
> CC|
> |samu...@voliacab
http://d.puremagic.com/issues/show_bug.cgi?id=2834
--- Comment #9 from Max Samukha 2010-11-18 03:59:12
PST ---
(In reply to comment #8)
> We have a nasty problem when destructors are called on the appended elements
> because postblits was not run for them during append.
I meant the problem is
http://d.puremagic.com/issues/show_bug.cgi?id=2834
Max Samukha changed:
What|Removed |Added
CC||samu...@voliacable.com
--- Comment #8 fr
http://d.puremagic.com/issues/show_bug.cgi?id=2834
--- Comment #7 from bearophile_h...@eml.cc 2010-07-11 17:24:58 PDT ---
One case where struct destructors are not called, in this situation it seems
simpler for the GC to know what destructors to call:
import core.memory: GC;
import core.stdc.s
http://d.puremagic.com/issues/show_bug.cgi?id=2834
bearophile_h...@eml.cc changed:
What|Removed |Added
CC||bearophile_h...@eml.cc
--- Com
http://d.puremagic.com/issues/show_bug.cgi?id=2834
--- Comment #5 from Sean Kelly 2010-07-10 08:41:54 PDT
---
Fixing this will probably be fairly involved. The GC will have to store a
TypeInfo reference for each block that needs to be finalized. The best
approach may be to integrate this wit
http://d.puremagic.com/issues/show_bug.cgi?id=2834
Sean Kelly changed:
What|Removed |Added
CC||s...@invisibleduck.org
--- Comment #4 fro
http://d.puremagic.com/issues/show_bug.cgi?id=2834
nfx...@gmail.com changed:
What|Removed |Added
CC||nfx...@gmail.com
--- Comment #3 from
http://d.puremagic.com/issues/show_bug.cgi?id=2834
Rob Jacques changed:
What|Removed |Added
CC||and...@metalanguage.com
--- Comment #1 f
http://d.puremagic.com/issues/show_bug.cgi?id=2834
--- Comment #2 from Rob Jacques 2010-07-09 23:22:39 PDT ---
>From Issue 4442:
Example brought up by Sean Kelly in private correspondence:
struct S1{ ~this() { writeln("dtor"); } }
void main() {
auto a = S1();
auto b = new S1();
del
34 matches
Mail list logo