René's URL Explorer Experiment


Title: JavaGuide/docs/java/jvm/Java内存区域.md at master · WithZhao/JavaGuide · GitHub

Open Graph Title: JavaGuide/docs/java/jvm/Java内存区域.md at master · WithZhao/JavaGuide

X Title: JavaGuide/docs/java/jvm/Java内存区域.md at master · WithZhao/JavaGuide

Description: 【Java学习+面试指南】 一份涵盖大部分Java程序员所需要掌握的核心知识。. Contribute to WithZhao/JavaGuide development by creating an account on GitHub.

Open Graph Description: 【Java学习+面试指南】 一份涵盖大部分Java程序员所需要掌握的核心知识。. Contribute to WithZhao/JavaGuide development by creating an account on GitHub.

X Description: 【Java学习+面试指南】 一份涵盖大部分Java程序员所需要掌握的核心知识。. Contribute to WithZhao/JavaGuide development by creating an account on GitHub.

Opengraph URL: https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/blob/*name(/*path)
route-controllerblob
route-actionshow
fetch-noncev2:e8bf2c4f-97c8-64bc-fbb7-c96ab9db4a90
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idB138:2437B8:1F84885:2AAFA38:6A65569B
html-safe-noncefa8e4badac4d627548ca54f6ea5e8e26665087595ab98a248d5ac12df361dd93
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTM4OjI0MzdCODoxRjg0ODg1OjJBQUZBMzg6NkE2NTU2OUIiLCJ2aXNpdG9yX2lkIjoiODA0ODYzMDQyNTEzMjAyOTU5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf4b57f1519b59384a9e79eb0b2ea798333da7d08643f4dc80bf8745f7af86a55
hovercard-subject-tagrepository:189940784
github-keyboard-shortcutsrepository,source-code,file-tree,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///blob/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md
twitter:imagehttps://opengraph.githubassets.com/da6063ce832a7a8de64a5ef5d80b9a1edbe3cd9063b90fed6dcc93c1dca51d2f/WithZhao/JavaGuide
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/da6063ce832a7a8de64a5ef5d80b9a1edbe3cd9063b90fed6dcc93c1dca51d2f/WithZhao/JavaGuide
og:image:alt【Java学习+面试指南】 一份涵盖大部分Java程序员所需要掌握的核心知识。. Contribute to WithZhao/JavaGuide development by creating an account on GitHub.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None52c76df668885aaff23b50bdca1fa1ea44ac9c1553e888ebc70ff1e4daa4625b
turbo-cache-controlno-cache
go-importgithub.com/WithZhao/JavaGuide git https://github.com/WithZhao/JavaGuide.git
octolytics-dimension-user_id23023594
octolytics-dimension-user_loginWithZhao
octolytics-dimension-repository_id189940784
octolytics-dimension-repository_nwoWithZhao/JavaGuide
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id132464395
octolytics-dimension-repository_parent_nwoSnailclimb/JavaGuide
octolytics-dimension-repository_network_root_id132464395
octolytics-dimension-repository_network_root_nwoSnailclimb/JavaGuide
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release309153364422b3c499922d1a2a6404910a58ed8e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FWithZhao%2FJavaGuide%2Fblob%2Fmaster%2Fdocs%2Fjava%2Fjvm%2FJava%25E5%2586%2585%25E5%25AD%2598%25E5%258C%25BA%25E5%259F%259F.md
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FWithZhao%2FJavaGuide%2Fblob%2Fmaster%2Fdocs%2Fjava%2Fjvm%2FJava%25E5%2586%2585%25E5%25AD%2598%25E5%258C%25BA%25E5%259F%259F.md
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fblob%2Fshow&source=header-repo&source_repo=WithZhao%2FJavaGuide
Reloadhttps://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md
Reloadhttps://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md
Reloadhttps://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md
WithZhao https://github.com/WithZhao
JavaGuidehttps://github.com/WithZhao/JavaGuide
Snailclimb/JavaGuidehttps://github.com/Snailclimb/JavaGuide
Notifications https://github.com/login?return_to=%2FWithZhao%2FJavaGuide
Fork 0 https://github.com/login?return_to=%2FWithZhao%2FJavaGuide
Star 0 https://github.com/login?return_to=%2FWithZhao%2FJavaGuide
Code https://github.com/WithZhao/JavaGuide
Pull requests 0 https://github.com/WithZhao/JavaGuide/pulls
Actions https://github.com/WithZhao/JavaGuide/actions
Projects https://github.com/WithZhao/JavaGuide/projects
Security and quality 0 https://github.com/WithZhao/JavaGuide/security
Insights https://github.com/WithZhao/JavaGuide/pulse
Code https://github.com/WithZhao/JavaGuide
Pull requests https://github.com/WithZhao/JavaGuide/pulls
Actions https://github.com/WithZhao/JavaGuide/actions
Projects https://github.com/WithZhao/JavaGuide/projects
Security and quality https://github.com/WithZhao/JavaGuide/security
Insights https://github.com/WithZhao/JavaGuide/pulse
https://github.com/WithZhao/JavaGuide
JavaGuidehttps://github.com/WithZhao/JavaGuide/tree/master
docshttps://github.com/WithZhao/JavaGuide/tree/master/docs
javahttps://github.com/WithZhao/JavaGuide/tree/master/docs/java
jvmhttps://github.com/WithZhao/JavaGuide/tree/master/docs/java/jvm
Historyhttps://github.com/WithZhao/JavaGuide/commits/master/docs/java/jvm/Java%E5%86%85%E5%AD%98%E5%8C%BA%E5%9F%9F.md
https://github.com/WithZhao/JavaGuide/commits/master/docs/java/jvm/Java%E5%86%85%E5%AD%98%E5%8C%BA%E5%9F%9F.md
JavaGuidehttps://github.com/WithZhao/JavaGuide/tree/master
docshttps://github.com/WithZhao/JavaGuide/tree/master/docs
javahttps://github.com/WithZhao/JavaGuide/tree/master/docs/java
jvmhttps://github.com/WithZhao/JavaGuide/tree/master/docs/java/jvm
Rawhttps://github.com/WithZhao/JavaGuide/raw/refs/heads/master/docs/java/jvm/Java%E5%86%85%E5%AD%98%E5%8C%BA%E5%9F%9F.md
Java 内存区域详解https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#java-%E5%86%85%E5%AD%98%E5%8C%BA%E5%9F%9F%E8%AF%A6%E8%A7%A3
写在前面 (常见面试题)https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#%E5%86%99%E5%9C%A8%E5%89%8D%E9%9D%A2-%E5%B8%B8%E8%A7%81%E9%9D%A2%E8%AF%95%E9%A2%98
基本问题https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#%E5%9F%BA%E6%9C%AC%E9%97%AE%E9%A2%98
拓展问题https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#%E6%8B%93%E5%B1%95%E9%97%AE%E9%A2%98
一 概述https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#%E4%B8%80-%E6%A6%82%E8%BF%B0
二 运行时数据区域https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#%E4%BA%8C-%E8%BF%90%E8%A1%8C%E6%97%B6%E6%95%B0%E6%8D%AE%E5%8C%BA%E5%9F%9F
2.1 程序计数器https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#21-%E7%A8%8B%E5%BA%8F%E8%AE%A1%E6%95%B0%E5%99%A8
2.2 Java 虚拟机栈https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#22-java-%E8%99%9A%E6%8B%9F%E6%9C%BA%E6%A0%88
2.3 本地方法栈https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#23-%E6%9C%AC%E5%9C%B0%E6%96%B9%E6%B3%95%E6%A0%88
2.4 堆https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#24-%E5%A0%86
2.5 方法区https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#25-%E6%96%B9%E6%B3%95%E5%8C%BA
2.5.1 方法区和永久代的关系https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#251-%E6%96%B9%E6%B3%95%E5%8C%BA%E5%92%8C%E6%B0%B8%E4%B9%85%E4%BB%A3%E7%9A%84%E5%85%B3%E7%B3%BB
2.5.2 常用参数https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#252-%E5%B8%B8%E7%94%A8%E5%8F%82%E6%95%B0
2.5.3 为什么要将永久代 (PermGen) 替换为元空间 (MetaSpace) 呢?https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#253-%E4%B8%BA%E4%BB%80%E4%B9%88%E8%A6%81%E5%B0%86%E6%B0%B8%E4%B9%85%E4%BB%A3-permgen-%E6%9B%BF%E6%8D%A2%E4%B8%BA%E5%85%83%E7%A9%BA%E9%97%B4-metaspace-%E5%91%A2
2.6 运行时常量池https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#26-%E8%BF%90%E8%A1%8C%E6%97%B6%E5%B8%B8%E9%87%8F%E6%B1%A0
2.7 直接内存https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#27-%E7%9B%B4%E6%8E%A5%E5%86%85%E5%AD%98
三 HotSpot 虚拟机对象探秘https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#%E4%B8%89-hotspot-%E8%99%9A%E6%8B%9F%E6%9C%BA%E5%AF%B9%E8%B1%A1%E6%8E%A2%E7%A7%98
3.1 对象的创建https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#31-%E5%AF%B9%E8%B1%A1%E7%9A%84%E5%88%9B%E5%BB%BA
Step1:类加载检查https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#step1%E7%B1%BB%E5%8A%A0%E8%BD%BD%E6%A3%80%E6%9F%A5
Step2:分配内存https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#step2%E5%88%86%E9%85%8D%E5%86%85%E5%AD%98
Step3:初始化零值https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#step3%E5%88%9D%E5%A7%8B%E5%8C%96%E9%9B%B6%E5%80%BC
Step4:设置对象头https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#step4%E8%AE%BE%E7%BD%AE%E5%AF%B9%E8%B1%A1%E5%A4%B4
Step5:执行 init 方法https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#step5%E6%89%A7%E8%A1%8C-init-%E6%96%B9%E6%B3%95
3.2 对象的内存布局https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#32-%E5%AF%B9%E8%B1%A1%E7%9A%84%E5%86%85%E5%AD%98%E5%B8%83%E5%B1%80
3.3 对象的访问定位https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#33-%E5%AF%B9%E8%B1%A1%E7%9A%84%E8%AE%BF%E9%97%AE%E5%AE%9A%E4%BD%8D
四 重点补充内容https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#%E5%9B%9B--%E9%87%8D%E7%82%B9%E8%A1%A5%E5%85%85%E5%86%85%E5%AE%B9
4.1 String 类和常量池https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#41-string-%E7%B1%BB%E5%92%8C%E5%B8%B8%E9%87%8F%E6%B1%A0
4.2 String s1 = new String("abc");这句话创建了几个字符串对象?https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#42-string-s1--new-stringabc%E8%BF%99%E5%8F%A5%E8%AF%9D%E5%88%9B%E5%BB%BA%E4%BA%86%E5%87%A0%E4%B8%AA%E5%AD%97%E7%AC%A6%E4%B8%B2%E5%AF%B9%E8%B1%A1
4.3 8 种基本类型的包装类和常量池https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#43-8-%E7%A7%8D%E5%9F%BA%E6%9C%AC%E7%B1%BB%E5%9E%8B%E7%9A%84%E5%8C%85%E8%A3%85%E7%B1%BB%E5%92%8C%E5%B8%B8%E9%87%8F%E6%B1%A0
参考https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#%E5%8F%82%E8%80%83
https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#java-内存区域详解
https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#写在前面-常见面试题
https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#基本问题
https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#拓展问题
https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#一-概述
https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#二-运行时数据区域
https://camo.githubusercontent.com/747a11df6bef2e93a94ff0ea01aa77f372ff9ea3dcf9c2a6f2589e317bc04d62/68747470733a2f2f6d792d626c6f672d746f2d7573652e6f73732d636e2d6265696a696e672e616c6979756e63732e636f6d2f323031392d332f4a564de8bf90e8a18ce697b6e695b0e68daee58cbae59f9f2e706e67
https://camo.githubusercontent.com/940aafa42e8c3d364d521607e3a871003bff2453053b2a3e51ce826dea6cffa7/68747470733a2f2f6d792d626c6f672d746f2d7573652e6f73732d636e2d6265696a696e672e616c6979756e63732e636f6d2f323031392d334a617661e8bf90e8a18ce697b6e695b0e68daee58cbae59f9f4a444b312e382e706e67
https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#21-程序计数器
https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#22-java-虚拟机栈
https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#23-本地方法栈
https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#24-堆
https://camo.githubusercontent.com/b851a39d3c6d1a8423fa15bf9caa278921ff2d3fdc2e3b589220c179fae5f810/68747470733a2f2f6d792d626c6f672d746f2d7573652e6f73732d636e2d6265696a696e672e616c6979756e63732e636f6d2f323031392d33e5a086e7bb93e69e842e706e67
https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#25-方法区
https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#251-方法区和永久代的关系
https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#252-常用参数
https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#253-为什么要将永久代-permgen-替换为元空间-metaspace-呢
https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#26-运行时常量池
https://camo.githubusercontent.com/3ecee3c3cfc06e0b23cdb1423af63715795faf311176ef9448507376e160771f/687474703a2f2f6d792d626c6f672d746f2d7573652e6f73732d636e2d6265696a696e672e616c6979756e63732e636f6d2f31382d392d31342f32363033383433332e6a7067
https://blog.csdn.net/wangbiao007/article/details/78545189https://blog.csdn.net/wangbiao007/article/details/78545189
https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#27-直接内存
https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#三-hotspot-虚拟机对象探秘
https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#31-对象的创建
https://camo.githubusercontent.com/5d823245efd1df8fab3954d7cd8b6bb8302f3eb6bc0a6f739794f7da04a1457a/68747470733a2f2f757365722d676f6c642d63646e2e786974752e696f2f323031382f382f32322f313635363165353961343133353836393f773d39353026683d32373926663d706e6726733d3238353239
https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#step1类加载检查
https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#step2分配内存
https://camo.githubusercontent.com/3ea3fee8d59c3f4caeae89db387c565beceaba818981e6d36fec1522ba8bdaa4/68747470733a2f2f757365722d676f6c642d63646e2e786974752e696f2f323031382f382f32322f313635363165353961343061326333643f773d3134323626683d33333326663d706e6726733d3236333436
https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#step3初始化零值
https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#step4设置对象头
https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#step5执行-init-方法
https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#32-对象的内存布局
https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#33-对象的访问定位
https://camo.githubusercontent.com/0ae49f2995480a00760ed7e3a0f4ac4aba9e436f927f9bf60797988cc0382b8c/68747470733a2f2f757365722d676f6c642d63646e2e786974752e696f2f323031382f342f32372f313633303662393537333936383934363f773d37383626683d33363226663d706e6726733d313039323031
https://camo.githubusercontent.com/255f688983054676284aee4de0d6d7118f48ca1ebc201fa69f7baa59c0f809b9/68747470733a2f2f757365722d676f6c642d63646e2e786974752e696f2f323031382f342f32372f313633303662613361343162366236353f773d37363626683d33353326663d706e6726733d3939313732
https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#四--重点补充内容
https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#41-string-类和常量池
https://www.journaldev.com/797/what-is-java-string-poolhttps://www.journaldev.com/797/what-is-java-string-pool
https://camo.githubusercontent.com/dba8961607c723e5e7049cfd2c7b4881341d62fabf820d82f0b939ba1c90bbd2/68747470733a2f2f6d792d626c6f672d746f2d7573652e6f73732d636e2d6265696a696e672e616c6979756e63732e636f6d2f323031392d33537472696e672d506f6f6c2d4a617661312d343530783234392e706e67
https://camo.githubusercontent.com/d8445e4c746f0809fe5ce9ab0700fe079607ae9801c05d8420fdc46f8b73e7fc/68747470733a2f2f757365722d676f6c642d63646e2e786974752e696f2f323031382f382f32322f313635363165353961346431336639323f773d35393326683d36303326663d706e6726733d3232323635
https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#42-string-s1--new-stringabc这句话创建了几个字符串对象
https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#43-8-种基本类型的包装类和常量池
https://github.com/WithZhao/JavaGuide/blob/master/docs/java/jvm/Java内存区域.md#参考
https://docs.oracle.com/javase/specs/index.htmlhttps://docs.oracle.com/javase/specs/index.html
http://www.pointsoftware.ch/en/under-the-hood-runtime-data-areas-javas-memory-model/http://www.pointsoftware.ch/en/under-the-hood-runtime-data-areas-javas-memory-model/
https://dzone.com/articles/jvm-permgen-%E2%80%93-where-art-thouhttps://dzone.com/articles/jvm-permgen-%E2%80%93-where-art-thou
https://stackoverflow.com/questions/9095748/method-area-and-permgenhttps://stackoverflow.com/questions/9095748/method-area-and-permgen
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.