Java
234 notes
Some notes are currently available only in Chinese. English translations are shown when available.
- How Objects Are Locatedhistorical
Oracle JDK and OpenJDK use direct pointers: fast access, but pointers need to be updated if GC moves surviving objects.
- 7.19 OOM Exampleshistorical
Why OOM occurs and examples for heap, Metaspace, stack overflow, GC overhead, direct buffer memory, and native-thread exhaustion.
- 7.20 Performance Analysis Toolshistorical
Built-in JDK tools such as jps, jinfo, jstack, jmap, jstat, and jhat, plus JMX, MAT, Java Mission Control, BTrace, flame graphs, YourKit, JProfiler, and GC log tools.
- 7.21 JVM Parameter Tuninghistorical
Which JVM parameters to tune, JVM parameter types, how to inspect them, common options, examples, and a typical configuration.
- OOPhistorical
Whether creating a subclass object also creates a parent object, whether private fields are inherited, and references.