Duplicate :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
See evaluation. The VM currently creates all GC worker threads during initialization, and all workers participate in every GC. There is work in progress to change the latter property (6593758), so that the number of active GC worker threads can vary from one collection to the next based on the amount of work. Once that feature is enabled, GC worker threads should be created lazily (only when needed) and destroyed when not needed. This would save memory and improve startup time (slightly) for applications which do not use GC heavily.
|