) 摘要: 本文首先介绍了运行时的Java程序的内存管理模型中的方法区、堆和Java栈等几块内存区域
又详细分析了Java中的String类型的特殊的创建方式、不可变性、内置机制以及String的连接操作等特性
程明
基于JVM内存模型的String分析[EB/OL]
北京:中国科技论文在线
安全 通信联系人: 【收录情况】 中国科技论文在线: 王培
又介绍了存于堆中的常量池这块比较特殊的内存
) Abstract: Firstly, this article introduces several memory area for example method area, heap, Java stack in runtime Java program, then shows the special memory Constant Pool
Based on the knowledge of mentioned memory areas, the article analyzes String of Java and its properties including String's two special creation manners, immutability, intern mechanism and String concatenation
Keywords: Java; Method Area; Heap; Stack; String; Immutability; Intern; String Concatenation 下载PDF阅读器 PDF全文下载: 初稿 ( 234 ) 作者简介: 王培(1987
07-)
南京 211100
CHENG Ming ( College of Computers & Information,Hohai University,Nanjing 211100