Java object serialization – thread safe?
•
Java
I am writing a highly concurrent application that extensively modifies MyClass objects The course consists of several areas My question is how to prevent specific objects from being modified during serialization by other threads?
Hello, Matt
Solution
To synchronization, two methods of serializing and modifying object state
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码