Chapter 7

  1. The following are Garbage collection algorithms:
  • Mark and sweep
  • CMS garbage collection
  • Serial garbage collection
  • Parallel garbage collection
  • G1 garbage collection
  1. The G1 name refers to Garbage First.
  2. iCMS (short for Incremental Concurrent Mark Sweep) mode is intended for servers with a small number of CPUs. It should not be employed on modern hardware.

  3. MiB stands for Mebibyte, which is a multiple of bytes for digital information.

  4. Although garbage collection is automatic in Java, you can make explicit calls to
    the
    java.lang.System.gc() method to aid in the debugging process. This method does not take any parameters and does not return any value.

  5. Because all objects in Java, even the ones you create yourself, are child classes of java.lang.Object, every object in Java has a finalize() method.

  6. These combinations have been removed in Java 9.
  7. The CollectedHeap class.
  8. For Java 10, the G1 full garbage collector was transitioned to parallel in order to mitigate any negative impact for developers that use full garbage collection.

  9. Epsilon GC.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset