Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comments on generated session slots #1078

Open
jklmnn opened this issue Jun 20, 2022 · 0 comments
Open

Comments on generated session slots #1078

jklmnn opened this issue Jun 20, 2022 · 0 comments
Labels
generator Related to generator package (SPARK code generation) small Effort of one person-day or less

Comments

@jklmnn
Copy link
Member

jklmnn commented Jun 20, 2022

The slots of a session are generated into the session allocator. It's not directly visible which slot is generated for which variable in the spec. Knowing this may be helpful when debugging/analyzing the memory usage of the session.
For global variables each slot could have a comment with the global variable name. For state local variables it could be a list of states with the variable name for each state in a comment.

@jklmnn jklmnn added the generator Related to generator package (SPARK code generation) label Jun 20, 2022
@senier senier added the small Effort of one person-day or less label Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
generator Related to generator package (SPARK code generation) small Effort of one person-day or less
Projects
None yet
Development

No branches or pull requests

2 participants