Solaris 8 Software Developer Supplement

Chapter 5 Java for Developers

This chapter describes new Java features.


Note -

For the most up-to-date man pages, use the man command. The Solaris 8 Update release man pages include new feature information not found in the Solaris 8 Reference Manual Collection.


Enhancements in Java 2 Standard Edition for Solaris v. 1.2.2_05a

The Java 2 Standard Edition v. 1.2.2_05a is the latest release of Java 2 platform for the Solaris operating environment. It is a bug-fix release of v. 1.2.2_05 (without the "a") of the same product and includes the following new features and enhancements.

Scalability improvements to over 20 CPUs

Improved handling of concurrency primitives and threads has increased the performance of multithreaded programs and significantly reduced garbage-collection pause times for programs that use many threads.

Improved JIT compiler optimizations

The JIT compiler performs the following new optimizations: inlining of virtual and non-virtual methods, CSE within extended basic blocks, loop analysis to eliminate array bounds checking, and fast type checks.

Text rendering performance improvements

Several graphics optimizations have significantly improved text rendering performance for Java 2 Standard Edition on Solaris software platforms without Direct Graphics Access (DGA) support. These platforms include Ultra 5; Ultra 10; the Solaris Operating Environment, Intel Platform Edition; and all remote display systems.

poller class demo package

Provides Java applications with the ability to efficiently access the functions of the C poll(2) routine and is provided as a demo package with a sample usage server.

Swing improvements

Significant improvements in quality and performance have been made to the Swing classes. For additional information on these improvements, see the following URLs:

  • http://Java.sun.com/products/jdk/1.2/changes.html

  • http://java.sun.com/products/jdk/1.2/fixedbugs/index.html

Java Servlet Support in Apache Web Server

With the addition of mod_jserv module and related files, the Apache web server software now supports Java servlets. The following configuration files are now stored in /etc/apache:

The mod_jserv module, like the rest of Apache software, is open source code, maintained by a group external to Sun. This group seeks to maintain compatibility with previous releases of Apache and mod_jserv.

Java Development Kit (JDK) 1.1.8_10

The Solaris 8 10/00 software release includes the JDK 1.1.8_10 which is improved with bug fixes since the last release.