René's URL Explorer Experiment


Title: JavaGuide/docs/java/jvm/memory-area.md at master · SuiJavaStudy/JavaGuide · GitHub

Open Graph Title: JavaGuide/docs/java/jvm/memory-area.md at master · SuiJavaStudy/JavaGuide

X Title: JavaGuide/docs/java/jvm/memory-area.md at master · SuiJavaStudy/JavaGuide

Description: Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发与系统设计。准备后端技术面试,首选 JavaGuide! - JavaGuide/docs/java/jvm/memory-area.md at master · SuiJavaStudy/JavaGuide

Open Graph Description: Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发与系统设计。准备后端技术面试,首选 JavaGuide! - SuiJavaStudy/JavaGuide

X Description: Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发与系统设计。准备后端技术面试,首选 JavaGuide! - SuiJavaStudy/JavaGuide

Opengraph URL: https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.md

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/blob/*name(/*path)
route-controllerblob
route-actionshow
fetch-noncev2:c9888dd0-97dd-5a27-194e-06fe965a09e3
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idA004:171AF:ACFA6E:EEFF95:6A612536
html-safe-nonce25e3b204f571337a7636f9229190ff53c235629d6e2c8864426ee491e98e5560
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDA0OjE3MUFGOkFDRkE2RTpFRUZGOTU6NkE2MTI1MzYiLCJ2aXNpdG9yX2lkIjoiMzM1NTkwODA2NzU3MDAzMzk3NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc8f5c9ed978cf8d080dc0a81722ab1dfa614220c35742bba94c5177db1f6c369
hovercard-subject-tagrepository:1190200304
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/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.md
twitter:imagehttps://opengraph.githubassets.com/a056d46d87c84fb0433a9591b16dd939d74118f39c86447b999e3014954d2a00/SuiJavaStudy/JavaGuide
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a056d46d87c84fb0433a9591b16dd939d74118f39c86447b999e3014954d2a00/SuiJavaStudy/JavaGuide
og:image:altJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发与系统设计。准备后端技术面试,首选 JavaGuide! - SuiJavaStudy/JavaGuide
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None7d9987c85f924dc5597480f737e023a6e985b0316e672f00513eb4ba440d87ba
turbo-cache-controlno-cache
go-importgithub.com/SuiJavaStudy/JavaGuide git https://github.com/SuiJavaStudy/JavaGuide.git
octolytics-dimension-user_id270532064
octolytics-dimension-user_loginSuiJavaStudy
octolytics-dimension-repository_id1190200304
octolytics-dimension-repository_nwoSuiJavaStudy/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
released38dc1dac7b5a5d0788e068e080820de6de90a28
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.md#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FSuiJavaStudy%2FJavaGuide%2Fblob%2Fmaster%2Fdocs%2Fjava%2Fjvm%2Fmemory-area.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%2FSuiJavaStudy%2FJavaGuide%2Fblob%2Fmaster%2Fdocs%2Fjava%2Fjvm%2Fmemory-area.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=SuiJavaStudy%2FJavaGuide
Reloadhttps://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.md
Reloadhttps://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.md
Reloadhttps://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.md
Please reload this pagehttps://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.md
SuiJavaStudy https://github.com/SuiJavaStudy
JavaGuidehttps://github.com/SuiJavaStudy/JavaGuide
Snailclimb/JavaGuidehttps://github.com/Snailclimb/JavaGuide
Notifications https://github.com/login?return_to=%2FSuiJavaStudy%2FJavaGuide
Fork 0 https://github.com/login?return_to=%2FSuiJavaStudy%2FJavaGuide
Star 0 https://github.com/login?return_to=%2FSuiJavaStudy%2FJavaGuide
Code https://github.com/SuiJavaStudy/JavaGuide/tree/master
Pull requests 0 https://github.com/SuiJavaStudy/JavaGuide/pulls
Actions https://github.com/SuiJavaStudy/JavaGuide/actions
Projects https://github.com/SuiJavaStudy/JavaGuide/projects
Security and quality 0 https://github.com/SuiJavaStudy/JavaGuide/security
Insights https://github.com/SuiJavaStudy/JavaGuide/pulse
Code https://github.com/SuiJavaStudy/JavaGuide/tree/master
Pull requests https://github.com/SuiJavaStudy/JavaGuide/pulls
Actions https://github.com/SuiJavaStudy/JavaGuide/actions
Projects https://github.com/SuiJavaStudy/JavaGuide/projects
Security and quality https://github.com/SuiJavaStudy/JavaGuide/security
Insights https://github.com/SuiJavaStudy/JavaGuide/pulse
https://github.com/SuiJavaStudy/JavaGuide
JavaGuidehttps://github.com/SuiJavaStudy/JavaGuide/tree/master
docshttps://github.com/SuiJavaStudy/JavaGuide/tree/master/docs
javahttps://github.com/SuiJavaStudy/JavaGuide/tree/master/docs/java
jvmhttps://github.com/SuiJavaStudy/JavaGuide/tree/master/docs/java/jvm
Historyhttps://github.com/SuiJavaStudy/JavaGuide/commits/master/docs/java/jvm/memory-area.md
https://github.com/SuiJavaStudy/JavaGuide/commits/master/docs/java/jvm/memory-area.md
JavaGuidehttps://github.com/SuiJavaStudy/JavaGuide/tree/master
docshttps://github.com/SuiJavaStudy/JavaGuide/tree/master/docs
javahttps://github.com/SuiJavaStudy/JavaGuide/tree/master/docs/java
jvmhttps://github.com/SuiJavaStudy/JavaGuide/tree/master/docs/java/jvm
Rawhttps://github.com/SuiJavaStudy/JavaGuide/raw/refs/heads/master/docs/java/jvm/memory-area.md
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.md#java-内存区域详解
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.md#写在前面-常见面试题
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.md#基本问题
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.md#拓展问题
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.md#一-概述
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.md#二-运行时数据区域
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/pictures/java%E5%86%85%E5%AD%98%E5%8C%BA%E5%9F%9F/JVM%E8%BF%90%E8%A1%8C%E6%97%B6%E6%95%B0%E6%8D%AE%E5%8C%BA%E5%9F%9F.png
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/pictures/java%E5%86%85%E5%AD%98%E5%8C%BA%E5%9F%9F/Java%E8%BF%90%E8%A1%8C%E6%97%B6%E6%95%B0%E6%8D%AE%E5%8C%BA%E5%9F%9FJDK1.8.png
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.md#21-程序计数器
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.md#22-java-虚拟机栈
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/pictures/java%E5%86%85%E5%AD%98%E5%8C%BA%E5%9F%9F/%E3%80%8A%E6%B7%B1%E5%85%A5%E7%90%86%E8%A7%A3%E8%99%9A%E6%8B%9F%E6%9C%BA%E3%80%8B%E7%AC%AC%E4%B8%89%E7%89%88%E7%9A%84%E7%AC%AC2%E7%AB%A0-%E8%99%9A%E6%8B%9F%E6%9C%BA%E6%A0%88.png
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.md#23-本地方法栈
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.md#24-堆
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/pictures/java%E5%86%85%E5%AD%98%E5%8C%BA%E5%9F%9F/JVM%E5%A0%86%E5%86%85%E5%AD%98%E7%BB%93%E6%9E%84-JDK7.png
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/pictures/java%E5%86%85%E5%AD%98%E5%8C%BA%E5%9F%9F/JVM%E5%A0%86%E5%86%85%E5%AD%98%E7%BB%93%E6%9E%84-jdk8.png
issue552https://github.com/Snailclimb/JavaGuide/issues/552
Default Java 8 max heap sizehttps://stackoverflow.com/questions/28272923/default-xmxsize-in-java-8-max-heap-size
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.md#25-方法区
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.md#251-方法区和永久代的关系
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.md#252-常用参数
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.md#253-为什么要将永久代-permgen-替换为元空间-metaspace-呢
https://camo.githubusercontent.com/a6a0078cf65e57b8979b66ded3d71007480c16a8ad8bff75c0d76a366e1b7f90/68747470733a2f2f696d672d626c6f672e6373646e696d672e636e2f32303231303432353133343530383131372e706e67
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.md#26-运行时常量池
issue747https://github.com/Snailclimb/JavaGuide/issues/747
referencehttps://blog.csdn.net/q5706503/article/details/84640762
https://www.zhihu.com/question/57109429/answer/151717241https://www.zhihu.com/question/57109429/answer/151717241
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.md#27-直接内存
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.md#三-hotspot-虚拟机对象探秘
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.md#31-对象的创建
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/pictures/java%E5%86%85%E5%AD%98%E5%8C%BA%E5%9F%9F/Java%E5%88%9B%E5%BB%BA%E5%AF%B9%E8%B1%A1%E7%9A%84%E8%BF%87%E7%A8%8B.png
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.md#step1类加载检查
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.md#step2分配内存
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/pictures/java%E5%86%85%E5%AD%98%E5%8C%BA%E5%9F%9F/%E5%86%85%E5%AD%98%E5%88%86%E9%85%8D%E7%9A%84%E4%B8%A4%E7%A7%8D%E6%96%B9%E5%BC%8F.png
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.md#step3初始化零值
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.md#step4设置对象头
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.md#step5执行-init-方法
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.md#32-对象的内存布局
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.md#33-对象的访问定位
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/pictures/java%E5%86%85%E5%AD%98%E5%8C%BA%E5%9F%9F/%E5%AF%B9%E8%B1%A1%E7%9A%84%E8%AE%BF%E9%97%AE%E5%AE%9A%E4%BD%8D-%E4%BD%BF%E7%94%A8%E5%8F%A5%E6%9F%84.png
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/pictures/java%E5%86%85%E5%AD%98%E5%8C%BA%E5%9F%9F/%E5%AF%B9%E8%B1%A1%E7%9A%84%E8%AE%BF%E9%97%AE%E5%AE%9A%E4%BD%8D-%E7%9B%B4%E6%8E%A5%E6%8C%87%E9%92%88.png
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.md#四-重点补充内容
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.md#41-字符串常量池常见问题
https://camo.githubusercontent.com/0c748dc103b8fbeaae00303d11c2bdcd13e943b2f11799257af3c4a77dff8122/68747470733a2f2f67756964652d626c6f672d696d616765732e6f73732d636e2d7368656e7a68656e2e616c6979756e63732e636f6d2f6a6176612d67756964652d626c6f672f696d6167652d32303231303831373132333235323434312e706e67
https://camo.githubusercontent.com/f358f4c6934df282cb81f06d3f3cdb2c5558cb93455ef9ef1e80dc40c0a4ed9f/68747470733a2f2f67756964652d626c6f672d696d616765732e6f73732d636e2d7368656e7a68656e2e616c6979756e63732e636f6d2f6a61766167756964652f696d6167652d32303231303831373134323731353339362e706e67
https://camo.githubusercontent.com/82b45e796f8651f945d49da7c1def60e95dc97bf925db9e7a90c2eb8bc40265d/68747470733a2f2f67756964652d626c6f672d696d616765732e6f73732d636e2d7368656e7a68656e2e616c6979756e63732e636f6d2f6a6176612d67756964652d626c6f672f2545352541442539372545372541432541362545342542382542322545362538422542432545362538452541352d2545352542382542382545392538372538462545362542312541302e706e67
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.md#42-string-s1--new-stringabc这句话创建了几个字符串对象
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.md#43-8-种基本类型的包装类和常量池
https://camo.githubusercontent.com/23db5dac5d295030b1b91fc69fbe35f02b5b041367d2d3b29075fed509ee40a7/68747470733a2f2f67756964652d626c6f672d696d616765732e6f73732d636e2d7368656e7a68656e2e616c6979756e63732e636f6d2f6a61766167756964652f32303231303331333136343734303839332e706e67
https://github.com/SuiJavaStudy/JavaGuide/blob/master/docs/java/jvm/memory-area.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://tech.meituan.com/2014/03/06/in-depth-understanding-string-intern.htmlhttps://tech.meituan.com/2014/03/06/in-depth-understanding-string-intern.html
https://www.zhihu.com/question/55976094/answer/147302764https://www.zhihu.com/question/55976094/answer/147302764
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.