Skip to content

Conversation

@segevfiner
Copy link
Contributor

@segevfiner segevfiner commented Jul 24, 2017

..\Modules\_tracemalloc.c(88): warning C4359: '<unnamed-tag>': Alignment specifier is less than actual alignment (8), and will be ignored.

The _tracemalloc frame_t packing optimization is not working in Windows x64.

For this to actually work we simply need to use #pragma pack instead.

https://bugs.python.org/issue31018

@vstinner
Copy link
Member

Thanks. Packing is just an optimization to reduce the memory footprint. It's up to you to decide if it's worth it to backport the change to 3.6 (and maybe also 3.5).

@segevfiner segevfiner deleted the bpo-31018-tracemalloc-pack-optimization branch July 25, 2017 16:32
segevfiner added a commit to segevfiner/cpython that referenced this pull request Jul 25, 2017
segevfiner added a commit to segevfiner/cpython that referenced this pull request Jul 25, 2017
@segevfiner
Copy link
Contributor Author

Since it's small... might as well.

vstinner pushed a commit that referenced this pull request Jul 25, 2017
vstinner pushed a commit that referenced this pull request Jul 25, 2017
corona10 pushed a commit to corona10/cpython that referenced this pull request Jul 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants