Native code support

The JamaicaVM implements the Java Native Interface V1.2 (JNI). This allows for direct embedding of existing native code into Java applications, or to encode hardware-accesses and performance-critical code sections in C or machine code routines. The usage of the Java Native Interface provides execution security even with the presence of native code, while binary compatibility with other Java implementations is ensured. Unlike other Java implementations, JamaicaVM provides exact garbage collection even with the presence of native code. Realtime guarantees for the Java code are not affected by the presence of native code.