The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Mar. 01, 2016

Filed:

May. 08, 2015
Applicant:

Xamarin Inc., San Francisco, CA (US);

Inventors:

Rodrigo Kumpera, Boston, MA (US);

Miguel de Icaza, Boston, MA (US);

Assignee:

Xamarin Inc., San Francisco, CA (US);

Attorneys:
Primary Examiner:
Int. Cl.
CPC ...
G06F 9/46 (2006.01); G06F 12/02 (2006.01); G06F 9/44 (2006.01);
U.S. Cl.
CPC ...
G06F 12/0253 (2013.01); G06F 8/70 (2013.01); G06F 2212/1044 (2013.01); G06F 2212/161 (2013.01); G06F 2212/171 (2013.01); G06F 2212/1721 (2013.01);
Abstract

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.


Find Patent Forward Citations

Loading…