Sample code:
import com.sun.tools.attach.VirtualMachine;
import java.lang.management.ManagementFactory;
public class VMAttach {
public static void main(String[] args) {
String nameOfRunningVM = ManagementFactory.getRuntimeMXBean().getName();
int p = nameOfRunningVM.indexOf('@');
String pid = nameOfRunningVM.substring(0, p);
try {
VirtualMachine vm = VirtualMachine.attach(pid);
vm.detach();
} catch (Throwable th) {
throw new RuntimeException(th);
}
}
}
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x66821fbb, pid=4628, tid=5764
#
# JRE version: Java(TM) SE Runtime Environment (8.0-b80) (build 1.8.0-ea-b80)
# Java VM: Java HotSpot(TM) Client VM (25.0-b21 mixed mode windows-x86 )
# Problematic frame:
# V [jvm.dll+0x181fbb]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
#
--------------- T H R E A D ---------------
Current thread (0x1b910c00): JavaThread "C1 CompilerThread0" daemon [_thread_in_vm, id=5764, stack(0x1ba20000,0x1ba70000)]
siginfo: ExceptionCode=0xc0000005, reading address 0x1e20a000
Registers:
EAX=0x000000c0, EBX=0x00000006, ECX=0x00000004, EDX=0x1b914c45
ESP=0x1ba6f3ec, EBP=0x1ba6f3f8, ESI=0x1e209fff, EDI=0x1b914c45
EIP=0x66821fbb, EFLAGS=0x00010293
Top of Stack: (sp=0x1ba6f3ec)
0x1ba6f3ec: 00000006 1e209ffa 1b912fe8 1ba6f440
0x1ba6f3fc: 66751da8 1b914c46 1b914c4b 1b914c46
0x1ba6f40c: 00000006 00000000 1e209fff 00000005
0x1ba6f41c: 07cbb370 1b912fe8 1ba6f4b8 1a010000
0x1ba6f42c: 1b914c08 1b914c40 1b914ffc 000003ec
0x1ba6f43c: 1b914c40 1ba6f46c 6674b659 1ba6f4b8
0x1ba6f44c: 07cbb370 1ba6f4b8 1b910c00 666f1b63
0x1ba6f45c: 1b914c08 1b914c10 1b914ffc 000003ec
Instructions: (pc=0x66821fbb)
0x66821f9b: eb 03 8d 49 00 8a 06 0f b6 c8 c1 e9 04 83 c1 f8
0x66821fab: 83 f9 07 0f 87 98 00 00 00 ff 24 8d 98 20 82 66
0x66821fbb: 8a 4e 01 8a d1 80 e2 c0 80 fa 80 0f 85 8a 00 00
0x66821fcb: 00 24 1f 0f b6 c0 80 e1 3f 0f b6 c9 66 c1 e0 06
Register to memory mapping:
EAX=0x000000c0 is an unknown value
EBX=0x00000006 is an unknown value
ECX=0x00000004 is an unknown value
EDX=0x1b914c45 is an unknown value
ESP=0x1ba6f3ec is pointing into the stack for thread: 0x1b910c00
EBP=0x1ba6f3f8 is pointing into the stack for thread: 0x1b910c00
ESI=0x1e209fff is an unknown value
EDI=0x1b914c45 is an unknown value
Stack: [0x1ba20000,0x1ba70000], sp=0x1ba6f3ec, free space=316k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x181fbb]
V [jvm.dll+0xb1da8]
V [jvm.dll+0xab659]
V [jvm.dll+0x51bc0]
V [jvm.dll+0x5212f]
V [jvm.dll+0x54b70]
V [jvm.dll+0x55321]
V [jvm.dll+0x15808c]
V [jvm.dll+0x1581ec]
V [jvm.dll+0x193666]
C [msvcr100.dll+0x10fac]
C [msvcr100.dll+0x110b1]
C [kernel32.dll+0x133aa]
C [ntdll.dll+0x39ef2]
C [ntdll.dll+0x39ec5]
Current CompileTask:
C1: 4082 60 sun.jvmstat.perfdata.monitor.AliasFileParser::
[error occurred during error reporting (printing current compile task), id 0xc0000005]
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x1dfebc00 JavaThread "DestroyJavaVM" [_thread_blocked, id=6788, stack(0x07620000,0x07670000)]
0x1b98ec00 JavaThread "Service Thread" daemon [_thread_blocked, id=2568, stack(0x1a7a0000,0x1a7f0000)]
=>0x1b910c00 JavaThread "C1 CompilerThread0" daemon [_thread_in_vm, id=5764, stack(0x1ba20000,0x1ba70000)]
0x1b628c00 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=7024, stack(0x1b8b0000,0x1b900000)]
0x1b5eec00 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=6612, stack(0x1b840000,0x1b890000)]
0x1ad55c00 JavaThread "JDWP Transport Listener: dt_shmem" daemon [_thread_blocked, id=2192, stack(0x1b6f0000,0x1b740000)]
0x1adc1c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=5008, stack(0x1b090000,0x1b0e0000)]
0x1aa22c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=7080, stack(0x1afd0000,0x1b020000)]
0x1a3f2c00 JavaThread "Finalizer" daemon [_thread_blocked, id=6832, stack(0x1aac0000,0x1ab10000)]
0x1a429c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=4120, stack(0x1aa60000,0x1aab0000)]
Other Threads:
0x0779cc00 VMThread [stack: 0x1a7f0000,0x1a840000] [id=3576]
0x1ad84c00 WatcherThread [stack: 0x1bd20000,0x1bd70000] [id=1020]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 4928K, used 2624K [0x0a1d0000, 0x0a720000, 0x0f720000)
eden space 4416K, 59% used [0x0a1d0000, 0x0a4602a0, 0x0a620000)
from space 512K, 0% used [0x0a620000, 0x0a620000, 0x0a6a0000)
to space 512K, 0% used [0x0a6a0000, 0x0a6a0000, 0x0a720000)
tenured generation total 10944K, used 0K [0x0f720000, 0x101d0000, 0x1a1d0000)
the space 10944K, 0% used [0x0f720000, 0x0f720000, 0x0f720200, 0x101d0000)
Metaspace total 2624K, used 2193K, reserved 6528K
data space 2376K, used 1958K, reserved 4480K
class space 248K, used 235K, reserved 2048K
Card table byte_map: [0x00f20000,0x00fb0000] byte_map_base: 0x00ecf180
Polling page: 0x001d0000
CodeCache: size=32768Kb used=767Kb max_used=767Kb free=32000Kb max_free_chunk=32000Kb
bounds [0x07ed0000, 0x07f90000, 0x09ed0000]
total_blobs=182 nmethods=59 adapters=68
compilation: enabled
Compilation events (10 events):
Event: 4.025 Thread 0x1b910c00 55 java.util.Arrays::copyOf (19 bytes)
Event: 4.025 Thread 0x1b910c00 nmethod 55 0x07f8ec48 code [0x07f8ed50, 0x07f8eebc]
Event: 4.025 Thread 0x1b910c00 56 java.lang.AbstractStringBuilder::expandCapacity (50 bytes)
Event: 4.025 Thread 0x1b910c00 nmethod 56 0x07f8ef88 code [0x07f8f0b0, 0x07f8f2f8]
Event: 4.026 Thread 0x1b910c00 57 java.lang.AbstractStringBuilder::<init> (12 bytes)
Event: 4.026 Thread 0x1b910c00 nmethod 57 0x07f8f448 code [0x07f8f540, 0x07f8f650]
Event: 4.026 Thread 0x1b910c00 58 java.lang.StringBuilder::toString (17 bytes)
Event: 4.026 Thread 0x1b910c00 nmethod 58 0x07f8f6c8 code [0x07f8f7d0, 0x07f8f8bc]
Event: 4.026 Thread 0x1b910c00 59 java.lang.StringBuilder::<init> (7 bytes)
Event: 4.026 Thread 0x1b910c00 nmethod 59 0x07f8f948 code [0x07f8fa40, 0x07f8fb50]
GC Heap History (0 events):
No events
Deoptimization events (0 events):
No events
Internal exceptions (10 events):
Event: 4.002 Thread 0x077a6c00 Threw 0x0a31d140 at C:\re\jdk8\3622\hotspot\src\share\vm\prims\jvm.cpp:1159
Event: 4.003 Thread 0x077a6c00 Threw 0x0a31ed50 at C:\re\jdk8\3622\hotspot\src\share\vm\prims\jvm.cpp:1159
Event: 4.005 Thread 0x077a6c00 Threw 0x0a3233b0 at C:\re\jdk8\3622\hotspot\src\share\vm\prims\jvm.cpp:1159
Event: 4.005 Thread 0x077a6c00 Threw 0x0a3250f0 at C:\re\jdk8\3622\hotspot\src\share\vm\prims\jvm.cpp:1159
Event: 4.006 Thread 0x077a6c00 Threw 0x0a327498 at C:\re\jdk8\3622\hotspot\src\share\vm\prims\jvm.cpp:1159
Event: 4.006 Thread 0x077a6c00 Threw 0x0a3291b0 at C:\re\jdk8\3622\hotspot\src\share\vm\prims\jvm.cpp:1159
Event: 4.006 Thread 0x077a6c00 Threw 0x0a32b6c8 at C:\re\jdk8\3622\hotspot\src\share\vm\prims\jvm.cpp:1159
Event: 4.008 Thread 0x077a6c00 Threw 0x0a32fe28 at C:\re\jdk8\3622\hotspot\src\share\vm\prims\jvm.cpp:1159
Event: 4.014 Thread 0x077a6c00 Threw 0x0a33dba0 at C:\re\jdk8\3622\hotspot\src\share\vm\prims\jvm.cpp:1159
Event: 4.016 Thread 0x077a6c00 Threw 0x0a349c30 at C:\re\jdk8\3622\hotspot\src\share\vm\prims\jvm.cpp:1159
Events (10 events):
Event: 4.012 loading class 0x1c018ef8 done
Event: 4.012 loading class 0x1c018e98 done
Event: 4.013 loading class 0x1a25d730
Event: 4.013 loading class 0x1a25d730 done
Event: 4.014 loading class 0x1e2c3fc8
Event: 4.014 loading class 0x1e2c3fc8 done
Event: 4.015 loading class 0x1e557fd8
Event: 4.015 loading class 0x1e557fd8 done
Event: 4.016 loading class 0x1e54bfc0
Event: 4.016 loading class 0x1e54bfc0 done
Dynamic libraries:
0x01000000 - 0x01030000 C:\Program Files (x86)\Java\jdk1.8.0\bin\java.exe
0x77890000 - 0x77a10000 C:\Windows\SysWOW64\ntdll.dll
0x6a570000 - 0x6a5d0000 C:\Windows\syswow64\verifier.dll
0x76a80000 - 0x76b90000 C:\Windows\syswow64\kernel32.dll
0x754f0000 - 0x75537000 C:\Windows\syswow64\KERNELBASE.dll
0x75210000 - 0x752b0000 C:\Windows\syswow64\ADVAPI32.dll
0x76f20000 - 0x76fcc000 C:\Windows\syswow64\msvcrt.dll
0x762c0000 - 0x762d9000 C:\Windows\SysWOW64\sechost.dll
0x75550000 - 0x75640000 C:\Windows\syswow64\RPCRT4.dll
0x74f70000 - 0x74fd0000 C:\Windows\syswow64\SspiCli.dll
0x74f60000 - 0x74f6c000 C:\Windows\syswow64\CRYPTBASE.dll
0x76440000 - 0x76540000 C:\Windows\syswow64\USER32.dll
0x76cf0000 - 0x76d80000 C:\Windows\syswow64\GDI32.dll
0x768d0000 - 0x768da000 C:\Windows\syswow64\LPK.dll
0x74fd0000 - 0x7506d000 C:\Windows\syswow64\USP10.dll
0x72c90000 - 0x72e2e000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\COMCTL32.dll
0x76810000 - 0x76867000 C:\Windows\syswow64\SHLWAPI.dll
0x76870000 - 0x768d0000 C:\Windows\system32\IMM32.DLL
0x76d80000 - 0x76e4c000 C:\Windows\syswow64\MSCTF.dll
0x6a130000 - 0x6a1ed000 C:\Program Files (x86)\Java\jdk1.8.0\jre\bin\msvcr100.dll
0x666a0000 - 0x669fa000 C:\Program Files (x86)\Java\jdk1.8.0\jre\bin\client\jvm.dll
0x736c0000 - 0x736c7000 C:\Windows\system32\WSOCK32.dll
0x76ee0000 - 0x76f15000 C:\Windows\syswow64\WS2_32.dll
0x75540000 - 0x75546000 C:\Windows\syswow64\NSI.dll
0x712f0000 - 0x71322000 C:\Windows\system32\WINMM.dll
0x76400000 - 0x76405000 C:\Windows\syswow64\PSAPI.DLL
0x6b380000 - 0x6b38c000 C:\Program Files (x86)\Java\jdk1.8.0\jre\bin\verify.dll
0x6b300000 - 0x6b321000 C:\Program Files (x86)\Java\jdk1.8.0\jre\bin\java.dll
0x6a600000 - 0x6a629000 C:\Program Files (x86)\Java\jdk1.8.0\jre\bin\jdwp.dll
0x6b390000 - 0x6b397000 C:\Program Files (x86)\Java\jdk1.8.0\jre\bin\npt.dll
0x6b360000 - 0x6b373000 C:\Program Files (x86)\Java\jdk1.8.0\jre\bin\zip.dll
0x75670000 - 0x762ba000 C:\Windows\syswow64\SHELL32.dll
0x76b90000 - 0x76cec000 C:\Windows\syswow64\ole32.dll
0x73280000 - 0x7328b000 C:\Windows\system32\profapi.dll
0x6a5f0000 - 0x6a5f9000 C:\Program Files (x86)\Java\jdk1.8.0\jre\bin\dt_shmem.dll
0x6a5e0000 - 0x6a5ea000 C:\Program Files (x86)\Java\jdk1.8.0\jre\bin\management.dll
0x6a110000 - 0x6a125000 C:\Program Files (x86)\Java\jdk1.8.0\jre\bin\net.dll
0x732a0000 - 0x732dc000 C:\Windows\system32\mswsock.dll
0x73080000 - 0x73086000 C:\Windows\System32\wship6.dll
0x71fa0000 - 0x71fb0000 C:\Windows\system32\NLAapi.dll
0x71f90000 - 0x71fa0000 C:\Windows\system32\napinsp.dll
0x71f70000 - 0x71f82000 C:\Windows\system32\pnrpnsp.dll
0x71ec0000 - 0x71ecd000 C:\Windows\system32\wshbth.dll
0x72650000 - 0x72677000 C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL
0x728d0000 - 0x72914000 C:\Windows\system32\DNSAPI.dll
0x71eb0000 - 0x71eb8000 C:\Windows\System32\winrnr.dll
0x73290000 - 0x73295000 C:\Windows\System32\wshtcpip.dll
0x730d0000 - 0x730ec000 C:\Windows\system32\IPHLPAPI.DLL
0x730c0000 - 0x730c7000 C:\Windows\system32\WINNSI.DLL
0x72640000 - 0x72646000 C:\Windows\system32\rasadhlp.dll
0x73040000 - 0x73078000 C:\Windows\System32\fwpuclnt.dll
0x6a5d0000 - 0x6a5d7000 C:\Program Files (x86)\Java\jdk1.8.0\jre\bin\attach.dll
0x732e0000 - 0x733cb000 C:\Windows\system32\dbghelp.dll
VM Arguments:
jvm_args: -Xdebug -Xrunjdwp:transport=dt_shmem,address=javadebug -Dfile.encoding=UTF-8
java_command: vmattach.VMAttach
java_class_path (initial): C:\Program Files (x86)\Java\jdk1.8.0\lib\tools.jar;C:\Users\Oleg G. Barbashov\Documents\NetBeansProjects\VMAttach\build\classes
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=c:\Program Files (x86)\Java\jdk1.7.0_21
PATH=c:\Program Files (x86)\Java\jdk1.7.0_21\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\ThinkPad\Bluetooth Software\;C:\Program Files\ThinkPad\Bluetooth Software\syswow64;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Common Files\Lenovo;C:\Program Files (x86)\Common Files\Ulead Systems\MPEG;C:\Program Files (x86)\Lenovo\Access Connections\;C:\Program Files (x86)\TortoiseHg\;C:\ant\bin;C:\cygwin\bin;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\CVSNT\
USERNAME=Oleg G. Barbashov
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 37 Stepping 5, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows 7 , 64 bit Build 7601 Service Pack 1
CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 37 stepping 5, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht, tsc, tscinvbit
Memory: 4k page, physical 8244996k(5150756k free), swap 8243140k(5119832k free)
vm_info: Java HotSpot(TM) Client VM (25.0-b21) for windows-x86 JRE (1.8.0-ea-b80), built on Mar 7 2013 04:36:38 by "java_re" with unknown MS VC++:1600
time: Thu Mar 14 20:31:28 2013
elapsed time: 4 seconds
import com.sun.tools.attach.VirtualMachine;
import java.lang.management.ManagementFactory;
public class VMAttach {
public static void main(String[] args) {
String nameOfRunningVM = ManagementFactory.getRuntimeMXBean().getName();
int p = nameOfRunningVM.indexOf('@');
String pid = nameOfRunningVM.substring(0, p);
try {
VirtualMachine vm = VirtualMachine.attach(pid);
vm.detach();
} catch (Throwable th) {
throw new RuntimeException(th);
}
}
}
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x66821fbb, pid=4628, tid=5764
#
# JRE version: Java(TM) SE Runtime Environment (8.0-b80) (build 1.8.0-ea-b80)
# Java VM: Java HotSpot(TM) Client VM (25.0-b21 mixed mode windows-x86 )
# Problematic frame:
# V [jvm.dll+0x181fbb]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
#
--------------- T H R E A D ---------------
Current thread (0x1b910c00): JavaThread "C1 CompilerThread0" daemon [_thread_in_vm, id=5764, stack(0x1ba20000,0x1ba70000)]
siginfo: ExceptionCode=0xc0000005, reading address 0x1e20a000
Registers:
EAX=0x000000c0, EBX=0x00000006, ECX=0x00000004, EDX=0x1b914c45
ESP=0x1ba6f3ec, EBP=0x1ba6f3f8, ESI=0x1e209fff, EDI=0x1b914c45
EIP=0x66821fbb, EFLAGS=0x00010293
Top of Stack: (sp=0x1ba6f3ec)
0x1ba6f3ec: 00000006 1e209ffa 1b912fe8 1ba6f440
0x1ba6f3fc: 66751da8 1b914c46 1b914c4b 1b914c46
0x1ba6f40c: 00000006 00000000 1e209fff 00000005
0x1ba6f41c: 07cbb370 1b912fe8 1ba6f4b8 1a010000
0x1ba6f42c: 1b914c08 1b914c40 1b914ffc 000003ec
0x1ba6f43c: 1b914c40 1ba6f46c 6674b659 1ba6f4b8
0x1ba6f44c: 07cbb370 1ba6f4b8 1b910c00 666f1b63
0x1ba6f45c: 1b914c08 1b914c10 1b914ffc 000003ec
Instructions: (pc=0x66821fbb)
0x66821f9b: eb 03 8d 49 00 8a 06 0f b6 c8 c1 e9 04 83 c1 f8
0x66821fab: 83 f9 07 0f 87 98 00 00 00 ff 24 8d 98 20 82 66
0x66821fbb: 8a 4e 01 8a d1 80 e2 c0 80 fa 80 0f 85 8a 00 00
0x66821fcb: 00 24 1f 0f b6 c0 80 e1 3f 0f b6 c9 66 c1 e0 06
Register to memory mapping:
EAX=0x000000c0 is an unknown value
EBX=0x00000006 is an unknown value
ECX=0x00000004 is an unknown value
EDX=0x1b914c45 is an unknown value
ESP=0x1ba6f3ec is pointing into the stack for thread: 0x1b910c00
EBP=0x1ba6f3f8 is pointing into the stack for thread: 0x1b910c00
ESI=0x1e209fff is an unknown value
EDI=0x1b914c45 is an unknown value
Stack: [0x1ba20000,0x1ba70000], sp=0x1ba6f3ec, free space=316k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x181fbb]
V [jvm.dll+0xb1da8]
V [jvm.dll+0xab659]
V [jvm.dll+0x51bc0]
V [jvm.dll+0x5212f]
V [jvm.dll+0x54b70]
V [jvm.dll+0x55321]
V [jvm.dll+0x15808c]
V [jvm.dll+0x1581ec]
V [jvm.dll+0x193666]
C [msvcr100.dll+0x10fac]
C [msvcr100.dll+0x110b1]
C [kernel32.dll+0x133aa]
C [ntdll.dll+0x39ef2]
C [ntdll.dll+0x39ec5]
Current CompileTask:
C1: 4082 60 sun.jvmstat.perfdata.monitor.AliasFileParser::
[error occurred during error reporting (printing current compile task), id 0xc0000005]
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x1dfebc00 JavaThread "DestroyJavaVM" [_thread_blocked, id=6788, stack(0x07620000,0x07670000)]
0x1b98ec00 JavaThread "Service Thread" daemon [_thread_blocked, id=2568, stack(0x1a7a0000,0x1a7f0000)]
=>0x1b910c00 JavaThread "C1 CompilerThread0" daemon [_thread_in_vm, id=5764, stack(0x1ba20000,0x1ba70000)]
0x1b628c00 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=7024, stack(0x1b8b0000,0x1b900000)]
0x1b5eec00 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=6612, stack(0x1b840000,0x1b890000)]
0x1ad55c00 JavaThread "JDWP Transport Listener: dt_shmem" daemon [_thread_blocked, id=2192, stack(0x1b6f0000,0x1b740000)]
0x1adc1c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=5008, stack(0x1b090000,0x1b0e0000)]
0x1aa22c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=7080, stack(0x1afd0000,0x1b020000)]
0x1a3f2c00 JavaThread "Finalizer" daemon [_thread_blocked, id=6832, stack(0x1aac0000,0x1ab10000)]
0x1a429c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=4120, stack(0x1aa60000,0x1aab0000)]
Other Threads:
0x0779cc00 VMThread [stack: 0x1a7f0000,0x1a840000] [id=3576]
0x1ad84c00 WatcherThread [stack: 0x1bd20000,0x1bd70000] [id=1020]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 4928K, used 2624K [0x0a1d0000, 0x0a720000, 0x0f720000)
eden space 4416K, 59% used [0x0a1d0000, 0x0a4602a0, 0x0a620000)
from space 512K, 0% used [0x0a620000, 0x0a620000, 0x0a6a0000)
to space 512K, 0% used [0x0a6a0000, 0x0a6a0000, 0x0a720000)
tenured generation total 10944K, used 0K [0x0f720000, 0x101d0000, 0x1a1d0000)
the space 10944K, 0% used [0x0f720000, 0x0f720000, 0x0f720200, 0x101d0000)
Metaspace total 2624K, used 2193K, reserved 6528K
data space 2376K, used 1958K, reserved 4480K
class space 248K, used 235K, reserved 2048K
Card table byte_map: [0x00f20000,0x00fb0000] byte_map_base: 0x00ecf180
Polling page: 0x001d0000
CodeCache: size=32768Kb used=767Kb max_used=767Kb free=32000Kb max_free_chunk=32000Kb
bounds [0x07ed0000, 0x07f90000, 0x09ed0000]
total_blobs=182 nmethods=59 adapters=68
compilation: enabled
Compilation events (10 events):
Event: 4.025 Thread 0x1b910c00 55 java.util.Arrays::copyOf (19 bytes)
Event: 4.025 Thread 0x1b910c00 nmethod 55 0x07f8ec48 code [0x07f8ed50, 0x07f8eebc]
Event: 4.025 Thread 0x1b910c00 56 java.lang.AbstractStringBuilder::expandCapacity (50 bytes)
Event: 4.025 Thread 0x1b910c00 nmethod 56 0x07f8ef88 code [0x07f8f0b0, 0x07f8f2f8]
Event: 4.026 Thread 0x1b910c00 57 java.lang.AbstractStringBuilder::<init> (12 bytes)
Event: 4.026 Thread 0x1b910c00 nmethod 57 0x07f8f448 code [0x07f8f540, 0x07f8f650]
Event: 4.026 Thread 0x1b910c00 58 java.lang.StringBuilder::toString (17 bytes)
Event: 4.026 Thread 0x1b910c00 nmethod 58 0x07f8f6c8 code [0x07f8f7d0, 0x07f8f8bc]
Event: 4.026 Thread 0x1b910c00 59 java.lang.StringBuilder::<init> (7 bytes)
Event: 4.026 Thread 0x1b910c00 nmethod 59 0x07f8f948 code [0x07f8fa40, 0x07f8fb50]
GC Heap History (0 events):
No events
Deoptimization events (0 events):
No events
Internal exceptions (10 events):
Event: 4.002 Thread 0x077a6c00 Threw 0x0a31d140 at C:\re\jdk8\3622\hotspot\src\share\vm\prims\jvm.cpp:1159
Event: 4.003 Thread 0x077a6c00 Threw 0x0a31ed50 at C:\re\jdk8\3622\hotspot\src\share\vm\prims\jvm.cpp:1159
Event: 4.005 Thread 0x077a6c00 Threw 0x0a3233b0 at C:\re\jdk8\3622\hotspot\src\share\vm\prims\jvm.cpp:1159
Event: 4.005 Thread 0x077a6c00 Threw 0x0a3250f0 at C:\re\jdk8\3622\hotspot\src\share\vm\prims\jvm.cpp:1159
Event: 4.006 Thread 0x077a6c00 Threw 0x0a327498 at C:\re\jdk8\3622\hotspot\src\share\vm\prims\jvm.cpp:1159
Event: 4.006 Thread 0x077a6c00 Threw 0x0a3291b0 at C:\re\jdk8\3622\hotspot\src\share\vm\prims\jvm.cpp:1159
Event: 4.006 Thread 0x077a6c00 Threw 0x0a32b6c8 at C:\re\jdk8\3622\hotspot\src\share\vm\prims\jvm.cpp:1159
Event: 4.008 Thread 0x077a6c00 Threw 0x0a32fe28 at C:\re\jdk8\3622\hotspot\src\share\vm\prims\jvm.cpp:1159
Event: 4.014 Thread 0x077a6c00 Threw 0x0a33dba0 at C:\re\jdk8\3622\hotspot\src\share\vm\prims\jvm.cpp:1159
Event: 4.016 Thread 0x077a6c00 Threw 0x0a349c30 at C:\re\jdk8\3622\hotspot\src\share\vm\prims\jvm.cpp:1159
Events (10 events):
Event: 4.012 loading class 0x1c018ef8 done
Event: 4.012 loading class 0x1c018e98 done
Event: 4.013 loading class 0x1a25d730
Event: 4.013 loading class 0x1a25d730 done
Event: 4.014 loading class 0x1e2c3fc8
Event: 4.014 loading class 0x1e2c3fc8 done
Event: 4.015 loading class 0x1e557fd8
Event: 4.015 loading class 0x1e557fd8 done
Event: 4.016 loading class 0x1e54bfc0
Event: 4.016 loading class 0x1e54bfc0 done
Dynamic libraries:
0x01000000 - 0x01030000 C:\Program Files (x86)\Java\jdk1.8.0\bin\java.exe
0x77890000 - 0x77a10000 C:\Windows\SysWOW64\ntdll.dll
0x6a570000 - 0x6a5d0000 C:\Windows\syswow64\verifier.dll
0x76a80000 - 0x76b90000 C:\Windows\syswow64\kernel32.dll
0x754f0000 - 0x75537000 C:\Windows\syswow64\KERNELBASE.dll
0x75210000 - 0x752b0000 C:\Windows\syswow64\ADVAPI32.dll
0x76f20000 - 0x76fcc000 C:\Windows\syswow64\msvcrt.dll
0x762c0000 - 0x762d9000 C:\Windows\SysWOW64\sechost.dll
0x75550000 - 0x75640000 C:\Windows\syswow64\RPCRT4.dll
0x74f70000 - 0x74fd0000 C:\Windows\syswow64\SspiCli.dll
0x74f60000 - 0x74f6c000 C:\Windows\syswow64\CRYPTBASE.dll
0x76440000 - 0x76540000 C:\Windows\syswow64\USER32.dll
0x76cf0000 - 0x76d80000 C:\Windows\syswow64\GDI32.dll
0x768d0000 - 0x768da000 C:\Windows\syswow64\LPK.dll
0x74fd0000 - 0x7506d000 C:\Windows\syswow64\USP10.dll
0x72c90000 - 0x72e2e000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\COMCTL32.dll
0x76810000 - 0x76867000 C:\Windows\syswow64\SHLWAPI.dll
0x76870000 - 0x768d0000 C:\Windows\system32\IMM32.DLL
0x76d80000 - 0x76e4c000 C:\Windows\syswow64\MSCTF.dll
0x6a130000 - 0x6a1ed000 C:\Program Files (x86)\Java\jdk1.8.0\jre\bin\msvcr100.dll
0x666a0000 - 0x669fa000 C:\Program Files (x86)\Java\jdk1.8.0\jre\bin\client\jvm.dll
0x736c0000 - 0x736c7000 C:\Windows\system32\WSOCK32.dll
0x76ee0000 - 0x76f15000 C:\Windows\syswow64\WS2_32.dll
0x75540000 - 0x75546000 C:\Windows\syswow64\NSI.dll
0x712f0000 - 0x71322000 C:\Windows\system32\WINMM.dll
0x76400000 - 0x76405000 C:\Windows\syswow64\PSAPI.DLL
0x6b380000 - 0x6b38c000 C:\Program Files (x86)\Java\jdk1.8.0\jre\bin\verify.dll
0x6b300000 - 0x6b321000 C:\Program Files (x86)\Java\jdk1.8.0\jre\bin\java.dll
0x6a600000 - 0x6a629000 C:\Program Files (x86)\Java\jdk1.8.0\jre\bin\jdwp.dll
0x6b390000 - 0x6b397000 C:\Program Files (x86)\Java\jdk1.8.0\jre\bin\npt.dll
0x6b360000 - 0x6b373000 C:\Program Files (x86)\Java\jdk1.8.0\jre\bin\zip.dll
0x75670000 - 0x762ba000 C:\Windows\syswow64\SHELL32.dll
0x76b90000 - 0x76cec000 C:\Windows\syswow64\ole32.dll
0x73280000 - 0x7328b000 C:\Windows\system32\profapi.dll
0x6a5f0000 - 0x6a5f9000 C:\Program Files (x86)\Java\jdk1.8.0\jre\bin\dt_shmem.dll
0x6a5e0000 - 0x6a5ea000 C:\Program Files (x86)\Java\jdk1.8.0\jre\bin\management.dll
0x6a110000 - 0x6a125000 C:\Program Files (x86)\Java\jdk1.8.0\jre\bin\net.dll
0x732a0000 - 0x732dc000 C:\Windows\system32\mswsock.dll
0x73080000 - 0x73086000 C:\Windows\System32\wship6.dll
0x71fa0000 - 0x71fb0000 C:\Windows\system32\NLAapi.dll
0x71f90000 - 0x71fa0000 C:\Windows\system32\napinsp.dll
0x71f70000 - 0x71f82000 C:\Windows\system32\pnrpnsp.dll
0x71ec0000 - 0x71ecd000 C:\Windows\system32\wshbth.dll
0x72650000 - 0x72677000 C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL
0x728d0000 - 0x72914000 C:\Windows\system32\DNSAPI.dll
0x71eb0000 - 0x71eb8000 C:\Windows\System32\winrnr.dll
0x73290000 - 0x73295000 C:\Windows\System32\wshtcpip.dll
0x730d0000 - 0x730ec000 C:\Windows\system32\IPHLPAPI.DLL
0x730c0000 - 0x730c7000 C:\Windows\system32\WINNSI.DLL
0x72640000 - 0x72646000 C:\Windows\system32\rasadhlp.dll
0x73040000 - 0x73078000 C:\Windows\System32\fwpuclnt.dll
0x6a5d0000 - 0x6a5d7000 C:\Program Files (x86)\Java\jdk1.8.0\jre\bin\attach.dll
0x732e0000 - 0x733cb000 C:\Windows\system32\dbghelp.dll
VM Arguments:
jvm_args: -Xdebug -Xrunjdwp:transport=dt_shmem,address=javadebug -Dfile.encoding=UTF-8
java_command: vmattach.VMAttach
java_class_path (initial): C:\Program Files (x86)\Java\jdk1.8.0\lib\tools.jar;C:\Users\Oleg G. Barbashov\Documents\NetBeansProjects\VMAttach\build\classes
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=c:\Program Files (x86)\Java\jdk1.7.0_21
PATH=c:\Program Files (x86)\Java\jdk1.7.0_21\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\ThinkPad\Bluetooth Software\;C:\Program Files\ThinkPad\Bluetooth Software\syswow64;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Common Files\Lenovo;C:\Program Files (x86)\Common Files\Ulead Systems\MPEG;C:\Program Files (x86)\Lenovo\Access Connections\;C:\Program Files (x86)\TortoiseHg\;C:\ant\bin;C:\cygwin\bin;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\CVSNT\
USERNAME=Oleg G. Barbashov
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 37 Stepping 5, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows 7 , 64 bit Build 7601 Service Pack 1
CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 37 stepping 5, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht, tsc, tscinvbit
Memory: 4k page, physical 8244996k(5150756k free), swap 8243140k(5119832k free)
vm_info: Java HotSpot(TM) Client VM (25.0-b21) for windows-x86 JRE (1.8.0-ea-b80), built on Mar 7 2013 04:36:38 by "java_re" with unknown MS VC++:1600
time: Thu Mar 14 20:31:28 2013
elapsed time: 4 seconds
- duplicates
-
JDK-8011048 Possible reading from unmapped memory in UTF8::as_quoted_ascii()
- Closed
- relates to
-
JDK-8011048 Possible reading from unmapped memory in UTF8::as_quoted_ascii()
- Closed