Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经使用 jni 层写下了 C++ 到 java 调用。在 java 中,我必须在开始时使用 dom4j 加载一些大尺寸的 xml。当它进行加载时,进程返回到 C++ 代码,而不加载 xml;Jni 是否不适用于阻塞操作,任何输入都是可观的。
我找到了根本原因,不是阻塞操作,而是其他原因。:)