Jmap -heap on all OpenJDK 1.7.79+ on Linux x86_64 crash
Matthew Patton
mpatton at cpaglobal.com
Tue Apr 18 20:45:00 UTC 2017
Well, well, well. Installing -debuginfo resulted in a successful run with and without using GDB.
I uninstalled -debuginfo and the exception came back.
[root at ip-172-30-0-41 jvm]# gdb --args jmap -heap `pgrep java`
GNU gdb (GDB) Amazon Linux (7.6.1-64.33.amzn1)
Reading symbols from /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.131.x86_64/bin/jmap...Reading symbols from /usr/lib/debug/usr/lib/jvm/java-1
.7.0-openjdk-1.7.0.131.x86_64/bin/jmap.debug...done.
done.
(gdb) run
Starting program: /usr/bin/jmap -heap 4745
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Missing separate debuginfo for /usr/lib64/libstdc++.so.6
Try: yum --enablerepo='*debug*' install /usr/lib/debug/.build-id/43/4c339faa62ca4e59eb71572a60967fe54a69ad.debug
Missing separate debuginfo for /lib64/libgcc_s.so.1
Try: yum --enablerepo='*debug*' install /usr/lib/debug/.build-id/3f/d5f89de59e124ab1419a0bd16775b4096e84fd.debug
[New Thread 0x7ffff7fea700 (LWP 3972)]
[New Thread 0x7ffff4d67700 (LWP 3973)]
[New Thread 0x7ffff4c66700 (LWP 3974)]
[New Thread 0x7fffea7db700 (LWP 3975)]
[New Thread 0x7fffea6da700 (LWP 3976)]
[New Thread 0x7fffea5d9700 (LWP 3977)]
[New Thread 0x7fffea4d8700 (LWP 3978)]
[New Thread 0x7fffea3d7700 (LWP 3979)]
[New Thread 0x7fffea2d6700 (LWP 3980)]
[New Thread 0x7fffea1d5700 (LWP 3981)]
[New Thread 0x7fffea0d4700 (LWP 3982)]
Attaching to process ID 4745, please wait...
[New Thread 0x7fffe9bc0700 (LWP 3983)]
Debugger attached successfully.
Server compiler detected.
JVM version is 24.131-b00
using thread-local object allocation.
Garbage-First (G1) GC with 2 thread(s)
Heap Configuration:
MinHeapFreeRatio = 25
MaxHeapFreeRatio = 70
MaxHeapSize = 2684354560 (2560.0MB)
NewSize = 1363144 (1.2999954223632812MB)
MaxNewSize = 17592186044415 MB
OldSize = 5452592 (5.1999969482421875MB)
NewRatio = 2
SurvivorRatio = 5
PermSize = 402653184 (384.0MB)
MaxPermSize = 536870912 (512.0MB)
G1HeapRegionSize = 1048576 (1.0MB)
Heap Usage:
G1 Heap:
regions = 2112
capacity = 2214592512 (2112.0MB)
used = 764957720 (729.5205307006836MB)
free = 1449634792 (1382.4794692993164MB)
34.54169179453994% used
G1 Young Generation:
Eden Space:
regions = 110
capacity = 1335885824 (1274.0MB)
used = 115343360 (110.0MB)
free = 1220542464 (1164.0MB)
8.634222919937205% used
Survivor Space:
regions = 37
capacity = 38797312 (37.0MB)
used = 38797312 (37.0MB)
free = 0 (0.0MB)
100.0% used
G1 Old Generation:
regions = 598
capacity = 839909376 (801.0MB)
used = 610817048 (582.5205307006836MB)
free = 229092328 (218.4794692993164MB)
72.72416113616524% used
Perm Generation:
capacity = 402653184 (384.0MB)
used = 214903848 (204.94828033447266MB)
free = 187749336 (179.05171966552734MB)
53.37194800376892% used
94969 interned Strings occupying 9731712 bytes.
[New Thread 0x7fffe9abf700 (LWP 3984)]
[Thread 0x7fffea0d4700 (LWP 3982) exited]
[Thread 0x7fffe9abf700 (LWP 3984) exited]
[Thread 0x7fffea3d7700 (LWP 3979) exited]
[Thread 0x7fffea7db700 (LWP 3975) exited]
[Thread 0x7ffff4c66700 (LWP 3974) exited]
[Thread 0x7ffff4d67700 (LWP 3973) exited]
[Thread 0x7ffff7fea700 (LWP 3972) exited]
[Thread 0x7fffe9bc0700 (LWP 3983) exited]
[Thread 0x7fffea1d5700 (LWP 3981) exited]
[Thread 0x7fffea2d6700 (LWP 3980) exited]
[Thread 0x7fffea4d8700 (LWP 3978) exited]
[Thread 0x7fffea5d9700 (LWP 3977) exited]
[Thread 0x7fffea6da700 (LWP 3976) exited]
[Inferior 1 (process 3968) exited normally]
Missing separate debuginfos, use: debuginfo-install glibc-2.17-157.169.amzn1.x86_64 zlib-1.2.8-7.18.amzn1.x86_64
________________________________
If you wish to view the CPA Global group email disclaimer, please click here<https://www.cpaglobal.com/Privacy/CPAGlobalEmailDisclaimer/>
________________________________
More information about the jdk7u-dev
mailing list