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

Type, Memory Layout, Garbage Collection and Parallelism #15

Open
sangwoo-joh opened this issue Dec 15, 2020 · 2 comments
Open

Type, Memory Layout, Garbage Collection and Parallelism #15

sangwoo-joh opened this issue Dec 15, 2020 · 2 comments

Comments

@sangwoo-joh
Copy link
Owner

이때까지 읽고 소화한 목록을 한번 쯤은 정리할 필요가 있을 것 같다.

목록

정리할 목록

  • Type 과 Memory Layout
  • OCaml의 Memory Model
  • GC
  • Domain
@sangwoo-joh sangwoo-joh changed the title Type, Memory Layout, and Parallelism Type, Memory Layout, Garbage Collection and Parallelism Dec 22, 2020
@sangwoo-joh
Copy link
Owner Author

Major heap

  • mark and sweep
  • non-moving (remain at the same address)
  • incremental (pause in many small slices)

Colours

  • blue: not objects but free memory (available for future allocations)
  • black: live objects (marked)
  • white: dead objects (garbages, in marking phase) or unmarked objects (after sweeping)
  • gray: marked but need scanning for outgoing pointers. no gray == marking complete

@sangwoo-joh
Copy link
Owner Author

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