Bug 14922 – 'new' does not provide information about the sharedness or immutability to the GC

Status
NEW
Severity
normal
Priority
P3
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-08-15T01:38:19Z
Last change time
2024-12-07T13:35:39Z
Assigned to
No Owner
Creator
rsw0x
Moved to GitHub: dmd#17145 →

Comments

Comment #0 by rsw0x — 2015-08-15T01:38:19Z
Neither RTTI nor RTInfo can convey any information about the (im)mutability or sharedness of an allocation to the GC. This makes it impossible to write a GC that takes advantage of immutability/sharedness.
Comment #1 by robert.schadek — 2024-12-07T13:35:39Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17145 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB