03 2021 档案

摘要:/** * Possibly repeatedly traverses from tail, unsplicing cancelled * nodes until none are found. Unparks nodes that may have been * relinked to be ne 阅读全文
posted @ 2021-03-31 15:43 榆木脑袋0v0 阅读(119) 评论(1) 推荐(0)
摘要:static final int WAITING = 1; // must be 1 static final int CANCELLED = 0x80000000; // must be negative static final int COND = 2; // in a condition w 阅读全文
posted @ 2021-03-31 15:07 榆木脑袋0v0 阅读(71) 评论(0) 推荐(0)
摘要:signalNext函数的作用为通知指定节点的后继节点结束等待状态 static final int WAITING = 1; // must be 1 static final int CANCELLED = 0x80000000; // must be negative static final 阅读全文
posted @ 2021-03-31 15:04 榆木脑袋0v0 阅读(71) 评论(0) 推荐(0)
摘要:// 表示Node节点状态的常量 static final int WAITING = 1; // must be 1 static final int CANCELLED = 0x80000000; // must be negative static final int COND = 2; // 阅读全文
posted @ 2021-03-30 11:55 榆木脑袋0v0 阅读(96) 评论(0) 推荐(0)
摘要:本文主要对StringBuilder源代码中的重点难点方法进行解析。 StringBuilder(String str) 创建一个新的StringBuilder,其初始内容为传入的字符串str @HotSpotIntrinsicCandidate public StringBuilder(Strin 阅读全文
posted @ 2021-03-29 22:15 榆木脑袋0v0 阅读(168) 评论(0) 推荐(0)