摘要:
一、CAS 是什么? CAS(Compare And Swap),比较并交换,它是一条CPU并发原语。它的功能是判断内存某个位置的值是否为预期值,如果是则更新为新的值,这个过程是原子的。 1 public class CASDemo { 2 public static void main(Strin 阅读全文
摘要:
一、异常如下控制台日志:严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.sp 阅读全文