We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
brk
sbrk(세그먼트 브레이크)
sbrk
malloc()
free()
*
perf
혼자 복습 겸 기록을 해보았는데, 여러분께도 도움이 되면 좋겠네요 🙏🏻
The text was updated successfully, but these errors were encountered:
ella-yschoi
No branches or pull requests
Chapter3.5: 메모리를 할당할 때 저수준 계층에서 일어나는 일
1. 링 버퍼(Ring Buffer)
2. BIOS
3. 시스템 호출의 종류: brk와 sbrk
brk
는 힙 영역을 늘리는 시스템 요청이다. 그리고 break의 약자로서 대부분 [브레이크] 라고 읽는다.sbrk(세그먼트 브레이크)
호출 또한brk
와 비슷한 역할을 하나, 증분 값으로 동작한다.brk
는 프로그램의 데이터 세그먼트의 끝을 직접 지정한다.sbrk
는 현재 데이터 세그먼트 끝에서 얼마나 더 늘릴지(또는 줄일지)를 지정한다.Chapter3.6: 고성능 서버의 메모리 풀은 어떻게 구현될까?
1. 메모리 반환 vs. 메모리 해제
(1) 메모리 반환 (Return)
(2) 메모리 해제 (Free)
malloc()
으로 할당받은 메모리를free()
로 해제하는 경우2. 메모리 풀과 AWS S3 싱글톤 패턴의 관계
(1) 메모리 풀
(2) AWS S3 객체 싱글톤 패턴
3. TLS(스레드 전용 저장소)와 자바스크립트
Chapter3.7: 대표적인 메모리 버그
1. 역참조
(1) 역참조 의미
(2) 역참조 활용
*
연산자를 사용해 역참조를 한다.(3) 자바스크립트에서의 역참조
(4) 역참조와 참조
2. Stack Overflow vs. Heap Overflow
(1) Stack Overflow
(2) Heap Overflow
3. perf
perf
는 메모리 누수를 추적할 수 있는 도구라고 한다.whosebook_performance.mp4
The text was updated successfully, but these errors were encountered: