Skip to content

gh-90815: Fix test_embed for Windows PGO build with mimalloc - #94790

Merged
miss-islington merged 3 commits into
python:mainfrom
neonene:pgcgen
Jul 13, 2022
Merged

miss-islington merged 3 commits into
python:mainfrom
neonene:pgcgen

Conversation

@neonene

@neonene neonene commented Jul 12, 2022 •

Copy link
Copy Markdown
Contributor

Fixes the failure of PGO building with mimalloc on Windows, ensuring that test_bpo20891 does not break profiling data (python31*.pgc).

Automerge-Triggered-By: GH:tiran

@neonene

neonene commented Jul 12, 2022

Copy link
Copy Markdown
Contributor Author

@ericsnowcurrently Could you take a look at this patch, please?

@tiran

tiran commented Jul 13, 2022

Copy link
Copy Markdown
Member

@neonene This looks like a general fix that should be backported to 3.11 and 3.10, too. Do you agree?

@neonene

neonene commented Jul 13, 2022 •

Copy link
Copy Markdown
Contributor Author

I agree. This patch would be better for profiling on 3.11 and 3.10.

@miss-islington
miss-islington merged commit 4a6bb30 into python:main Jul 13, 2022
@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @neonene for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11.
🐍🍒⛏🤖

@bedevere-bot

Copy link
Copy Markdown

GH-94805 is a backport of this pull request to the 3.11 branch.

@bedevere-bot

Copy link
Copy Markdown

GH-94806 is a backport of this pull request to the 3.10 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 13, 2022
…ythonGH-94790)

Fixes the failure of PGO building with `mimalloc` on Windows, ensuring that `test_bpo20891` does not break profiling data (`python31*.pgc`).
(cherry picked from commit 4a6bb30)

Co-authored-by: neonene <53406459+neonene@users.noreply.github.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 13, 2022
…ythonGH-94790)

Fixes the failure of PGO building with `mimalloc` on Windows, ensuring that `test_bpo20891` does not break profiling data (`python31*.pgc`).
(cherry picked from commit 4a6bb30)

Co-authored-by: neonene <53406459+neonene@users.noreply.github.com>
miss-islington added a commit that referenced this pull request Jul 13, 2022
Fixes the failure of PGO building with `mimalloc` on Windows, ensuring that `test_bpo20891` does not break profiling data (`python31*.pgc`).
(cherry picked from commit 4a6bb30)

Co-authored-by: neonene <53406459+neonene@users.noreply.github.com>
miss-islington added a commit that referenced this pull request Jul 13, 2022
Fixes the failure of PGO building with `mimalloc` on Windows, ensuring that `test_bpo20891` does not break profiling data (`python31*.pgc`).
(cherry picked from commit 4a6bb30)

Co-authored-by: neonene <53406459+neonene@users.noreply.github.com>
@neonene
neonene deleted the pgcgen branch July 13, 2022 16:54
@ericsnowcurrently

Copy link
Copy Markdown
Member

(FTR: gh-65090)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

6 participants