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.
我想知道如何在内存映射文件上进行同步以安全地将其用作两个 JVM 之间的管道。有没有人成功地这样做过?
我有一个库可以做到这一点,但它不使用同步。它一次写入内存而不是重用内存,这简化了内存模型。Java编年史