HP-UX 11i Java JDK/JRE Version 5.0.30 Release Notes

5 Known issues
The following are known problems for HP-UX 11i Integrity and HP 9000 PA-RISC systems.
Some of the solutions require installing patches. For more information on locating and
installing patches, see the HP-UX Java Patch Information web page at:.
http://ftp.hp.com/pub/softlib/hpuxjava-patchinfo/index.html.
Running Java applications with hyperthreading enabled
Prior to JDK 5.0.27, java applications might crash with a SEGV in interpreter code on
systems with hyperthreading enabled. Additional fixes have been added to JDK 5.0.30
and it is the recommended version from HP to avoid this issue. The crash usually occurs
when an interpreted method is executing one of the "fast" getfield or putfield
bytecodes. This can be determined by using gdb to analyze the core file written at the
time of the crash. Use the gdb "bt" command to examine the stack trace and find the
stack frame that caused a signal handler to be called. Then use the "frame" and "info
frame" commands to see what bytecode the errant frame was executing. For example,
the excerpted gdb session below shows that the crash occurred in Hashtable::put
while executing the fast_igetfield function:
> (gdb) bt
> ...
> #7 0x60000000cc4ad4a0:0 in os::Hpux::signalHandler ()
> #8 <signal handler called>
> #9 0x200000007ac25c01 in interpreted frame: java.util.Hashtable::put
> (java.lang.Object, java.lang.Object) ->java.lang.Object bci: 166
> ...
> (gdb) frame 9
> #9 0x200000007ac25c01 in interpreted frame: java.util.Hashtable::put
> (java.lang.Object, java.lang.Object) ->java.lang.Object bci: 166
> (gdb) info frame
> ...
> Java interpreted frame specific info:
> ...
> bytecode pointer: 0x3682e0be, bytecode: fast_igetfield
> ...
To determine if hyperthreading is enabled, run the setboot system command:
setboot
To disable hyperthreading, change the boot parameter and reboot the system:
setboot -m off
reboot
To work around the crash with hyperthreading enabled, use the option:
-XX:-RewriteBytecodes
Running Java applications with hyperthreading enabled 19