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

> 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
Stream Control Transport Protocol (SCTP) supported with limitation
Stream Control Transport Protocol (SCTP) in Java is supported in Java 7 on HP-UX.
Although SCTP is not available by default on HP-UX, it can be downloaded from:
https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?
productNumber=SCTP
SCTP has a known limitation on HP-UX:
The MessageInfo Class is supported only when a valid socket address is passed to the
MessageInfo.createOutgoing() method, even to use the peer primary address.
In the following example, a messageinfo object is created and sent on to a socket channel
using send API for an already connected socket. This sample code will throw a
java.net.SocketException exception because HP-UX does not support passing null for the
SocketAddress:
<code>
SctpServerChannel ssc = SctpServerChannel.open();
InetSocketAddress serverAddr = new InetSocketAddress(SERVER_PORT);
ssc.bind(serverAddr);
...
MessageInfo messageInfo = MessageInfo.createOutgoing(null, US_STREAM);
sc.send(buf, messageInfo);
</code>
Workaround:
In the following example, a messageinfo object is created with a valid socket address
and sent on to a socket channel using send API:
<code>
SctpServerChannel ssc = SctpServerChannel.open();
InetSocketAddress serverAddr = new InetSocketAddress(SERVER_PORT);
ssc.bind(serverAddr);
...
MessageInfo messageInfo = MessageInfo.createOutgoing(serverAddr, US_STREAM);
sc.send(buf, messageInfo);
</code>
For more information on SCTP, see:
http://java.sun.com/developer/technicalArticles/javase/jdk7-sctp/
20