Users thread

Here Insert Picture Description
User threads (user-level threads) refers to the thread does not need kernel support implemented in the user program, which is independent of the operating system kernel, using the threads library provides application process creation, synchronization, thread scheduling and management functions to control user thread .

GC procedure CMS has six stages (four concurrent, two other suspended applications)

  1. First marker (STW initial mark)
  2. Concurrent mark (Concurrent marking)
  3. Concurrent interruptible precleaning (Concurrent precleaning)
  4. The final re-mark (STW remark)
  5. Cleanup concurrent (Concurrent sweeping)
  6. Concurrent reset (Concurrent reset)
    initial mark, when re-sign, requires us to suspend other applications, then the two phases are not involved in user threads
Published 23 original articles · won praise 1 · views 3133

Guess you like

Origin blog.csdn.net/qq_43669912/article/details/100751600