Proceedings 12th International Symposium on Software Reliability Engineering (2001)
Hong Kong, China
Nov. 27, 2001 to Nov. 30, 2001
<p>The coexistence of programs written in a safe language with user-supplied unsafe (native) code is convenient (e.g.,it enables direct access to operating system esources), but at the same time it is problematic (e.g.,it may decrease eliability and debuggability). This work aims at retaining most of the benefits of interfacing a safe language with native code while addressing its problems. It is carried out in the context of the Java™ Native Interface (JNI).</p> <p>Our approach is to execute the native code in an operating system process different than that of the safe language application. A technique presented in this paper accomplishes this transparently, automatically, and without sacrificing any of the JNI functionality. No changes to the Java virtual machine (JVM™) or its runtime a e necessary. The resulting prototype does not depend on a particular implementation of the JVM, and is highly portable across hardware a chitectures and operating systems. This approach can be used to improve eliability of applications consisting of a mix of safe and native code and to facilitate debugging them.</p>
M. Wolczko, G. Czajkowsk and L. Daynès, "Automated and Portable Native Code Isolation," Proceedings 12th International Symposium on Software Reliability Engineering(ISSRE), Hong Kong, China, 2001, pp. 298.