posts - 88, comments - 3, trackbacks - 0, articles - 0
            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

          java 常量池從jdk7開始從方法區遷移到堆內

          Posted on 2015-05-06 17:35 Milo的海域 閱讀(1863) 評論(0)  編輯  收藏 所屬分類: Java
          從jdk7最開始的release version (http://www.oracle.com/technetwork/java/javase/jdk7-relnotes-418459.html)的notes里看到

          Area: HotSpot
          Synopsis: In JDK 7, interned strings are no longer allocated in the permanent generation of the Java heap, but are instead allocated in the main part of the Java heap (known as the young and old generations), along with the other objects created by the application. This change will result in more data residing in the main Java heap, and less data in the permanent generation, and thus may require heap sizes to be adjusted. Most applications will see only relatively small differences in heap usage due to this change, but larger applications that load many classes or make heavy use of the String.intern() method will see more significant differences.
          RFE: 6962931

          主站蜘蛛池模板: 临邑县| 明溪县| 潼南县| 永德县| 东海县| 深水埗区| 湄潭县| 邵阳市| 黑山县| 响水县| 大关县| 历史| 扶余县| 乾安县| 呼和浩特市| 柏乡县| 泗洪县| 龙江县| 略阳县| 彩票| 巴马| 乳山市| 虞城县| 永城市| 余江县| 宁安市| 宾阳县| 西贡区| 宜宾县| 白朗县| 齐齐哈尔市| 侯马市| 定州市| 宁都县| 双桥区| 康保县| 彰武县| 额尔古纳市| 贺兰县| 牡丹江市| 普宁市|