Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

About the disadvantages of GC

1 view
Skip to first unread message

Sky89

unread,
May 2, 2018, 5:36:05 PM5/2/18
to
Hello,

About the disadvantages of GC:

"Perhaps the most significant problem is that programs that rely on
garbage collectors often exhibit poor locality (interacting badly with
cache and virtual memory systems), occupy more address space than the
program actually uses at any one time, and touch otherwise idle pages.
These may combine in a phenomenon called thrashing, in which a program
spends more time copying data between various grades of storage than
performing useful work. They may make it impossible for a programmer to
reason about the performance effects of design choices, making
performance tuning difficult. They can lead garbage-collecting programs
to interfere with other programs competing for resources"


Thank you,
Amine Moulay Ramdane.


0 new messages