From d071a7322398f0e88ab60725b345e6660028b6b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E4=BA=9A=E6=A5=A0?= <1206054578@qq.com> Date: Wed, 6 Mar 2024 15:15:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=96=87=E7=AB=A0java?= =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E5=90=AF=E5=8A=A8=E6=97=B6=E9=83=BD=E5=8F=91?= =?UTF-8?q?=E7=94=9F=E4=BA=86=E4=BB=80=E4=B9=88=EF=BC=8C=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E7=90=86=E8=A7=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/_posts/other/java程序启动时都发生了什么.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_posts/other/java程序启动时都发生了什么.md b/source/_posts/other/java程序启动时都发生了什么.md index fb4220c..5152628 100644 --- a/source/_posts/other/java程序启动时都发生了什么.md +++ b/source/_posts/other/java程序启动时都发生了什么.md @@ -27,5 +27,5 @@ cover: - - +> 个人理解: +> 类加载过程就是读取.class文件到内存中,将其放在方法区内,然后在Java堆区创建一个java.lang.Class对象,通过Class对象来访问方法区中类的数据结构。类加载的最终产品是位于堆区中的Class对象,Class对象封装了类在方法区内的数据结构,并且向Java程序员提供了访问方法区内的数据结构的接口。