You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When scanning objects during GC, the standard compiler/runtime only scan as far as the last pointer slot in an object. If fields are sorted so that all of the pointer-y fields come first, then the GC may be able to short-circuit its scan work slightly.
The text was updated successfully, but these errors were encountered:
Nice, I can implement that. Would you rather leave to the user to specify which they want to prioritize (struct alignment or GC optimization) or just print both? Otherwise, what criteria to use to decide which one has the most priority?
When scanning objects during GC, the standard compiler/runtime only scan as far as the last pointer slot in an object. If fields are sorted so that all of the pointer-y fields come first, then the GC may be able to short-circuit its scan work slightly.
The text was updated successfully, but these errors were encountered: