Path: csiph.com!au2pb.net!feeder.erje.net!1.eu.feeder.erje.net!news.albasani.net!.POSTED!not-for-mail From: j4n bur53 Newsgroups: comp.lang.java.programmer Subject: Re: The code being executed before hitting main() method Date: Wed, 14 Oct 2015 19:08:16 +0200 Organization: albasani.net Lines: 25 Message-ID: References: <97d86c97-b889-44a1-931f-20b5af9c6ab5@googlegroups.com> <3f0fbfa8-66a0-4aa3-b9c3-b83dcc29d259@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.albasani.net 2GmwcAyiSSUuR4eIgOSufMfX1+wJx0SE73BH6FooZGuxNFswaOtU1N273Egccz48+ZCQ3GYx8m+ToCPXP2zljnoMI/nIaNXFFgkE0+tH6pO9Pn9LOVd6dIXIhMZM8r+E NNTP-Posting-Date: Wed, 14 Oct 2015 17:08:17 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="kTiPHY8yEOd0Gcn0911qVoJomN2yiv96DTHvjySpxFcnh4NoMw8xuzfEB7UvMbIROYJlOwfG5uD54E4BaHJdYRBDorWQni18hivvaJJ5aOQCJXnCt3X5J29RbnnRNBGj+/epJxHwMYdYsqK0pCbG4RfYwYC4WG4xGnKmwH3vbhQ="; mail-complaints-to="abuse@albasani.net" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:41.0) Gecko/20100101 Firefox/41.0 SeaMonkey/2.38 In-Reply-To: <3f0fbfa8-66a0-4aa3-b9c3-b83dcc29d259@googlegroups.com> Cancel-Lock: sha1:hGbLYm6Dcl6ngJGxgvowmAE/vFs= Xref: csiph.com comp.lang.java.programmer:32882 John schrieb: > This web page helps a lot: > https://wiki.csiro.au/pages/viewpage.action?pageId=545042739 > The below article(*) somehow suggests that: -XX:+UseSerialGC And the following: -XX:ParallelGCThreads=1 -XX:+UseParallelGC Are the same. Which seems not to be 100% true, I get: java -XX:+PrintFlagsFinal -version | grep GC uintx ParallelGCThreads = 4 java -XX:+UseSerialGC -XX:+PrintFlagsFinal -version | grep GC uintx ParallelGCThreads = 0 (*) http://blog.chrysocome.net/2013/05/what-happened-to-java-client.html