Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JVM on G5



On Mar 31, 2004, at 7:23 AM, Elliotte Rusty Harold wrote:

At 3:33 PM +0200 3/31/04, Carron, Kris wrote:
I was wondering if the JVM on Mac OS X 'adjusts' itself to make use of
specific processor capabilities, for instance the processing power of the
64-bit PowerPC G5. More specifically, does the JVM 'behave' differently on
such a processor with respect to floating point calculations, use of the
Java long (64-bit) datatype, dual processor, etc. Or is it the exact same
JVM as on a 32-bit architecture?


And a couple of related questions:

1. Will the Mac OS VM use multiple processors for separate threads?

Yes. Java threads are basically built on native threads and those are the basic work unit that is scheduled by Mac OS X (Darwin), using all available CPU resources.

2. How well are the new I/O APIs implemented on the Mac? Are they a significant improvement?

You talking about Java's native IO stuff?

Apple is purposely building their JVM and JDK implementation on top of existing OS services/frameworks as much as possible to insure that as those services advance the Java benefits automatically. Since Mac OS X has different OS characteristics from those seen on Windows and other OSes you will see strength and weaknesses in relation to the other OSes. It is best to profile your application of Mac OS X to find any potential issues.

-Shawn
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >JVM on G5 (From: "Carron, Kris" <email@hidden>)
 >Re: JVM on G5 (From: Elliotte Rusty Harold <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.