Add jni code of maid to avoid file system cache.