Abstract—An application can be crippled by the memory leakage of one of its components. Unfortunately, access to the source code of a referenced component, for rectification, is often not feasible. This paper presents our experience of using multi-processing as a strategy to contain the problem. We demonstrate the use of Java Process Builder to protect applications from unstable native code accessed via the Java Native Interface. The technique discussed can help in designing applications that provide better fault tolerance without costing much memory utilization.
Index Terms—Computer crashes, Java Virtual Machine, multi-processing, multi-threading.
Yew Kwang Hooi is with Dept. of Computer and Information Sciences, Uni. Teknologi PETRONAS, Bandar Seri Iskandar, 31750 Tronoh, Perak, Malaysia (firstname.lastname@example.org).
Alan Oxley is with Dept. of Computer and Information Sciences, Uni. Teknologi PETRONAS, Bandar Seri Iskandar, 31750 Tronoh, Perak, Malaysia (email@example.com).
Cite: Yew Kwang Hooi and Alan Oxley, "JNI Fault Tolerance Using Java Process Builder," International Journal of Information and Electronics Engineering vol. 1, no. 2, pp. 190-194, 2011.