[Issue 5176] Limit static object sizes
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jun 16 03:28:06 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5176
--- Comment #5 from Michel Fortin <michel.fortin at michelf.com> 2011-06-16 06:23:20 EDT ---
(In reply to comment #0)
> To avoid this, static object sizes should be limited to a value that guarantees
> hardware memory protection (e.g. 64KB).
I think on OS X the size of that guaranty is significantly smaller, 4 Kb if I
remember well. Is it reasonable to limit structs and objects to 4 Kb on OS X?
Note that it's not only structs and objects. Types such as char[100_000]* also
pose a risk.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list