itwanger / itwanger/toBeBetterJavaer

我认为争议的一点,希望大佬解答

Open
#133 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
17.7k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

在jvm里面的一个问题:【变量存在堆栈的什么位置?

JEP 122: Remove the Permanent Generation
在里面提到了将字符串常量池和类静态变量移动到Java堆里面

image

同时,在《深入理解java虚拟机第三版》里面,也有提到
image

所以原本的说法是不是就不对了呀

image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the linked JVM memory article with JEP 122 and the referenced passages from 深入理解Java虚拟机. Determine which statement about the string pool and static variables is accurate for the relevant Java versions, then update the article's explanation so the distinction and version context are clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.