HP-UX Programmer's Guide for Java 2
Table Of Contents
- Table of Contents
- 1 Introduction
- 2 HotSpot Technology Tools and Commands
- 3 Configuration for Java™ Support
- 4 Performance and Tuning
- 5 Measuring System Performance
- 6 Using Threads
- 7 Using Signals
- 8 Using Java™ 2 JNI on HP-UX
- 9 Expanding Memory
- Determine your requirements
- Memory layout under HP-UX 11.0 (PA-RISC only)
- Additional memory available under HP-UX 11i (PA-RISC only)
- Allocating physical memory and swap in the Java™ heap
- Useful key command-line options for allocating memory
- Application-dependent considerations using large heap size HP-UX 11i PA-RISC
- Expanding heap size in native applications on PA-RISC HP-UX 11.11 and later releases
- Expanding heap size in native applications on Integrity HP-UX 11.23 and later releases
- Expanding heap size in HP-UX PA-RISC
- Expanding heap size in HP-UX Integrity
- 10 Diagnosing Memory Leaks
- A JDK/JRE 6.0.n and 7.0.n Usage Notes
- Using Java 2 JNI on HP-UX
- Garbage collection
- Asian TrueType fonts and Asian locales
- Date/Time methods defaults
- Profiling
- Compatibility with previous releases
- Java Cryptography Extension (JCE) policy files
- Configuring the Java Runtime Plug-In
- CLASSPATH environment variable
- Java Web Start technology usage
- Upgrading from a previous Java Web Start version
- IPv6 support
- Allocation Site Statistics and Zero Preparation -Xverbosegc
- JDK 6.0.04 flags
- GC log-rotation support
- NUMA collector enhancements
- ThreadDumpPath support
- Garbage-First garbage collector (-XX:+UseG1GC)
- jmap, jinfo, and jstack tools included in JDK 6.0.03
- Additional Java Web Start documentation
- B JDK/JRE 5.0.n Usage Notes
- Using Java 2 JNI on HP-UX
- Garbage collectors: Parallel and Concurrent Mark Sweep
- Allocating physical memory and swap in the Java heap
- Asian TrueType fonts and Asian locales
- Date/Time methods defaults
- Profiling
- Closing a socket (PA-RISC only)
- Compatibility with previous releases
- Java Cryptography Extension (JCE) policy files
- Allocation Site Statistics and Zero Preparation -Xverbosegc
- IPv6 support on Java 5.0
- GC log-rotation support in 5.0
- ThreadDumpPath support in 5.0
- Dynamically loaded libraries in 5.0
- Performance improvement for String.intern()
- Configuring the Java Runtime Plug-In
- CLASSPATH environment variable
- Java Web Start technology usage
- C SDK/RTE 1.4.2.n Usage Notes
- Removing support for unwanted architectures in the JRE
- Support for dynamic thread local storage (TLS)
- Signal Chaining functionality
- Using Java 2 JNI on HP-UX
- HotSpot JVM options
- Garbage collectors: Parallel and Concurrent mark sweep
- Allocating physical memory and swap in the Java heap
- Asian TrueType fonts and Asian locales
- Date/Time methods defaults
- Profiling
- Closing a socket when accept or read is pending (PA-RISC) - new patch information!
- Compatibility with previous releases
- Runtime Plug-In usage and configuration
- GC log-rotation support
- ThreadDumpPath support
- D Additional Resources
- Index
dynamically loading the Hotspot JVM, 59
main/primordial thread stack size limits, 57
native program calling Java method, 52
non-main/primordial thread stack size limits, 59
overriding new and delete in C++, 46
using native methods on HP-UX, 45
using on HP-UX, 44
JNI_AttachCurrentThread, 57
JNI_CreateJavaVM, 45, 57
JPDA, 8
jstack, 81
JVMTI, 8
L
launching
application VM, 71
LD_PRELOAD_ONCE, 42
leak
memory, 71, 72
libfontmanager, 44
libjsig, 42
libjvm, 44, 74, 82, 90
libjvm.sl, 52
libjvm.so, 52
libpthread.sl, 39, 47
libpthread.so, 39, 47
M
main/primordial thread stack size limits, 57
max_thread_proc, 31
maxfiles, 32
maxfiles_lim, 32
maxssiz, 57
maxssiz_64bit, 57
MAXUSERS, 32
memory
additional, 11i PA-RISC, 64
allocating, 65
command-line options, 65
diagnosing leaks, 71, 72
expanding, 63
expanding heap
Integrity, 69
native apps, Integrity, 67
native apps, PA-RISC, 67
PA-RISC, 67
large heap size, 66
layout, 11.0 PA-RISC, 63
physical, 64
swap, 64
method
excluding from compilation, 10
N
native applications
expanding heap
Integrity, 67
PA-RISC, 67
native method
calling from Java, 46
native methods, 45
native program
calling Java method, 52
ncallout, 32
netstat, 37
nfiles, 32
ninode, 32
nkthread, 31, 32
non-blocking I/O Poll , 29
non-main/primordial thread stack size limits, 59
non-primordial thread stack size limits, 59
nproc, 31
NULL pointers
dereferenceing, 45
JNI_CreateJavaVM, 45
SIGSEGV, 45
NUMA collector, 79
O
open files, 32
options, 12
P
parallel scavenger gc, 79
performance
HPjconfig, 36
HPjmeter, 36
measuring, 35
netstat, 37
sar, 35
socket connections, 37
system activity, 35
tusc, 37
vmstat, 37
performance and tuning, 34
primordial thread stack size limits, 57
profiling, 9, 16, 36, 74, 83, 91
pthread_create, 59
R
resources, 94
Runtime Plug-In, 75, 87, 92
S
sar, 35
signal chaining, 90
signals, 40
-XX:+AllowUserSignalHandlers, 41
chaining, 42
HotSpot options to control, 41
HP-UX and the JVM, 40
97