8.1 Multiple SICStus Runtimes 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 runtime. Note that a SICStus runtime 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.


Send feedback on this subject.