CodePudding user response:
Lock is like a wooden bridge, only one by one, in the process of the lock code, only by one thread at a time to perform, other threads according to the first line, reflected in the form of a Dom tree to express class structure, this structure can be according to the runtime object or type definition static load directly,CodePudding user response:
Write to learn under the JVM, clear class, object life cycle, to understand what you said two is well understood