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

Create compile time flag for disabling backtrace support #103

Open
frank-emrich opened this issue Feb 14, 2024 · 0 comments
Open

Create compile time flag for disabling backtrace support #103

frank-emrich opened this issue Feb 14, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@frank-emrich
Copy link

Following #98 and #99, there is a certain runtime overhead incurred at every stack switching operation, due to moving data between StackLimit objects and the VMRuntimeLimits. In addition, the StackLimit objects in each ContinuationObject occupy space. This is in part due to our usage of libcalls for switching stacks and should therefore be avoidable in the future.

We should therefore have a flag to disable this particular implementation of backtrace support. This is not entirely trivial, as the stack_limit value inside StackLimits objects will be used to enabled stack overflow checks, which would be disabled by that new flag.

@frank-emrich frank-emrich added the enhancement New feature or request label Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant