Threading considerations for Java code
A thread-aware function blocks only the thread calling that function, rather than blocking the entire process. NSJ uses the PUT library in which all I/O are nonblocking.
JToolkit provides a thread-aware API for performing I/O to Enscribe files,
$RECEIVE, and Pathway servers by using Pathsend procedure calls. For more information, see JToolkit for Java API Reference Pages.Due to the deficit of Kernel threads, HPE recommends that you must not use Fork or Join framework to gain any performance improvement on NSJ. If you use this framework, the performance of NSJ reduces.
However, if you want to use Fork or Join framework and if it is used only for CPU intensive operation, HPE recommends that you use
-XX:ThreadTimeSliceoption to enable all threads get the CPU cycles.

