1) ProgramShunOrderRules: ALineEach operation in the process,Happens-beforeInThe lineAny post in the processContinuedOperation.
2)MonitoringManagerLock rule:RightOneLockThe solutionLock,Happens-beforeIn subsequentOn thisALockThe PlusLock。
3)VolatileChangeAmountRules:RightOneVolatileThe write of the domain,Happens-beforeAt any laterContinue to thisAVolatileDomain's
Read。
4)PassedSex: IfA Happens-before BAndB Happens-before CSoA Happens-before C。
5)Start ()Rules: IfLineRideAPracticeRow operationsThreadb.start ()(KaiMoving lineRideB), thenALineProcess of
Threadb.start ()OperationHappens-beforeInLine b 6) join () rules : if line process Span class= "FONTSTYLE0" >a line operation Threadb.join () line course b
happens-before line course a from threadb.join () operation successfully returned.
Reference "The art of Java concurrent programming"
Happens-before rules