[ 
https://issues.apache.org/jira/browse/DISPATCH-2277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17439682#comment-17439682
 ] 

ASF GitHub Bot commented on DISPATCH-2277:
------------------------------------------

jiridanek opened a new pull request #1429:
URL: https://github.com/apache/qpid-dispatch/pull/1429


   This is still messy, but it seems to work well on Windows. The main change 
is that ALIGNED allocations now require ALIGNED free. This is only checked on 
Windows, on other platforms it does not matter.
   
   There used to be an inconsitency of allocating `tpool` both aligned and 
unaligned. I am changing this to be aligned always. This could possibly be 
fixed as its own separate bug...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


> Use _aligned_malloc/_aligned_free on Windows; these _must_ be used in pair
> --------------------------------------------------------------------------
>
>                 Key: DISPATCH-2277
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-2277
>             Project: Qpid Dispatch
>          Issue Type: Sub-task
>    Affects Versions: 1.17.0
>            Reporter: Jiri Daněk
>            Assignee: Jiri Daněk
>            Priority: Major
>
> Create a special free macro for aligned heap-allocated memory. On Windows, 
> _aligned_malloc must be paired with _aligned_free.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to