上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 46 下一页

2023年12月6日

JVM指令

摘要: pop Pop the top operand stack value 弹出 操作数 栈顶的值 astore_<n> Store reference into local variable aload_<n> Load reference from local variable getstatic 阅读全文

posted @ 2023-12-06 15:34 anpeiyong 阅读(5) 评论(0) 推荐(0)

异常机制

摘要: JVM如何处理异常? exception table 概念 方法的异常表 from :可能发生异常的起始点 to :可能发生异常的结束点 target :上述from和to之前发生异常后的异常处理者的位置 type :异常处理者处理的异常的类信息 什么时候被使用? 异常发生的时候 如何被使用? 1. 阅读全文

posted @ 2023-12-06 15:32 anpeiyong 阅读(24) 评论(0) 推荐(0)

2023年12月4日

Lombok

摘要: 概述 https://www.pdai.tech/md/develop/package/dev-package-x-lombok.html 原理 核心之处就是 对于annotation的解析; jdk5引入的注解支持,允许在 编译时&运行时 对元数据 进行动态处理: 运行时解析: 运行时能够解析的注 阅读全文

posted @ 2023-12-04 19:27 anpeiyong 阅读(38) 评论(0) 推荐(0)

2023年12月1日

Annotation

摘要: 概述 The common interface extended by all annotation types. Note that an interface that manually extends this one does not define an annotation type. Al 阅读全文

posted @ 2023-12-01 15:56 anpeiyong 阅读(56) 评论(0) 推荐(0)

2023年11月29日

LogFacade---SLF4J

摘要: 概述 Simple Logging Facade for Java(SLF4J); 用作各种日志框架(eg:java.util.logging,logback,log4j)的简单外观或抽象,允许最终用户在部署 时插入所需的日志记录框架; 不提供完整的日志记录解决方案; 使用SLF4J无法执行配置ap 阅读全文

posted @ 2023-11-29 18:26 anpeiyong 阅读(27) 评论(0) 推荐(0)

log

摘要: https://www.pdai.tech/md/develop/package/dev-package-x-log.html http://51gjie.com/javaweb/173 阅读全文

posted @ 2023-11-29 11:25 anpeiyong 阅读(16) 评论(0) 推荐(0)

2023年11月28日

SPI

摘要: 概述 SPI(Service Provider Interface) JDK内置的一种 服务提供发现机制; 用来 启用框架扩展和替换组件; 当服务的提供者提供了一种接口的实现之后,需要在classpath下的META-INF/services/目录里创建一个以服务接口命名的文件,这个文件里的内容就是 阅读全文

posted @ 2023-11-28 16:06 anpeiyong 阅读(30) 评论(0) 推荐(0)

finalize机制

摘要: 概述 public class Object { protected void finalize() throws Throwable { } } Called by the garbage collector on an object when garbage collection determi 阅读全文

posted @ 2023-11-28 10:40 anpeiyong 阅读(14) 评论(0) 推荐(0)

2023年11月27日

Guava---Cache

摘要: Cache 概述 A semi-persistent mapping from keys to values. Cache entries are manually added using {@link #get(Object, Callable)} or {@link #put(Object, O 阅读全文

posted @ 2023-11-27 18:47 anpeiyong 阅读(39) 评论(0) 推荐(0)

2023年11月24日

Map---WeakHashMap

摘要: 概述 Hash table based implementation of the <tt>Map</tt> interface, with <em>weak keys</em>.An entry in a <tt>WeakHashMap</tt> will automatically be rem 阅读全文

posted @ 2023-11-24 19:55 anpeiyong 阅读(18) 评论(0) 推荐(0)

上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 46 下一页

导航