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

다른언어와 go 언어에서 재귀호출의 차이 #253

Open
eubnara opened this issue Dec 20, 2021 · 2 comments
Open

다른언어와 go 언어에서 재귀호출의 차이 #253

eubnara opened this issue Dec 20, 2021 · 2 comments

Comments

@eubnara
Copy link
Owner

eubnara commented Dec 20, 2021

@eubnara
Copy link
Owner Author

eubnara commented Dec 27, 2021

https://agis.io/post/contiguous-stacks-golang/

1.2 runtime 에서 segmented stacks (split stacks) 를 사용하였다.
그런데 stack boundary 에서 생성, 제거가 반복되는 hot split (stack thrashing) 문제가 발생했다.

1.3 runtime 부터 이 문제를 해결하고자 contiguous stacks 를 사용한다.

@eubnara
Copy link
Owner Author

eubnara commented Jan 5, 2022

gopl
5.2 참고

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant