Source Code Transformations to Improve Performance of Applications using Java Native Interface (JNI)
Original Publication Date: 2001-Apr-20
Included in the Prior Art Database: 2003-Jun-18
Source Code Transformations to Improve Performance of Applications using Java Native Interface (JNI) This disclosure describes inefficient Java* Native Interface (JNI) constructs and identifies source code transforms to more efficient constructs. It has been observed from trace and performance measurement data that Java applications that use native methods via the JNI interface can suffer significant performance loss due to a poor use of the interface. This problem also occurs in the core Java 2* classes, which also rely on JNI to communicate with native methods.