JDK BSD NewBee

Max Khon fjoe at iclub.nsu.ru
Tue Dec 2 21:01:20 PST 2003


Hello!

On Tue, Dec 02, 2003 at 04:26:05PM -0700, Alden Taylor wrote:

> I'm a BSD newbie with a couple of simple questions.
> 
> Does the 1.4 jdk implementation implement the hotspot optimizer?  And 
> are the threads green or native - and what is the difference?  I've 
> read that the jdk1.3 binary does not implement hotspot and uses green 
> threads and I'm trying to decide if upgrading to the jdk 1.4 will 
> improve my servlet application's performance.

There is no way to build jdk 1.4 with green threads or without hotspot-like
optimizer. So jdk 1.4 always usese native threads and JIT compiler.

> Also, I've noticed that there are ports for things like tomcat and 
> other java third party extensions.  Can anyone tell me the difference 
> between the ports version and those that I would download from say 
> jakarta.apache.org?  I've compiled mod_jk from the apache source using 
> the mac os X compile instructions, as those were the only that I could 
> get to work, will my compiled mod_jk work better if I use the ports?  
> I'm new to the ports system as I come from the land of RedHat LInux and 
> Mac OS X.

Ports is just an infrastructure to help you to build and
install software. Tarballs are downloaded from official distribution
sites and necessary patches are applied (if any are needed).
It's up to you whether to use or not use ports subsystem but
most of the problems you can stumble upon building the same software manually
are already solved on ports.

Ports are like RedHat SRPMS.
There are several ports of Ports Subsystem to Darwin (the base of MAC OS X),
the most popular of which is GNU-Darwin Ports Collection so you might have
seen Ports on MAC OS X already.

/fjoe



More information about the freebsd-java mailing list