Fujitsu J Adapter Class Generator User Manual page 49

Fujitsu user's guide j adapter class generator
Table of Contents

Advertisement

Environment variable name
COBJNI_MAX_NSTACK
COBJNI_JAVA_STACK
COBJNI_MIN_HEAP
COBJNI_MAX_HEAP
COBJNI_CLASSPATH
Caution
An error occurs when this method is invoked two or more times in one process.
JVM-TERMINATE Method (factory method)
Explanation
The current thread is isolated from the Java VM. In the multithread applications, the
current thread must be isolated from Java VM before the thread is terminated.
Also, when it is called by the last thread in a process, Java VM is terminated. It is
used when the adapter class is used no more.
Syntax
INVOKE FJ-JAVA-CONTROL "JVM-TERMINATE"
Caution
An error occurs when this method is invoked two or more times in one process.
JVM-ATTACH Method (factory method)
Explanation
The current thread is isolated from the Java VM. In the multithread applications, the
current thread must be isolated from Java VM before the thread is terminated.
Syntax
INVOKE FJ-JAVA-CONTROL "JVM-ATTACH"
JVM-DETACH method (factory method)
Explanation
This is equivalent to the JVM-TERMINATE method.
Syntax
INVOKE FJ-JAVA-CONTROL "JVM-DETACH"
Chapter 5. Adapter Class Reference
Function
Specifies the maximum size (bytes) of the stack used for
the native code. The default is 128 kilobytes.
Specifies the maximum size (bytes) of the stack used for
the Java code. The default is 400 kilobytes.
Specifies the startup size of the memory allocation pool
in bytes. The default is 1 megabyte.
Specifies the maximum size of the memory allocation
pool in bytes. The default is 16 megabytes.
Specifies the execution-time class path.
Environment variable CLASSPATH specifies the
generation-time class path and has no effect at
execution time.
49

Advertisement

Table of Contents
loading

Table of Contents