Java 中 String 存在哪

字符串驻留 什么是字符串驻留wiki Incomputer science, string interning is a method of storing only onecopy of each distinct string value, which must be immutable. Interning strings makes some stringprocessing tasks more time- or space-efficient at the cost of requiring moretime when the string is created or interned. The distinct values are stored ina string intern pool. 在

Java String Structure

Java 中字符如何存储

Java 中的字符信息是基于 Unicode 的 java 8 中对应的 Unicode 版本是 6.2.0,用 utf-16 编码的 16bit 的码元(code unit) 序列表示的。

JVM 中规定的运行时数据区域

概述

Java虚拟机定义了在执行程序期间使用的各种运行时数据区域。

  • The pc Register – 程序计数器
  • java virtual machine stacks – 虚拟机栈
  • Heap – 堆
  • method area – 方法区
  • Run-Time Constant Pool – 运行时常量池
  • native method stacks – 本地方法栈

Hugo

常用命令 启动 hugo server 添加文章 hugo new post/article.md