Repository navigation
Store prepare code config on CEEInfo - #134168
Merged
Merged
Conversation
Move the active PrepareCodeConfig from thread-local state to the CEEInfo instance used for the compilation. This removes the thread-side holder and the per-config same-thread linked list while keeping nested compilations isolated per JIT info object. Co-authored-by: Copilot App <[email protected]>
|
Azure Pipelines: Successfully started running 3 pipeline(s). 13 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
|
Tagging subscribers to this area: @agocke |
Merged
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
All references to the removed holder were traced, and configuration is consistently propagated through JIT and interpreter info instances.
Pull request overview
Moves PrepareCodeConfig ownership from thread-local state into each CEEInfo instance, preserving isolation for nested compilations.
Changes:
- Removes the thread-side holder and linked-list state.
- Stores the configuration on
CEEInfoand updates callback consumers. - Updates shutdown construction and initializer lists.
File summaries
| File | Description |
|---|---|
threads.inl |
Removes holder implementation. |
threads.h |
Removes holder declarations and thread state. |
threads.cpp |
Removes obsolete initialization. |
prestub.cpp |
Stops installing the thread-local holder. |
method.hpp |
Removes per-thread config linkage. |
jitinterface.h |
Adds per-instance config storage. |
jitinterface.cpp |
Uses the CEEInfo-associated configuration. |
ceemain.cpp |
Updates shutdown-time construction. |
Review details
- Files reviewed: 8/8 changed files
- Comments generated: 0
- Review effort level: Lite
jkoritzinsky
approved these changes
Sep 18, 2026
jkotas
commented
Sep 18, 2026
jkoritzinsky
approved these changes
Sep 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Move the active PrepareCodeConfig from thread-local state to the CEEInfo instance used for the compilation. This removes the thread-side holder and the per-config same-thread linked list while keeping nested compilations isolated per JIT info object.