mosa / MOSA-Project

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

Emit garbage collection metadata tables #873

Open tgiphil opened 3 years ago

tgiphil commented 3 years ago

Emit Garbage Collection (GC) metadata tables for stack params, stack locals, and register use.

tgiphil commented 1 day ago

Design Notes:

  1. Method SafePoints - contains the locations and metadata of all the garbage collection safepoints within a method
  2. SafePoints - contains information on which registers, and local stack locations hold object references
    • Optimization Opportunity: re-use safepoint metadata across multiple methods when the same to save space and improve cache locality