摘要:
Prints Java thread stack traces for a Java process, core file, or remote debug server. This command is experimental and unsupported.Synopsisjstack[opt... 阅读全文
摘要:
Prints shared object memory maps or heap memory details for a process, core file, or remote debug server. This command is experimental and unsupported... 阅读全文
摘要:
Analyzes the Java heap. This command is experimental and unsupported.Synopsisjhat[options]heap-dump-fileoptionsThe command-line options. SeeOptions.he... 阅读全文
摘要:
Generates configuration information. This command is experimental and unsupported.Synopsisjinfo[option]pidjinfo[option]executable corejinfo[option][ s... 阅读全文
摘要:
Monitors Java Virtual Machines (JVMs) and enables remote monitoring tools to attach to JVMs. This command is experimental and unsupported.Synopsisjsta... 阅读全文
摘要:
Finds and fixes bugs in Java platform programs.Synopsisjdb[options] [classname] [arguments]optionsCommand-line options. SeeOptions.classnameName of th... 阅读全文
摘要:
Reads Java class and interface definitions and compiles them into bytecode and class files.Synopsisjavac[options] [sourcefiles] [classes] [@argfiles]A... 阅读全文
摘要:
Launches a Java application.Synopsisjava[options]classname[args]java[options]-jarfilename[args]javaw[options]classname[args]javaw[options]-jarfilename... 阅读全文
摘要:
这两天看了一下深入浅出JVM这本书,推荐给高级的java程序员去看,对你了解JAVA的底层和运行机制有比较大的帮助。废话不想讲了.入主题:先了解具体的概念:JAVA的JVM的内存可分为3个区:堆(heap)、栈(stack)和方法区(method)堆区:1.存储的全部是对象,每个对象都包含一个与之对... 阅读全文
摘要:
我们知道,计算机CPU和内存的交互是最频繁的,内存是我们的高速缓存区,用户磁盘和CPU的交互,而CPU运转速度越来越快,磁盘远远跟不上CPU的读写速度,才设计了内存,用户缓冲用户IO等待导致CPU的等待成本,但是随着CPU的发展,内存的读写速度也远远跟不上CPU的读写速度,因此,为了解决这一纠纷,C... 阅读全文
摘要:
1. JVM Tuning基础知识1.1 Java堆结构 Java堆可以处于物理上不连续的内存空间上,只要逻辑上是连续的即可。Java堆就是各种对象分配和保存的内存空间,线程间共享。Java堆分为Eden区,Survivor区,tenured区和Permanent区,如下图所示。 Java堆的分... 阅读全文