How garbage collection is done in Java is related to Net?
I want to know the difference between the two, or they are the same
Solution
This problem is irresponsible
First, there is no specification for Java or Net how to implement garbage collection Therefore, in Java or Net, there is no "GC completion method" literally
Secondly, the details of implementing GC are for Java and Net. For any vendor, GC may change with each platform, major version, minor version and even patch version In addition, some Java implementations allow you to choose between different garbage collectors using command - line options
Finally, if GC can work at the request of the application, it can work in Java or Net implementation is not important For Java, the answer is that it can be applied to most applications (exceptions are usually systems / applications with hard real-time requirements or very strict memory constraints.)