Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
Description
Before the aligned_malloc() portability wrapper was introduced, InnoDB used a pattern of over-allocating a memory block and then invoking ut_align() to guarantee the desired alignment.
It is cleaner to invoke aligned_malloc() and aligned_free() directly. Because there is no legitimate use of ut_align(), it should be removed. In assertions, ut_align_down() can be used instead.
Attachments
Issue Links
- relates to
-
MDEV-14602 Reduce malloc()/free() usage in InnoDB
-
- Confirmed
-
Activity
Field | Original Value | New Value |
---|---|---|
Link | This issue relates to MDEV-14602 [ MDEV-14602 ] |
issue.field.resolutiondate | 2019-12-05 04:48:11.0 | 2019-12-05 04:48:11.402 |
Fix Version/s | 10.5.1 [ 24029 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Fixing Priority | 250 |
Workflow | MariaDB v3 [ 101653 ] | MariaDB v4 [ 134152 ] |