GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||
GeezerVison is showing github.com — gh-124855: Don't allow the JIT and perf support to be active at the same time by pablogsal · Pull Request #124856 · python/cpython Conversation
|
|
Do we need to update the documentation here? https://docs.python.org/3.14/library/sys.html#sys.activate_stack_trampoline |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Good call! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Signed-off-by: Pablo Galindo <[email protected]>
| #ifdef _Py_JIT | ||
| _PyOptimizerObject* optimizer = _Py_GetOptimizer(); | ||
| if (optimizer != NULL) { | ||
| PyErr_SetString(PyExc_ValueError, "Cannot activate the perf trampoline if the JIT is active"); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
You're forgetting a Py_DECREF(optimizer) I think.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
@pablogsal I'm pretty certain there's a refleak here :(
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
On it, sorry I had this on auto-land and I missed your comment :(
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.