AndreaRibuoli (Andrea Ribuoli)
- Login: AndreaRibuoli
- Registered on: 11/27/2020
- Last sign in: 10/03/2021
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 1 | 0 | 1 |
Activity
12/02/2020
-
11:06 AM Ruby Feature #17356: Alignment of memory allocated through Fiddle struct's malloc
- FYI.
I was informed by IBM that IBM i PASE *malloc* always returns 16-byte aligned memory!
This differs from AIX (that is not my target).
So my patch seems to be
* redundant for my environment and
* unsafe in other platforms.
None...
12/01/2020
-
06:32 AM Ruby Feature #17356: Alignment of memory allocated through Fiddle struct's malloc
- Right now the change I have introduced manually is fine for me. I was wondering if there was a simple way to #ifdef the change in the macro invocation in `gc.c` so that I can re-introduce it easily in future releases by setting a define...
11/30/2020
-
08:25 AM Ruby Feature #17356 (Open): Alignment of memory allocated through Fiddle struct's malloc
- I am testing a low-level patch for **Ruby 3** that inside *gc.c* replaces:
`TRY_WITH_GC(size, mem = malloc(size));`
with:
`TRY_WITH_GC(size, mem = aligned_alloc(16,size));`
This should allow me to control that Fiddle retu...