JVM 参数
{Back to Index}

Table of Contents

1 GC 日志

1.1 -XX:+PrintGC

[GC (Allocation Failure)  2048K->858K(9728K), 0.0012767 secs]
[GC (Allocation Failure)  2906K->1182K(9728K), 0.0007815 secs]
[GC (Allocation Failure)  3230K->1582K(9728K), 0.0011561 secs]
[GC (Allocation Failure) -- 8527K->8636K(9728K), 0.0011188 secs]
[Full GC (Ergonomics)  8636K->6856K(9728K), 0.0088415 secs]
[Full GC (Ergonomics)  7921K->8270K(9728K), 0.0082442 secs]
[Full GC (Allocation Failure)  8270K->8208K(9728K), 0.0063719 secs]

1.2 -XX:+PrintGCDetails

使用此参数,虚拟机在退出前会打印堆的详细信息,描述当前堆各个区间的使用情况。

[GC (Allocation Failure) [PSYoungGen: 2048K->501K(2560K)] 2048K->842K(9728K), 0.0012032 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
[GC (Allocation Failure) [PSYoungGen: 2549K->496K(2560K)] 2890K->1209K(9728K), 0.0008563 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
[GC (Allocation Failure) [PSYoungGen: 2544K->501K(2560K)] 3257K->1638K(9728K), 0.0021104 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
[GC (Allocation Failure) --[PSYoungGen: 2325K->2325K(2560K)] 8582K->8707K(9728K), 0.0010796 secs] [Times: user=0.00 sys=0.01, real=0.00 secs]
[Full GC (Ergonomics) [PSYoungGen: 2325K->0K(2560K)] [ParOldGen: 6381K->6744K(7168K)] 8707K->6744K(9728K), [Metaspace: 4836K->4836K(1056768K)], 0.0079674 secs] [Times: user=0.04 sys=0.00, real=0.01 secs]
[Full GC (Ergonomics) [PSYoungGen: 1024K->1461K(2560K)] [ParOldGen: 6744K->6724K(7168K)] 7768K->8185K(9728K), [Metaspace: 4836K->4836K(1056768K)], 0.0052952 secs] [Times: user=0.03 sys=0.00, real=0.01 secs]
[GC (Allocation Failure) --[PSYoungGen: 1461K->1461K(2560K)] 8185K->8215K(9728K), 0.0007703 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
[Full GC (Allocation Failure) [PSYoungGen: 1461K->1422K(2560K)] [ParOldGen: 6753K->6702K(7168K)] 8215K->8124K(9728K), [Metaspace: 4836K->4833K(1056768K)], 0.0071357 secs] [Times: user=0.03 sys=0.00, real=0.00 secs]
Heap
 PSYoungGen      total 2560K, used 1759K [0x00000007bfd00000, 0x00000007c0000000, 0x00000007c0000000)
  eden space 2048K, 85% used [0x00000007bfd00000,0x00000007bfeb7e18,0x00000007bff00000)
  from space 512K, 0% used [0x00000007bff00000,0x00000007bff00000,0x00000007bff80000)
  to   space 512K, 0% used [0x00000007bff80000,0x00000007bff80000,0x00000007c0000000)
 ParOldGen       total 7168K, used 6702K [0x00000007bf600000, 0x00000007bfd00000, 0x00000007bfd00000)
  object space 7168K, 93% used [0x00000007bf600000,0x00000007bfc8b810,0x00000007bfd00000)
 Metaspace       used 4877K, capacity 5108K, committed 5248K, reserved 1056768K
  class space    used 571K, capacity 624K, committed 640K, reserved 1048576K

1.3 -XX:+PrintHeapAtGC

在每次 GC 前后,打印堆的信息。

{Heap before GC invocations=1 (full 0):
 PSYoungGen      total 2560K, used 2048K [0x00000007bfd00000, 0x00000007c0000000, 0x00000007c0000000)
  eden space 2048K, 100% used [0x00000007bfd00000,0x00000007bff00000,0x00000007bff00000)
  from space 512K, 0% used [0x00000007bff80000,0x00000007bff80000,0x00000007c0000000)
  to   space 512K, 0% used [0x00000007bff00000,0x00000007bff00000,0x00000007bff80000)
 ParOldGen       total 7168K, used 0K [0x00000007bf600000, 0x00000007bfd00000, 0x00000007bfd00000)
  object space 7168K, 0% used [0x00000007bf600000,0x00000007bf600000,0x00000007bfd00000)
 Metaspace       used 2599K, capacity 4480K, committed 4480K, reserved 1056768K
  class space    used 275K, capacity 384K, committed 384K, reserved 1048576K
Heap after GC invocations=1 (full 0):
 PSYoungGen      total 2560K, used 501K [0x00000007bfd00000, 0x00000007c0000000, 0x00000007c0000000)
  eden space 2048K, 0% used [0x00000007bfd00000,0x00000007bfd00000,0x00000007bff00000)
  from space 512K, 97% used [0x00000007bff00000,0x00000007bff7d488,0x00000007bff80000)
  to   space 512K, 0% used [0x00000007bff80000,0x00000007bff80000,0x00000007c0000000)
 ParOldGen       total 7168K, used 369K [0x00000007bf600000, 0x00000007bfd00000, 0x00000007bfd00000)
  object space 7168K, 5% used [0x00000007bf600000,0x00000007bf65c6c0,0x00000007bfd00000)
 Metaspace       used 2599K, capacity 4480K, committed 4480K, reserved 1056768K
  class space    used 275K, capacity 384K, committed 384K, reserved 1048576K
}
{Heap before GC invocations=2 (full 0):
 PSYoungGen      total 2560K, used 2549K [0x00000007bfd00000, 0x00000007c0000000, 0x00000007c0000000)
  eden space 2048K, 100% used [0x00000007bfd00000,0x00000007bff00000,0x00000007bff00000)
  from space 512K, 97% used [0x00000007bff00000,0x00000007bff7d488,0x00000007bff80000)
  to   space 512K, 0% used [0x00000007bff80000,0x00000007bff80000,0x00000007c0000000)
 ParOldGen       total 7168K, used 369K [0x00000007bf600000, 0x00000007bfd00000, 0x00000007bfd00000)
  object space 7168K, 5% used [0x00000007bf600000,0x00000007bf65c6c0,0x00000007bfd00000)
 Metaspace       used 3784K, capacity 4628K, committed 4864K, reserved 1056768K
  class space    used 418K, capacity 464K, committed 512K, reserved 1048576K
Heap after GC invocations=2 (full 0):
 PSYoungGen      total 2560K, used 512K [0x00000007bfd00000, 0x00000007c0000000, 0x00000007c0000000)
  eden space 2048K, 0% used [0x00000007bfd00000,0x00000007bfd00000,0x00000007bff00000)
  from space 512K, 100% used [0x00000007bff80000,0x00000007c0000000,0x00000007c0000000)
  to   space 512K, 0% used [0x00000007bff00000,0x00000007bff00000,0x00000007bff80000)
 ParOldGen       total 7168K, used 697K [0x00000007bf600000, 0x00000007bfd00000, 0x00000007bfd00000)
  object space 7168K, 9% used [0x00000007bf600000,0x00000007bf6ae6f0,0x00000007bfd00000)
 Metaspace       used 3784K, capacity 4628K, committed 4864K, reserved 1056768K
  class space    used 418K, capacity 464K, committed 512K, reserved 1048576K
}
{Heap before GC invocations=3 (full 0):
 PSYoungGen      total 2560K, used 2560K [0x00000007bfd00000, 0x00000007c0000000, 0x00000007c0000000)
  eden space 2048K, 100% used [0x00000007bfd00000,0x00000007bff00000,0x00000007bff00000)
  from space 512K, 100% used [0x00000007bff80000,0x00000007c0000000,0x00000007c0000000)
  to   space 512K, 0% used [0x00000007bff00000,0x00000007bff00000,0x00000007bff80000)
 ParOldGen       total 7168K, used 697K [0x00000007bf600000, 0x00000007bfd00000, 0x00000007bfd00000)
  object space 7168K, 9% used [0x00000007bf600000,0x00000007bf6ae6f0,0x00000007bfd00000)
 Metaspace       used 4418K, capacity 4948K, committed 5248K, reserved 1056768K
  class space    used 518K, capacity 528K, committed 640K, reserved 1048576K
Heap after GC invocations=3 (full 0):
 PSYoungGen      total 2560K, used 512K [0x00000007bfd00000, 0x00000007c0000000, 0x00000007c0000000)
  eden space 2048K, 0% used [0x00000007bfd00000,0x00000007bfd00000,0x00000007bff00000)
  from space 512K, 100% used [0x00000007bff00000,0x00000007bff80000,0x00000007bff80000)
  to   space 512K, 0% used [0x00000007bff80000,0x00000007bff80000,0x00000007c0000000)
 ParOldGen       total 7168K, used 1110K [0x00000007bf600000, 0x00000007bfd00000, 0x00000007bfd00000)
  object space 7168K, 15% used [0x00000007bf600000,0x00000007bf7158a8,0x00000007bfd00000)
 Metaspace       used 4418K, capacity 4948K, committed 5248K, reserved 1056768K
  class space    used 518K, capacity 528K, committed 640K, reserved 1048576K
}
{Heap before GC invocations=4 (full 0):
 PSYoungGen      total 2560K, used 2370K [0x00000007bfd00000, 0x00000007c0000000, 0x00000007c0000000)
  eden space 2048K, 90% used [0x00000007bfd00000,0x00000007bfed0920,0x00000007bff00000)
  from space 512K, 100% used [0x00000007bff00000,0x00000007bff80000,0x00000007bff80000)
  to   space 512K, 0% used [0x00000007bff80000,0x00000007bff80000,0x00000007c0000000)
 ParOldGen       total 7168K, used 6230K [0x00000007bf600000, 0x00000007bfd00000, 0x00000007bfd00000)
  object space 7168K, 86% used [0x00000007bf600000,0x00000007bfc158f8,0x00000007bfd00000)
 Metaspace       used 4836K, capacity 5082K, committed 5248K, reserved 1056768K
  class space    used 562K, capacity 593K, committed 640K, reserved 1048576K
Heap after GC invocations=4 (full 0):
 PSYoungGen      total 2560K, used 2370K [0x00000007bfd00000, 0x00000007c0000000, 0x00000007c0000000)
  eden space 2048K, 90% used [0x00000007bfd00000,0x00000007bfed0920,0x00000007bff00000)
  from space 512K, 100% used [0x00000007bff00000,0x00000007bff80000,0x00000007bff80000)
  to   space 512K, 100% used [0x00000007bff80000,0x00000007c0000000,0x00000007c0000000)
 ParOldGen       total 7168K, used 6333K [0x00000007bf600000, 0x00000007bfd00000, 0x00000007bfd00000)
  object space 7168K, 88% used [0x00000007bf600000,0x00000007bfc2f6f0,0x00000007bfd00000)
 Metaspace       used 4836K, capacity 5082K, committed 5248K, reserved 1056768K
  class space    used 562K, capacity 593K, committed 640K, reserved 1048576K
}
{Heap before GC invocations=5 (full 1):
 PSYoungGen      total 2560K, used 2370K [0x00000007bfd00000, 0x00000007c0000000, 0x00000007c0000000)
  eden space 2048K, 90% used [0x00000007bfd00000,0x00000007bfed0920,0x00000007bff00000)
  from space 512K, 100% used [0x00000007bff00000,0x00000007bff80000,0x00000007bff80000)
  to   space 512K, 100% used [0x00000007bff80000,0x00000007c0000000,0x00000007c0000000)
 ParOldGen       total 7168K, used 6333K [0x00000007bf600000, 0x00000007bfd00000, 0x00000007bfd00000)
  object space 7168K, 88% used [0x00000007bf600000,0x00000007bfc2f6f0,0x00000007bfd00000)
 Metaspace       used 4836K, capacity 5082K, committed 5248K, reserved 1056768K
  class space    used 562K, capacity 593K, committed 640K, reserved 1048576K
Heap after GC invocations=5 (full 1):
 PSYoungGen      total 2560K, used 0K [0x00000007bfd00000, 0x00000007c0000000, 0x00000007c0000000)
  eden space 2048K, 0% used [0x00000007bfd00000,0x00000007bfd00000,0x00000007bff00000)
  from space 512K, 0% used [0x00000007bff00000,0x00000007bff00000,0x00000007bff80000)
  to   space 512K, 91% used [0x00000007bff80000,0x00000007bfff54f0,0x00000007c0000000)
 ParOldGen       total 7168K, used 6794K [0x00000007bf600000, 0x00000007bfd00000, 0x00000007bfd00000)
  object space 7168K, 94% used [0x00000007bf600000,0x00000007bfca2918,0x00000007bfd00000)
 Metaspace       used 4836K, capacity 5082K, committed 5248K, reserved 1056768K
  class space    used 562K, capacity 593K, committed 640K, reserved 1048576K
}
{Heap before GC invocations=6 (full 2):
 PSYoungGen      total 2560K, used 1024K [0x00000007bfd00000, 0x00000007c0000000, 0x00000007c0000000)
  eden space 2048K, 50% used [0x00000007bfd00000,0x00000007bfe00010,0x00000007bff00000)
  from space 512K, 0% used [0x00000007bff00000,0x00000007bff00000,0x00000007bff80000)
  to   space 512K, 91% used [0x00000007bff80000,0x00000007bfff54f0,0x00000007c0000000)
 ParOldGen       total 7168K, used 6794K [0x00000007bf600000, 0x00000007bfd00000, 0x00000007bfd00000)
  object space 7168K, 94% used [0x00000007bf600000,0x00000007bfca2918,0x00000007bfd00000)
 Metaspace       used 4836K, capacity 5082K, committed 5248K, reserved 1056768K
  class space    used 562K, capacity 593K, committed 640K, reserved 1048576K
Heap after GC invocations=6 (full 2):
 PSYoungGen      total 2560K, used 1486K [0x00000007bfd00000, 0x00000007c0000000, 0x00000007c0000000)
  eden space 2048K, 72% used [0x00000007bfd00000,0x00000007bfe739e8,0x00000007bff00000)
  from space 512K, 0% used [0x00000007bff00000,0x00000007bff00000,0x00000007bff80000)
  to   space 512K, 0% used [0x00000007bff80000,0x00000007bff80000,0x00000007c0000000)
 ParOldGen       total 7168K, used 6770K [0x00000007bf600000, 0x00000007bfd00000, 0x00000007bfd00000)
  object space 7168K, 94% used [0x00000007bf600000,0x00000007bfc9c818,0x00000007bfd00000)
 Metaspace       used 4836K, capacity 5082K, committed 5248K, reserved 1056768K
  class space    used 562K, capacity 593K, committed 640K, reserved 1048576K
}
{Heap before GC invocations=7 (full 3):
 PSYoungGen      total 2560K, used 1486K [0x00000007bfd00000, 0x00000007c0000000, 0x00000007c0000000)
  eden space 2048K, 72% used [0x00000007bfd00000,0x00000007bfe739e8,0x00000007bff00000)
  from space 512K, 0% used [0x00000007bff00000,0x00000007bff00000,0x00000007bff80000)
  to   space 512K, 0% used [0x00000007bff80000,0x00000007bff80000,0x00000007c0000000)
 ParOldGen       total 7168K, used 6770K [0x00000007bf600000, 0x00000007bfd00000, 0x00000007bfd00000)
  object space 7168K, 94% used [0x00000007bf600000,0x00000007bfc9c818,0x00000007bfd00000)
 Metaspace       used 4836K, capacity 5082K, committed 5248K, reserved 1056768K
  class space    used 562K, capacity 593K, committed 640K, reserved 1048576K
Heap after GC invocations=7 (full 3):
 PSYoungGen      total 2560K, used 1469K [0x00000007bfd00000, 0x00000007c0000000, 0x00000007c0000000)
  eden space 2048K, 71% used [0x00000007bfd00000,0x00000007bfe6f600,0x00000007bff00000)
  from space 512K, 0% used [0x00000007bff00000,0x00000007bff00000,0x00000007bff80000)
  to   space 512K, 0% used [0x00000007bff80000,0x00000007bff80000,0x00000007c0000000)
 ParOldGen       total 7168K, used 6725K [0x00000007bf600000, 0x00000007bfd00000, 0x00000007bfd00000)
  object space 7168K, 93% used [0x00000007bf600000,0x00000007bfc91518,0x00000007bfd00000)
 Metaspace       used 4832K, capacity 5076K, committed 5248K, reserved 1056768K
  class space    used 562K, capacity 592K, committed 640K, reserved 1048576K
}

1.4 -XX:+PrintGCTimestamps

每次 GC 时,额外输出 GC 发生时间,该输出时间为虚拟机启动后的时间偏移量。

-Xmx10m -Xms10m -XX:+PrintGC -XX:+PrintGCTimeStamps 👇

0.112: [GC (Allocation Failure)  2048K->839K(9728K), 0.0012301 secs]
0.179: [GC (Allocation Failure)  2887K->1163K(9728K), 0.0037590 secs]
0.227: [GC (Allocation Failure)  3211K->1576K(9728K), 0.0015465 secs]
0.252: [GC (Allocation Failure) -- 8521K->8645K(9728K), 0.0011044 secs]
0.253: [Full GC (Ergonomics)  8645K->6926K(9728K), 0.0083759 secs]
0.262: [Full GC (Ergonomics)  7950K->8367K(9728K), 0.0062829 secs]
0.268: [Full GC (Allocation Failure)  8367K->8306K(9728K), 0.0061566 secs]

1.5 -XX:+PrintGCDateStamps

-Xmx10m -Xms10m -XX:+PrintGC -XX:+PrintGCDateStamps 👇

2020-03-30T11:12:40.265-0800: [GC (Allocation Failure)  2048K->862K(9728K), 0.0013902 secs]
2020-03-30T11:12:40.330-0800: [GC (Allocation Failure)  2910K->1170K(9728K), 0.0008854 secs]
2020-03-30T11:12:40.373-0800: [GC (Allocation Failure)  3218K->1574K(9728K), 0.0013724 secs]
2020-03-30T11:12:40.400-0800: [GC (Allocation Failure) -- 8516K->8657K(9728K), 0.0010572 secs]
2020-03-30T11:12:40.402-0800: [Full GC (Ergonomics)  8657K->7009K(9728K), 0.0087848 secs]
2020-03-30T11:12:40.411-0800: [Full GC (Ergonomics)  8033K->8442K(9728K), 0.0065471 secs]
2020-03-30T11:12:40.417-0800: [Full GC (Allocation Failure)  8442K->8380K(9728K), 0.0064634 secs]

1.6 -Xloggc

用于将 GC 日志输出至指定文件。

-Xmx10m -Xms10m -XX:+PrintGC -XX:+PrintGCDateStamps -Xloggc:/tmp/jvm_gc_%p_%t.log

1.7 -XX:+UseGCLogFileRotation

-Xmx1024m -Xms10m -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:/tmp/jvm_gc_%p_%t.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=10M

2 堆溢出处理

2.1 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=<dumpfile>

-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/jvm_dump.hprof

2.2 -XX:OnOutOfMemoryError=<script>

虚拟机允许在发生错误时执行一个脚本文件,可用于崩溃程序的自救和收集系统信息。

-Xmx10m -Xms10m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/jvm.dump "-XX:OnOutOfMemoryError=collect_info.sh %p"

3 内存分配

3.1 堆内存分配

jvm-heap-alloc.png

Figure 1: 堆内存分配参数示意图

3.2 直接内存分配

最大可用直接内存可使用参数 -XX:MaxDirectMemorySize 设置,如果不设置, 默认值为最大堆空间。
当直接内存使用量达到 -XX:MaxDirectMemorySize 时,就会触发垃圾回收。
直接内存溢出依然会引起 OOM 。

4 直接内存跟踪

在启动参数中加入 -XX:NativeMemoryTracking=summary 或者 -XX:NativeMemoryTracking=detail 开启跟踪。

$ jcmd 96538 help VM.native_memory
96538:
VM.native_memory
Print native memory usage

Impact: Medium

Permission: java.lang.management.ManagementPermission(monitor)

Syntax : VM.native_memory [options]

Options: (options must be specified using the <key> or <key>=<value> syntax)
        summary : [optional] request runtime to report current memory summary, which includes total reserved and committed memory, along with memory usage summary by each subsytem. (BOOLEAN, false)
        detail : [optional] request runtime to report memory allocation >= 1K by each callsite. (BOOLEAN, false)
        baseline : [optional] request runtime to baseline current memory usage, so it can be compared against in later time. (BOOLEAN, false)
        summary.diff : [optional] request runtime to report memory summary comparison against previous baseline. (BOOLEAN, false)
        detail.diff : [optional] request runtime to report memory detail comparison against previous baseline, which shows the memory allocation activities at different callsites. (BOOLEAN, false)
        shutdown : [optional] request runtime to shutdown itself and free the memory used by runtime. (BOOLEAN, false)
        statistics : [optional] print tracker statistics for tuning purpose. (BOOLEAN, false)
        scale : [optional] Memory usage in which scale, KB, MB or GB (STRING, KB)

4.1 设置基线

jcmd <pid> VM.native_memory baseline

4.2 查看 diff

$ jcmd 81231 VM.native_memory summary.diff
81231:

Native Memory Tracking:

Total: reserved=7070801KB +1157182KB, committed=1832717KB +1157314KB

-                 Java Heap (reserved=4194304KB, committed=262144KB)
                            (mmap: reserved=4194304KB, committed=262144KB)

-                     Class (reserved=1070344KB +1KB, committed=23304KB +1KB)
                            (classes #1982 +3)
                            (malloc=11528KB +1KB #1658 +31)
                            (mmap: reserved=1058816KB, committed=11776KB)

-                    Thread (reserved=27762KB, committed=27762KB)
                            (thread #28)
                            (stack: reserved=27648KB, committed=27648KB)
                            (malloc=82KB #147)
                            (arena=32KB #50)

-                      Code (reserved=250115KB +29KB, committed=4027KB +161KB)
                            (malloc=515KB +29KB #1319 +65)
                            (mmap: reserved=249600KB, committed=3512KB +132KB)

-                        GC (reserved=165934KB, committed=153138KB)
                            (malloc=12690KB #160)
                            (mmap: reserved=153244KB, committed=140448KB)

-                  Compiler (reserved=148KB, committed=148KB)
                            (malloc=18KB #69 +1)
                            (arena=131KB #7)

-                  Internal (reserved=1358382KB +1157120KB, committed=1358382KB +1157120KB)
                                                 ---------
                                                     |-> 直接内存基于基线的变化
                            (malloc=1358350KB +1157120KB #3798 +229)
                            (mmap: reserved=32KB, committed=32KB)

-                    Symbol (reserved=3251KB +2KB, committed=3251KB +2KB)
                            (malloc=1932KB +2KB #6045 +40)
                            (arena=1319KB #1)

-    Native Memory Tracking (reserved=366KB +30KB, committed=366KB +30KB)
                            (malloc=129KB +20KB #1823 +275)
                            (tracking overhead=236KB +10KB)

-               Arena Chunk (reserved=196KB, committed=196KB)
                            (malloc=196KB)


$ jcmd 81231 VM.native_memory detail.diff
...

[0x000000011019ab18] _ZN8CodeBlob12set_oop_mapsEP9OopMapSet+0x80
[0x000000011019ac53] _ZN8CodeBlobC2EPKcP10CodeBufferiiiiP9OopMapSet+0xa9
[0x0000000110471202] _ZN7nmethodC2EP6MethodiiiP11CodeOffsetsiP24DebugInformationRecorderP12DependenciesP10CodeBufferiP9OopMapSetP21ExceptionHandlerTabl
eP22ImplicitExceptionTableP16AbstractCompileri+0x4e
[0x0000000110471e51] _ZN7nmethod11new_nmethodE12methodHandleiiP11CodeOffsetsiP24DebugInformationRecorderP12DependenciesP10CodeBufferiP9OopMapSetP21Exce
ptionHandlerTableP22ImplicitExceptionTableP16AbstractCompileri+0x1ef
                             (malloc=463KB type=Code +26KB #831 +46)

[0x000000011043a71b] _ZNK14LinkedListImplI20ReservedMemoryRegionLN11ResourceObj15allocation_typeE2EL10MemoryType10ELN17AllocFailStrategy13AllocFailEnum
E1EE8new_nodeERKS0_+0x25
[0x00000001104390b6] _ZN14LinkedListImplI20ReservedMemoryRegionLN11ResourceObj15allocation_typeE2EL10MemoryType10ELN17AllocFailStrategy13AllocFailEnumE
1EE3addERKS0_+0x12
[0x0000000110439591] _ZN29VirtualMemoryAllocationWalker18do_allocation_siteEPK20ReservedMemoryRegion+0x23
[0x00000001105b2253] _ZN20VirtualMemoryTracker19walk_virtual_memoryEP19VirtualMemoryWalker+0x57
                             (malloc=4KB type=Native Memory Tracking +4KB #39 +39)

[0x0000000110428e2c] _ZN15MallocSiteTable9new_entryERK15NativeCallStack10MemoryType+0x0
[0x0000000110428e98] _ZN15MallocSiteTable13lookup_or_addERK15NativeCallStackPmS3_10MemoryType+0x0
[0x00000001104291b0] _ZN15MallocSiteTable13allocation_atERK15NativeCallStackmPmS3_10MemoryType+0x0
                             (malloc=107KB type=Native Memory Tracking +2KB #1515 +28)

[0x0000000110539232] _ZN6SymbolnwEmiP6Thread+0x90
[0x000000011053a870] _ZN11SymbolTable15allocate_symbolEPKhibP6Thread+0x72
[0x000000011053a9c6] _ZN11SymbolTable9basic_addEP15ClassLoaderData18constantPoolHandleiPPKcPiS6_PjP6Thread+0x12e
[0x000000011053acbf] _ZN11SymbolTable3addEP15ClassLoaderData18constantPoolHandleiPPKcPiS6_PjP6Thread+0xcb
                             (malloc=232KB type=Symbol +2KB #5303 +40)

...

Author: Hao Ruan (ruanhao1116@gmail.com)

Created: 2020-03-30 Mon 10:38

Updated: 2021-08-17 Tue 11:23

Emacs 27.1 (Org mode 9.3)