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

Uses same workaround for stack sizes in non optimized builds. #1183

Merged
merged 3 commits into from
Sep 20, 2021

Conversation

thomasvl
Copy link
Collaborator

Fixes #1181

@thomasvl thomasvl requested a review from tbkka September 17, 2021 17:29
@thomasvl
Copy link
Collaborator Author

While this is the same workaround as we used for the oneof cases, since it will apply to more messages I'm wondering if we want any sorta logic on when we do this? i.e. - should it check how many locals there were will and the size of those locals? i.e. - 10 local ints, likely not an issue even with lots of recursion, but 10 messages, all of which didn't use storage so they are potential really large? Then we're likely in the current problem space.

@tbkka
Copy link
Contributor

tbkka commented Sep 17, 2021

It's just for debug builds, so I'm not too worried unless it causes actual problems for someone.

@thomasvl
Copy link
Collaborator Author

It's just for debug builds, so I'm not too worried unless it causes actual problems for someone.

I didn't look in detail, I'm hoping the analysis from the other case applies as far as there not really being impact on release builds. Not sure if someone else wants to poke at things to confirm.

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.

None yet

2 participants