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

Index
Symbols
--Xmn<size>, 17
--Xms<size>, 17, 65
--Xmx<size>, 18, 65
-AA, 44
-AP, 44
-classic, 14
-classpath, 75, 87, 92
-cp, 75, 87, 92
-d64, 14
-DdfCacheSize=n, 78
-Dhp.swing.use FastSwing, 15
-Dhpux.font, 14
-Dhpux.font.dpi, 14
-Dhpux.im.disable, 14
-Dhpux.im.enable.awt, 15
-Djava.net.preferIPv4Stack, 30
-DNATIVE -D_POSIX_C_SOURCE=199506L, 39
-eprof, 31, 36
-lpthread, 39, 47
-mt, 47, 74, 82, 90
-N, 74, 82, 90
-pa11, 15
-verbosegc, 15
-Xbatch, 15
-Xbootclasspath, 16
-XdoCloseWithReadPending, 16
-Xeprof, 9, 16, 36, 74, 83
-XheapInitialSizes, 17
-Xincgc, 17
-Xint, 17
-Xloggc, 79, 86, 93
-Xnocatch, 18
-Xnoclassgc, 18
-Xoptgc, 18
-Xprep, 18
-Xprof, 19
-Xrs, 19
-Xrunhprof, 19, 36
-Xshare (not supported on HP-UX), 19
-Xss, 57
-Xss1m, 57
-Xss4m, 57
-Xss<size>, 19
-Xusealtsigs, 20, 28, 41
-Xverbosegc, 36, 63, 76, 79, 84, 86, 93
-Xverbosegc<options>, 20
-XX:+AggressiveHeap, 21
-XX:+AllowUserSignalHandlers, 21, 41
-XX:+DisableExplicitGC, 21
-XX:+ForceMmapReserved, 21, 65
-XX:+HeapDump, 9, 21
-XX:+HeapDumpOnCtrlBreak, 22
-XX:+HeapDumpOnly, 22
-XX:+HeapDumpOnOutOfMemoryError, 9, 23
-XX:+HeapDumpPath, 23
-XX:+PrintAllocStatistics, 76, 84
-XX:+ReduceSignalUsage, 74, 83, 91
-XX:+ServerApp, 27
-XX:+UseAltHashPolicy, 78
-XX:+UseCompilerSafepoints, 27
-XX:+UseConcMarkSweepGC, 23
-XX:+UseFastInternStrings, 87
-XX:+UseG1GC, 80
-XX:+UseGetTimeOfDay, 28, 74, 83, 91
-XX:+UseNUMA, 80
-XX:+UseOnStackReplacement, 28
-XX:+UseParallelGC, 28
-XX:+UseSIGUSR2, 28, 41
-XX:-DllLoadGlobal, 86
-XX:-NoHandoff, 24
-XX:-UseAltHashPolicy, 78
-XX:-UseLargePages, 80
-XX:CompileCommandFile, 10, 21
-XX:GCLogLimits, 79, 86, 93
-XX:HeapDumpPath=<path/filename>, 79
-XX:MainThreadStackSize, 57
-XX:MainThreadStackSize=<value>, 23
-XX:MaxDirectMemorySize=<size>, 23
-XX:MaxNewSize=<size>, 24
-XX:MaxPermSize=<size>, 24
-XX:NewSize=<size>, 24
-XX:NewSizeThreadIncrease=<size>, 24
-XX:PermSize=<size>, 24
-XX:PrefetchCopyIntervalInBytes=n, 24
-XX:PrefetchMarkSweep, 25
-XX:PrefetchScanIntervalInBytes=n, 25
-XX:PrefetchScavengeFieldsAhead=n, 25
-XX:SchedulerPriorityRange=SCHED, 25
-XX:SurvivorRatio=<size>, 27
-XX:ThreadDumpPath, 80, 86, 93
_JAVA_HEAPDUMP, 22
_JAVA_HEAPDUMP_ONLY, 22
A
additional resources, 94
adjtime(), 74, 82, 91
allocation site statistics, 76, 84
application VM
launching, 71
Asian locale, 15
Asian TrueType fonts, 74, 82, 91
95