jvmattachthread
jvmattachthread |
Purpose
Synopsis
procedure jvmattachthread
Further information
1. Normally, a Mosel thread will create a corresponding Java thread the first time it calls a Java method. By calling
jvmattachthread, you can force the Java thread to be created earlier.
2. If
mosjvm has not yet loaded the Java Virtual Machine into the Mosel process, it will be loaded by this function. If Java cannot be found or an error occurs loading it, the model will terminate with a runtime error.
3. Prior to Xpress 8.7, calling
jvmattachthread was recommended to improve performance. After Xpress 8.7, this is no longer necessary.
Related topics