Showing posts from April, 2019

Which GC (Garbage Collection) strategy do you prefer for your app in new Java?

  Hi awesome community!   During conversation with community members, I see a lot of users used standard Garbage Collector. Also, Java world is provide a lot of interesting new things around GC and deprecated as well.  Let's see what kind of GC supported by adoptJDK, OpenJDK, Oracle (excluding commercial builds). Serial Parallel Concurent Mark Sweep (CMS) G1 Shenandoah ZGC Epsilon (only for measuring) I will link JEPs as possible, for clear overview. Also, about Memory management and a good explaining about Serial, Parallel, CMS you can read on oracle site. e.g. To be a brief, I have uploaded that picture     Hence I will upload a picture how works the 2 first algorithms Concurent Mark Sweep From Java 9, it marks as deprecated JEP-291 You will see the message in your console Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a