mosa / MOSA-Project

Managed Operating System Alliance Project
https://www.mosa-project.org/
Other
410 stars 80 forks source link

Implement Garbage Collection Register Analysis Stage #416

Open tgiphil opened 7 years ago

tgiphil commented 7 years ago

This stage performs a live-in/out range analysis to determine when CPU registers and stack locations hold type references and emits compact data tables with this information. The table can then be used to find all object roots within the stack and CPU registers.

tgiphil commented 2 days ago

Design Notes:

  1. Garbage Collection SafePoints are where the:
    • Status of all objects can be determined
    • Garbage collection can occur
    • Breakpoints can be inserted
    • Inserted at method prologue/epilogue, loop back edges, and prior to call to new object allocator