摘要 |
If garbage collection is executed in every thread-local heap in order to secure processing responsiveness, a memory area may be fragmented or collectable areas may be reduced as the program execution proceeds. To overcome such problems, memory is divided into an area where thread specific data is allocated and an area where referenceable data from other threads is allocated, and is managed separately. More specifically, data that is referenced specifically by each thread is allocated to a thread-local heap, while data that is referenced from other threads is allocated to a global heap.
|