Non-precise garbage collection in non-cooperative systems
AssigneeXamarin Inc.
InventorsRodrigo Kumpera, Miguel de Icaza
Life of this patent
Estimating the term…
Loading patent…
AssigneeXamarin Inc.
InventorsRodrigo Kumpera, Miguel de Icaza
Estimating the term…
Embodiments are directed towards garbage collection for an application running on a non-cooperative target platform. Where the garbage collection optimistically manages thread state for transitions to and from native and managed code and that some threads are suspended while others are left executing during garbage collection. When a characteristic of the native code call indicates that a duration of the native code call may exceed a defined duration, state information for the thread may be updated to transition the thread to the unmanaged code environment. When a garbage collection event occurs, thread state information is updated to communicate suspend requests to the threads. Then the runtime may wait for each thread in the managed code environment to be reach a safe state before garbage collection may commence.
A method for managing memory for an application using a computer, wherein the computer performs actions, including:
A system for managing memory for an application, comprising:
A computer for managing memory for an application, comprising:
A processor readable non-transitive storage media that includes instructions for managing memory for an application, wherein a computer that executes at least a portion of the instructions is enabled to perform actions, comprising:
Dependencies are inferred from the claim text.