NonStop Server for Java 5.0 Programmer's Reference

On TNS/R systems, you use the following name:
JNI_OnLoad_libname
where libname is the name of the library that your program passed to the
System.loadLibrary function.
On TNS/E systems, use:
JNI_OnLoad
On TNS/R systems, the JNI_OnUnload function is not supported by NonStop Server for
Java 4. On TNS/E systems, the JNI_OnUnload function is supported.
Debugger
Visual Inspect is the preferred debugger for applications on TNS/E. For debugging native code,
you can also use Native Inspect ($System.SYSnnn.EINSPECT command).
Default Heap and Stack Sizes
The default heap and stack sizes have changed for TNS/E hosted applications.
On TNS/E systems, the default stack size is 512 KB; the minimum stack size is 64 KB.
On TNS/E systems, the initial heap size is 18.25 MB; the default maximum heap size is
64 MB.
dlfcn.h File
All applications migrating from TNS/R that use the dlfcn.h file require code changes. On
TNS/E the NonStop Server for Java 4 and 5 do not use their own special version of dlfcn.h.
Use the file that exists in the include directory (/usr/include) of the system.
Title Page | Contents | Index | Glossary | Prev | Next
NonStop Server for Java 5.0 Programmer's Reference (540385-001)
© 2006 Hewlett-Packard Development Company L.P. All rights reserved.