Skip to content

Conversation

@sergej-koscejev
Copy link
Collaborator

  • Replace ReloadableModule w/ ModuleRuntime in DescriptorCache.
  • ImplementationsFromFunctionModule: use ModuleRuntime to access generated classes.

Based on a contribution by Artem Tikhomirov (#1439).

* Replace ReloadableModule w/ ModuleRuntime in DescriptorCache.
* ImplementationsFromFunctionModule: use ModuleRuntime to access generated classes.

Based on a contribution by Artem Tikhomirov.
Copy link
Collaborator

@alexanderpann alexanderpann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. The AtomicReference in DescriptorCache looks unecessary but doesn't hurt. There is no access to this variable from multiple threads.

@sergej-koscejev
Copy link
Collaborator Author

AtomicReference is just to be able to set it from the inner class. Is there a better/simpler approach?

@sergej-koscejev sergej-koscejev merged commit 14d4555 into master Sep 9, 2025
2 checks passed
@sergej-koscejev sergej-koscejev deleted the pf-reloadable-module branch September 9, 2025 07:59
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.

4 participants