HP-UX Programmer's Guide for Java 2

Table Of Contents
For more details on why this occurs and for examples of using key command line
options, see Allocating physical memory and swap in the Java™ heap” (page 64).
Asian TrueType fonts and Asian locales
Asian locales are supported by HP's JDK 1.4 with TrueType fonts. For more details,
see HP-UX Fonts and the Java™ Runtime Environment at:
http://www.hp.com/go/hpux-java-docs
Date/Time methods defaults
The HotSpot JVM uses the gettimeofday() system call to obtain date and time
information. For performance reasons a new mechanism that uses the number of CPU
ticks since the application started is used to calculate the current time. As a result,
changes to the system date or time using the date command, the adjtime() function,
or time synchronization utilities such as ntp will not be reflected in the date and time
that the Java program returns until the process is restarted.
If your application requires that system time changes are immediately reflected, you
can use the -XX:+UseGetTimeOfDay option to tell the JVM to use the gettimeofday
call instead of the new, lightweight mechanism. However you may notice a drop in
performance.
Profiling
In the SDK Version 1.4, a SIGPROF handler to support future profiling capability is
installed automatically. This may cause incompatibilities with other native code or
profiling tools which use SIGPROF.
You can turn off the SIGPROF handler by using the following option:
-XX:+ReduceSignalUsage
However, be aware that using this option also turns off the SIGQUIT handler, and you
therefore will not be able to get a Java stack trace.
Closing a socket when accept or read is pending (PA-RISC) - new patch
information!
Because of changes to the mechanism by which a socket is closed in the VM, for all
supported HP-UX PA-RISC systems, you no longer need to use the
-XdoCloseWithReadPending option we recommended in earlier releases. However for
HP-UX 11.11 the following patches (or their superseded patches) are required:
PHKL_32457
PHKL_25840
PHKL_25842
PHNE_25644
PHNE_25084
For more detailed information, see Closing a socket when accept or read is pending
(PA-RISC).
Asian TrueType fonts and Asian locales 91