NonStop Server for Java 7.0 Programmer's Reference

-d64 option.......................................................................................................................63
Using 64–bit java launcher.................................................................................................64
32–bit process support............................................................................................................64
Large heap support.................................................................................................................65
Version command-line option...................................................................................................65
Posting signals to GC process..................................................................................................65
Java signal handlers...............................................................................................................65
Unhandled exception..............................................................................................................67
Error file................................................................................................................................67
ErrorFile with %p option......................................................................................................68
System property......................................................................................................................69
LogVMOutput option...............................................................................................................69
UseCompressedOops..............................................................................................................69
SecureRandom startup enhancement.........................................................................................69
VirtualMachine.list() support.....................................................................................................70
Change in loading of .hotspot_compiler and .hotspotrc files.........................................................70
5 Java infrastructure.....................................................................................71
Architecture...........................................................................................................................73
Socket or ServerSocket in java.net package...........................................................................73
SelectableChannels in java.nio.channelspackage...................................................................74
Selector............................................................................................................................75
Enabling JI........................................................................................................................75
Mapping file.....................................................................................................................76
Key..................................................................................................................................76
Value...............................................................................................................................76
Establishing a connection........................................................................................................79
Modes of communication.........................................................................................................79
BI-DIRECTIONAL mode.......................................................................................................80
Request-response mode.......................................................................................................80
Communicating with non JI components.....................................................................................80
JI client with a legacy TS/MP serverclass for context-free communication...................................81
JI client with a legacy TS/MP serverclass for dialog based communication.................................81
Legacy client with a JI server................................................................................................81
6 Transactions.............................................................................................82
Controlling maximum concurrent transactions.............................................................................82
Current Class methods.............................................................................................................82
Java transaction API................................................................................................................83
javax.transaction interfaces.................................................................................................83
javax.transaction exceptions................................................................................................84
Examples..........................................................................................................................84
7 Application tuning and profiling.................................................................86
Profiling application performance.............................................................................................86
Monitoring live Java applications.........................................................................................86
Collecting profile data for analysis.......................................................................................87
The HPROF profiler............................................................................................................88
—Xeprof versus —agentlib:hprof (HPROF).............................................................................88
Obtaining garbage collection data for analysis.....................................................................88
Other profiling options.......................................................................................................89
Tuning application performance...............................................................................................89
Determining the heap size setting.........................................................................................89
8 Migrating applications..............................................................................91
Summary of migration changes................................................................................................91
Installation changes............................................................................................................92
Contents 5