Node:Multiple SICStus Run-Times in Java, Next:, Previous:Memory Considerations, Up:Multiple SICStus Run-Times

Multiple SICStus Run-Times in Java

In Java, you can now create more than one se.sics.jasper.SICStus object. Each will correspond to a completely independent copy of the SICStus run-time. Note that a SICStus run-time is not deallocated when the corresponding SICStus object is no longer used. Thus, the best way to use multiple SICStus objects is to create them early and then re-use them as needed.

It is probably useful to create each in its own separate thread. One reason would be to gain speed on a multi-processor machine.