Problems
Use the following problems to test your advanced programming prowess in garbage collectors and application class data sharing in Java. I strongly encourage you to give each problem a try before you turn to the solutions and download the example programs:
- Hooking the garbage collector goal: Introduce Java garbage collectors quickly. Highlight the main objectives (advantages) and disadvantages of a garbage collector.
- Handling the garbage collector stages: List and briefly describe the most common stages of a garbage collector.
- Covering some garbage collector terminology: A garbage collector has specific terminology. Provide here the main terms used in conjunction with garbage collectors.
- Tracing the generational GC process: Exemplify and explain a hypothetical scenario containing several consecutive runs of a generational garbage collector.
- Choosing the correct garbage collector: List and explain the three main factors that should be considered...