[Issue 4650] Static data that must be scanned by the GC should be grouped

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4650

Iain Buclaw  changed:

   What|Removed |Added

   Priority|P2  |P4

--


[Issue 4650] Static data that must be scanned by the GC should be grouped

2017-07-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4650

--- Comment #14 from github-bugzi...@puremagic.com ---
Commit pushed to dmd-cxx at https://github.com/dlang/druntime

https://github.com/dlang/druntime/commit/19ea3e382ac92ee70faed9372e2eb42057548ac9
Merge pull request #1180 from rainers/gcranges_data_bss

--


[Issue 4650] Static data that must be scanned by the GC should be grouped

2015-06-30 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4650

--- Comment #13 from Rainer Schuetze r.sagita...@gmx.de ---
what is the status of this with the recent pulls? Still valid, fixed?

More work needs to be done to move immutable data into the CONST segment (or
similar areas that are not scanned). It is currently limited to float values
and strings, not user defined data.

--


[Issue 4650] Static data that must be scanned by the GC should be grouped

2015-06-30 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4650

rsw0x rs...@rsw0x.me changed:

   What|Removed |Added

 CC||rs...@rsw0x.me

--- Comment #12 from rsw0x rs...@rsw0x.me ---
what is the status of this with the recent pulls? Still valid, fixed?

--


[Issue 4650] Static data that must be scanned by the GC should be grouped

2015-06-17 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4650

--- Comment #11 from github-bugzi...@puremagic.com ---
Commit pushed to stable at https://github.com/D-Programming-Language/druntime

https://github.com/D-Programming-Language/druntime/commit/19ea3e382ac92ee70faed9372e2eb42057548ac9
Merge pull request #1180 from rainers/gcranges_data_bss

--


[Issue 4650] Static data that must be scanned by the GC should be grouped

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4650

Andrei Alexandrescu and...@erdani.com changed:

   What|Removed |Added

Version|D1  D2 |D2

--


[Issue 4650] Static data that must be scanned by the GC should be grouped

2015-03-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4650

--- Comment #10 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/19ea3e382ac92ee70faed9372e2eb42057548ac9
Merge pull request #1180 from rainers/gcranges_data_bss

Issue 4650 - only scan data and bss, not const

--


[Issue 4650] Static data that must be scanned by the GC should be grouped

2015-02-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4650

--- Comment #9 from Rainer Schuetze r.sagita...@gmx.de ---
Actually the patch needs
https://github.com/D-Programming-Language/druntime/pull/1180 (and
https://github.com/D-Programming-Language/dmd/pull/4445 for Win64) to have any
effect.

--


[Issue 4650] Static data that must be scanned by the GC should be grouped

2015-02-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4650

--- Comment #8 from Rainer Schuetze r.sagita...@gmx.de ---
 Nice, so this is just moving strings/floats to a section that is not scanned 
 at  all? Or is it really grouping all the static data too?

It's currently just strings and floats. I hope other const/immutable data can
be moved, too.

--


[Issue 4650] Static data that must be scanned by the GC should be grouped

2015-02-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4650

--- Comment #6 from github-bugzi...@puremagic.com ---
Commit pushed to https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/e649c64e0e8215ee322458d8ae67e37c114d7d66
Merge pull request #4390 from rainers/const_section

--


[Issue 4650] Static data that must be scanned by the GC should be grouped

2015-02-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4650

Rainer Schuetze r.sagita...@gmx.de changed:

   What|Removed |Added

 CC||r.sagita...@gmx.de

--- Comment #3 from Rainer Schuetze r.sagita...@gmx.de ---
There is a minimal support for this for ELF object files: strings and some
floating point constants are emitted to the .text segment.

--


[Issue 4650] Static data that must be scanned by the GC should be grouped

2015-02-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4650

--- Comment #4 from Rainer Schuetze r.sagita...@gmx.de ---
Similar functionality for COFF and OMF:
https://github.com/D-Programming-Language/dmd/pull/4390

--


[Issue 4650] Static data that must be scanned by the GC should be grouped

2015-02-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4650

--- Comment #5 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/e649c64e0e8215ee322458d8ae67e37c114d7d66
Merge pull request #4390 from rainers/const_section

issue 4650 - write strings/float constants to const section

--


[Issue 4650] Static data that must be scanned by the GC should be grouped

2010-08-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4650


nfx...@gmail.com changed:

   What|Removed |Added

 CC||nfx...@gmail.com


--- Comment #2 from nfx...@gmail.com 2010-08-15 18:56:24 PDT ---
Generally the GC should only scan data for which at least hasPointers() returns
true, and that isn't logically constant (e.g. TypeInfo instances, even though
they can contain pointers/references).

Maybe implementation would be simplest by adding a a pointer range to
ModuleInfo, that tells the GC what exactly should be scanned. Ideally, static
variables for which hasPointers() is false would not be included in this range.
This should drastically reduce the amount of data needed to be scanned by the
GC, because the C data segment is not included.

An extended implementation could accompany the pointer range with a precise
pointer map.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---