摘要 |
Mechanisms of memory management in a real time runtime environment having a garbage collected memory heap are provided. The runtime environment includes a critical real time thread that is precluded from accessing the garbage collected memory heap. The runtime environment further includes a scoped memory area for the allocation of objects therein for access by the critical real time thread. The mechanisms determine whether the critical real time thread currently accessing the scoped memory area is in a defined state so as to accommodate garbage collection of the scoped memory area. The mechanisms further initiate, in response to a determination that the critical real time thread currently accessing the scoped memory area is in the defined state, a process of garbage collection of the scoped memory area. |