HP-UX 11i Java JDK/JRE Version 5.0.30 Release Notes
have yet installed its handlers, and the failures may appear as random exceptions. The
solution is to ensure you have enough stack space.
Using compiler safepoints (HP-UX 11.11 (11i v1) PA-RISC)
Using compiler safepoints guarantees a more deterministic delay to stop all running Java
threads before doing an operation requiring a safepoint synchronization, such as a
garbage collection. The compiler safepoints feature is enabled by default beginning with
Java 5.0. It uses a newer implementation than in previous releases which requires no
HP-UX patches. It can be disabled with:
-XX:-UseCompilerSafepoints(-XX:-SafepointPolling in 5.0.03 and older
releases)
shl_load HotSpot libjvm problem due to TLS (HP-UX PA-RISC 32-bit
only)
The libjvm library for the HotSpot 1.4 JVM uses thread local storage (TLS). Currently,
the dynamic loader that is used by shl_load does not support dynamically loading a
shared library containing TLS when the library was not included in the link line.
You may need to load a library dynamically (using shl_load or dlopen) that contains
TLS, such as libjvm.sl, without having linked your application against it. This might
be the case if your application uses plug-ins.
The current workaround is a new linker feature LD_PRELOAD_ONCE.
To obtain the LD_PRELOAD_ONCE functionality, you need to install the following patch
(or the patch that supersedes it):
HP-UX 11.00 systems, install patch PHSS_28869
HP-UX 11.11 systems, install patch PHSS_35385
HP-UX 11.23 PA systems do not need a patch
HP-UX 11.31 PA systems do not need a patch
For more information on LD_PRELOAD_ONCE functionality and its limitations, read the
manpage for dld.sl after you install the patch.
NOTE: In some cases, using LD_PRELOAD_ONCE with Java that uses the Java launcher
program instead of the previously used Java launcher script, signal chaining for the actual
Java program did not work as expected. If you experience this problem, it is suggested
to use the new environment variable, JAVA_PRELOAD_ONCE. In the top level driver, the
value of JAVA_PRELOAD_ONCE is set to LD_PRELOAD_ONCE, so that the
LD_PRELOAD_ONCE is set for the actual executable instead of the driver.
Using compiler safepoints (HP-UX 11.11 (11i v1) PA-RISC) 21