Whoever said it’s faster? It’s not.
The only virtue of GC is that it is automated, and it prevents memory leaks. If it were indeed faster, as implied by the questioner, there would have been little incentive to use the memory management mechanisms present in C/C++. These latter languages provide the programmer a predictable and precise model for managing memory, which managed languages like Java do not.
Original post: