Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 32763 invoked from network); 23 May 2007 09:26:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 May 2007 09:26:22 -0000 Received: (qmail 77528 invoked by uid 500); 23 May 2007 09:26:16 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 76925 invoked by uid 500); 23 May 2007 09:26:14 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 76914 invoked by uid 99); 23 May 2007 09:26:14 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 May 2007 02:26:13 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [206.190.38.25] (HELO web50010.mail.re2.yahoo.com) (206.190.38.25) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 23 May 2007 02:26:07 -0700 Received: (qmail 30941 invoked by uid 60001); 23 May 2007 09:25:45 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=0Q1cBfJ348Z+eAZqGj5/1vzDMja75Z+RldvsoX82PkDMe4cPKQqHIWawtZrJ6lHDPcZS624n1N/k117xQq5nDUQ1VU6hMhUeihrPWobOOFQw+hG40pbqBqBm6Zyum0OYLWipkounUZ1X2yzy9gHzyomwNMhdo77nZZLQ//cpAos=; X-YMail-OSG: mqAL8S0VM1mN.x785EpzJ6jhYoyd.lY6hR6dRnZEBpv9I2Vn1YrM.0bwnLXmZ9RlqEeyCOihBVUJHzgjPEH8W1CrsCeXX0cjGhZZS3gECIec7VsNHOA- Received: from [69.3.118.179] by web50010.mail.re2.yahoo.com via HTTP; Wed, 23 May 2007 02:25:45 PDT X-Mailer: YahooMailRC/651.29 YahooMailWebService/0.7.41.16 Date: Wed, 23 May 2007 02:25:45 -0700 (PDT) From: Vacuum Joe Subject: Re: Java on Multi/Dual Core To: Tomcat Users List MIME-Version: 1.0 Content-Type: text/plain; charset=ascii Message-ID: <734400.30601.qm@web50010.mail.re2.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org A few points: 1. Java 1.4 is YEARS obsolete. It should not be used in production anymore unless there is some reason why upgrading is impossible. And if there is such a reason, time to fix it and upgrade. 2. All modern Java versions, including 1.4 I believe, use native system operating system threads, so if your OS can support running threads on different cores, Java will do it too. This is a function of the OS, not of Java or any other specific application. The OS must be able to assign threads to different cores, do thread scheduling and switching, etc. Java plays right along with that. There was an earlier time when Java used what is called "green threads", which really are fake threads, designed for OSes like Windows 95 which didn't have threads. Those days are long long gone. 3. Java is not interpreted. It is compiled machine language code, just like C or C++. Yes, that's right. The JVM uses something called a JIT to compile much of the Java bytecode all the way to fully native machine language, which is often better quality and faster than C++ or C derived machine language. Saying "Java is slow" is like saying "C++ is slow". 4. If you really want to fully compile Java code, gcj will soon be able to compile most Java as fully compiled native binaries (ELF binaries). ____________________________________________________________________________________ Be a PS3 game guru. Get your game face on with the latest PS3 news and previews at Yahoo! Games. http://videogames.yahoo.com/platform?platform=120121 --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org