JDK-8189857 : Java crash in sun.misc.Unsafe.freeMemory(J)
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 8u51
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows
  • CPU: x86_64
  • Submitted: 2017-10-20
  • Updated: 2017-10-24
  • Resolved: 2017-10-24
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
java version "1.8.0_51"
Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode)

FULL OS VERSION :
Microsoft Windows [Version 10.0.15063]

A DESCRIPTION OF THE PROBLEM :
The JVM crashed during execution of my application. I've not been able to reproduce this problem.

THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: Did not try

THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Did not try

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Not been able to reproduce.

EXPECTED VERSUS ACTUAL BEHAVIOR :
Expected: Not crashing.
Actual result: Crashed.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ff95e4038ae, pid=13788, tid=13564
#
# JRE version: Java(TM) SE Runtime Environment (8.0_51-b16) (build 1.8.0_51-b16)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.51-b03 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C  [ntdll.dll+0x338ae]
#
# 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.java.com/bugreport/crash.jsp
#

---------------  T H R E A D  ---------------

Current thread (0x000000001df75000):  JavaThread "Thread-5" daemon [_thread_in_vm, id=13564, stack(0x000000001f720000,0x000000001f820000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x0000010b21d70638

Registers:
RAX=0x000000001ff30a90, RBX=0x0000000002410000, RCX=0x000000000000007a, RDX=0x0000000000100000
RSP=0x000000001f81ef50, RBP=0x000000001ff30ac0, RSI=0x000000001ff30ab0, RDI=0x000000001ff30a80
R8 =0x000000001ff30a90, R9 =0x000000001ff30ac0, R10=0x0000010b21d70630, R11=0x000000000273efb0
R12=0x0000000000000000, R13=0x0000000000000000, R14=0x000000007ffe0380, R15=0x000000001df75000
RIP=0x00007ff95e4038ae, EFLAGS=0x0000000000010246

Top of Stack: (sp=0x000000001f81ef50)
0x000000001f81ef50:   0000000002410000 0000000002410000
0x000000001f81ef60:   0000000000000802 000000001ff29000
0x000000001f81ef70:   0000000000000000 0000000000000000
0x000000001f81ef80:   0000000000000000 0000000000000030
0x000000001f81ef90:   000000001df75000 000000001f810101
0x000000001f81efa0:   0000000000000403 0000010b21d70630
0x000000001f81efb0:   000000001b530a08 0000000000001bf8
0x000000001f81efc0:   0000000000000000 000000000273efb0
0x000000001f81efd0:   000000011b530a08 00000000000003ff
0x000000001f81efe0:   00000000000003ff 0000000000000000
0x000000001f81eff0:   0000000000000000 0000000000000000
0x000000001f81f000:   0000000002655f30 0000000067f732d2
0x000000001f81f010:   00000000dd0000dd 0000000067f72ccd
0x000000001f81f020:   000000001b530a08 0000000002655f30
0x000000001f81f030:   0000000000000000 0000000000000000
0x000000001f81f040:   00000000fc0802f6 0000000067f738ad 

Instructions: (pc=0x00007ff95e4038ae)
0x00007ff95e40388e:   47 0b 0f 85 4d 07 00 00 4c 8d 47 10 4d 8b 10 4c
0x00007ff95e40389e:   89 54 24 58 4c 8b 5f 18 4c 89 5c 24 78 49 8b 03
0x00007ff95e4038ae:   4d 8b 4a 08 49 3b c1 0f 85 29 08 00 00 49 3b c0
0x00007ff95e4038be:   0f 85 20 08 00 00 0f b7 47 08 48 29 83 c0 00 00 


Register to memory mapping:

RAX=0x000000001ff30a90 is an unknown value
RBX=0x0000000002410000 is an unknown value
RCX=0x000000000000007a is an unknown value
RDX=0x0000000000100000 is an unknown value
RSP=0x000000001f81ef50 is pointing into the stack for thread: 0x000000001df75000
RBP=0x000000001ff30ac0 is an unknown value
RSI=0x000000001ff30ab0 is an unknown value
RDI=0x000000001ff30a80 is an unknown value
R8 =0x000000001ff30a90 is an unknown value
R9 =0x000000001ff30ac0 is an unknown value
R10=0x0000010b21d70630 is an unknown value
R11=0x000000000273efb0 is an unknown value
R12=0x0000000000000000 is an unknown value
R13=0x0000000000000000 is an unknown value
R14=0x000000007ffe0380 is an unknown value
R15=0x000000001df75000 is a thread


Stack: [0x000000001f720000,0x000000001f820000],  sp=0x000000001f81ef50,  free space=1019k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [ntdll.dll+0x338ae]
C  [ntdll.dll+0x311ed]
C  [msvcr100.dll+0x68d94]
V  [jvm.dll+0x1e074f]
C  0x0000000002ebfa35

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 2251  sun.misc.Unsafe.freeMemory(J)V (0 bytes) @ 0x0000000002ebf9bb [0x0000000002ebf980+0x3b]
J 2398 C2 sun.nio.fs.AbstractPoller.processRequests()Z (202 bytes) @ 0x0000000002f448b4 [0x0000000002f44340+0x574]
j  sun.nio.fs.WindowsWatchService$Poller.run()V+27
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x0000000021e9e800 JavaThread "Thread-24" [_thread_blocked, id=6544, stack(0x0000000022cb0000,0x0000000022db0000)]
  0x000000001d154800 JavaThread "Thread-23" [_thread_blocked, id=2000, stack(0x0000000022bb0000,0x0000000022cb0000)]
  0x000000001e4b5000 JavaThread "Thread-6" [_thread_blocked, id=6564, stack(0x000000001f820000,0x000000001f920000)]
=>0x000000001df75000 JavaThread "Thread-5" daemon [_thread_in_vm, id=13564, stack(0x000000001f720000,0x000000001f820000)]
  0x000000001d2be800 JavaThread "Thread-2" [_thread_blocked, id=10948, stack(0x000000001dc50000,0x000000001dd50000)]
  0x000000001d2bd800 JavaThread "Thread-1" [_thread_in_native, id=16320, stack(0x000000001db50000,0x000000001dc50000)]
  0x000000001d49b800 JavaThread "Thread-0" [_thread_in_native, id=2188, stack(0x000000001d750000,0x000000001d850000)]
  0x000000001d185000 JavaThread "Service Thread" daemon [_thread_blocked, id=5956, stack(0x000000001d550000,0x000000001d650000)]
  0x000000001b8f4800 JavaThread "C1 CompilerThread2" daemon [_thread_blocked, id=9956, stack(0x000000001d050000,0x000000001d150000)]
  0x000000001b8f1800 JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=1148, stack(0x000000001cf50000,0x000000001d050000)]
  0x000000001b8ee800 JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=2288, stack(0x000000001ce50000,0x000000001cf50000)]
  0x000000001b8ec800 JavaThread "Attach Listener" daemon [_thread_blocked, id=4784, stack(0x000000001cd50000,0x000000001ce50000)]
  0x000000001b8e9000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=9464, stack(0x000000001cc50000,0x000000001cd50000)]
  0x0000000002736000 JavaThread "Finalizer" daemon [_thread_blocked, id=10492, stack(0x000000001cb50000,0x000000001cc50000)]
  0x000000000272d000 JavaThread "Reference Handler" daemon [_thread_blocked, id=4036, stack(0x000000001ca50000,0x000000001cb50000)]
  0x0000000002640800 JavaThread "main" [_thread_blocked, id=10624, stack(0x0000000002540000,0x0000000002640000)]

Other Threads:
  0x000000001b8b7800 VMThread [stack: 0x000000001c950000,0x000000001ca50000] [id=13024]
  0x000000001d186000 WatcherThread [stack: 0x000000001d650000,0x000000001d750000] [id=5720]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap:
 PSYoungGen      total 482304K, used 235123K [0x000000076d980000, 0x0000000791200000, 0x00000007c0000000)
  eden space 405504K, 39% used [0x000000076d980000,0x00000007775e6f48,0x0000000786580000)
  from space 76800K, 97% used [0x000000078b980000,0x00000007902b5cf8,0x0000000790480000)
  to   space 86016K, 0% used [0x0000000786580000,0x0000000786580000,0x000000078b980000)
 ParOldGen       total 429056K, used 317137K [0x00000006c8c00000, 0x00000006e2f00000, 0x000000076d980000)
  object space 429056K, 73% used [0x00000006c8c00000,0x00000006dc1b4698,0x00000006e2f00000)
 Metaspace       used 14781K, capacity 15668K, committed 15872K, reserved 1062912K
  class space    used 1764K, capacity 2031K, committed 2048K, reserved 1048576K

Card table byte_map: [0x0000000011b00000,0x00000000122c0000] byte_map_base: 0x000000000e4ba000

Marking Bits: (ParMarkBitMap*) 0x0000000068584040
 Begin Bits: [0x0000000012bf0000, 0x00000000169c0000)
 End Bits:   [0x00000000169c0000, 0x000000001a790000)

Polling page: 0x0000000000730000

CodeCache: size=245760Kb used=8845Kb max_used=8989Kb free=236914Kb
 bounds [0x0000000002740000, 0x0000000003030000, 0x0000000011740000]
 total_blobs=2689 nmethods=2330 adapters=271
 compilation: enabled

Compilation events (10 events):
Event: 2004.287 Thread 0x000000001b8f4800 nmethod 3085 0x0000000002eaa990 code [0x0000000002eaaae0, 0x0000000002eaabf0]
Event: 2004.300 Thread 0x000000001b8f1800 nmethod 3084 0x0000000002c2d590 code [0x0000000002c2d9a0, 0x0000000002c30010]
Event: 2424.716 Thread 0x000000001b8f4800 3086       3       java.util.regex.Pattern$LastNode::match (45 bytes)
Event: 2424.716 Thread 0x000000001b8f4800 nmethod 3086 0x0000000002c44350 code [0x0000000002c444c0, 0x0000000002c446f0]
Event: 2424.717 Thread 0x000000001b8f4800 3087       3       java.util.regex.Pattern$Branch::match (66 bytes)
Event: 2424.717 Thread 0x000000001b8f4800 nmethod 3087 0x0000000002a07610 code [0x0000000002a077a0, 0x0000000002a07c98]
Event: 2424.718 Thread 0x000000001b8f4800 3088       1       syntaxparser.model.parse.document.DocumentPosition::getPositionFromStart (5 bytes)
Event: 2424.718 Thread 0x000000001b8f4800 nmethod 3088 0x0000000002866090 code [0x00000000028661e0, 0x00000000028662f0]
Event: 2424.727 Thread 0x000000001b8ee800 3089  s    4       modular.core.file.FileChangeWatcher::remove (150 bytes)
Event: 2424.730 Thread 0x000000001b8f1800 3090       4       java.util.ArrayList::remove (77 bytes)

GC Heap History (10 events):
Event: 1666.271 GC heap before
{Heap before GC invocations=28 (full 2):
 PSYoungGen      total 409600K, used 371811K [0x000000076d980000, 0x000000078c700000, 0x00000007c0000000)
  eden space 335360K, 100% used [0x000000076d980000,0x0000000782100000,0x0000000782100000)
  from space 74240K, 49% used [0x0000000782100000,0x0000000784498d70,0x0000000786980000)
  to   space 71168K, 0% used [0x0000000788180000,0x0000000788180000,0x000000078c700000)
 ParOldGen       total 429056K, used 317137K [0x00000006c8c00000, 0x00000006e2f00000, 0x000000076d980000)
  object space 429056K, 73% used [0x00000006c8c00000,0x00000006dc1b4698,0x00000006e2f00000)
 Metaspace       used 9491K, capacity 10070K, committed 10240K, reserved 1058816K
  class space    used 1071K, capacity 1252K, committed 1280K, reserved 1048576K
Event: 1666.302 GC heap after
Heap after GC invocations=28 (full 2):
 PSYoungGen      total 434688K, used 36035K [0x000000076d980000, 0x000000078c480000, 0x00000007c0000000)
  eden space 366080K, 0% used [0x000000076d980000,0x000000076d980000,0x0000000783f00000)
  from space 68608K, 52% used [0x0000000788180000,0x000000078a4b0d50,0x000000078c480000)
  to   space 68096K, 0% used [0x0000000783f00000,0x0000000783f00000,0x0000000788180000)
 ParOldGen       total 429056K, used 317137K [0x00000006c8c00000, 0x00000006e2f00000, 0x000000076d980000)
  object space 429056K, 73% used [0x00000006c8c00000,0x00000006dc1b4698,0x00000006e2f00000)
 Metaspace       used 9491K, capacity 10070K, committed 10240K, reserved 1058816K
  class space    used 1071K, capacity 1252K, committed 1280K, reserved 1048576K
}
Event: 1690.071 GC heap before
{Heap before GC invocations=29 (full 2):
 PSYoungGen      total 434688K, used 402115K [0x000000076d980000, 0x000000078c480000, 0x00000007c0000000)
  eden space 366080K, 100% used [0x000000076d980000,0x0000000783f00000,0x0000000783f00000)
  from space 68608K, 52% used [0x0000000788180000,0x000000078a4b0d50,0x000000078c480000)
  to   space 68096K, 0% used [0x0000000783f00000,0x0000000783f00000,0x0000000788180000)
 ParOldGen       total 429056K, used 317137K [0x00000006c8c00000, 0x00000006e2f00000, 0x000000076d980000)
  object space 429056K, 73% used [0x00000006c8c00000,0x00000006dc1b4698,0x00000006e2f00000)
 Metaspace       used 9498K, capacity 10078K, committed 10240K, reserved 1058816K
  class space    used 1072K, capacity 1254K, committed 1280K, reserved 1048576K
Event: 1690.101 GC heap after
Heap after GC invocations=29 (full 2):
 PSYoungGen      total 434176K, used 36166K [0x000000076d980000, 0x000000078da00000, 0x00000007c0000000)
  eden space 366080K, 0% used [0x000000076d980000,0x000000076d980000,0x0000000783f00000)
  from space 68096K, 53% used [0x0000000783f00000,0x0000000786251ac0,0x0000000788180000)
  to   space 65024K, 0% used [0x0000000789a80000,0x0000000789a80000,0x000000078da00000)
 ParOldGen       total 429056K, used 317137K [0x00000006c8c00000, 0x00000006e2f00000, 0x000000076d980000)
  object space 429056K, 73% used [0x00000006c8c00000,0x00000006dc1b4698,0x00000006e2f00000)
 Metaspace       used 9498K, capacity 10078K, committed 10240K, reserved 1058816K
  class space    used 1072K, capacity 1254K, committed 1280K, reserved 1048576K
}
Event: 1703.670 GC heap before
{Heap before GC invocations=30 (full 2):
 PSYoungGen      total 434176K, used 402246K [0x000000076d980000, 0x000000078da00000, 0x00000007c0000000)
  eden space 366080K, 100% used [0x000000076d980000,0x0000000783f00000,0x0000000783f00000)
  from space 68096K, 53% used [0x0000000783f00000,0x0000000786251ac0,0x0000000788180000)
  to   space 65024K, 0% used [0x0000000789a80000,0x0000000789a80000,0x000000078da00000)
 ParOldGen       total 429056K, used 317137K [0x00000006c8c00000, 0x00000006e2f00000, 0x000000076d980000)
  object space 429056K, 73% used [0x00000006c8c00000,0x00000006dc1b4698,0x00000006e2f00000)
 Metaspace       used 9505K, capacity 10078K, committed 10240K, reserved 1058816K
  class space    used 1072K, capacity 1254K, committed 1280K, reserved 1048576K
Event: 1703.713 GC heap after
Heap after GC invocations=30 (full 2):
 PSYoungGen      total 454144K, used 57542K [0x000000076d980000, 0x000000078e200000, 0x00000007c0000000)
  eden space 389120K, 0% used [0x000000076d980000,0x000000076d980000,0x0000000785580000)
  from space 65024K, 88% used [0x0000000789a80000,0x000000078d2b1ab0,0x000000078da00000)
  to   space 70656K, 0% used [0x0000000785580000,0x0000000785580000,0x0000000789a80000)
 ParOldGen       total 429056K, used 317137K [0x00000006c8c00000, 0x00000006e2f00000, 0x000000076d980000)
  object space 429056K, 73% used [0x00000006c8c00000,0x00000006dc1b4698,0x00000006e2f00000)
 Metaspace       used 9505K, capacity 10078K, committed 10240K, reserved 1058816K
  class space    used 1072K, capacity 1254K, committed 1280K, reserved 1048576K
}
Event: 1721.934 GC heap before
{Heap before GC invocations=31 (full 2):
 PSYoungGen      total 454144K, used 446662K [0x000000076d980000, 0x000000078e200000, 0x00000007c0000000)
  eden space 389120K, 100% used [0x000000076d980000,0x0000000785580000,0x0000000785580000)
  from space 65024K, 88% used [0x0000000789a80000,0x000000078d2b1ab0,0x000000078da00000)
  to   space 70656K, 0% used [0x0000000785580000,0x0000000785580000,0x0000000789a80000)
 ParOldGen       total 429056K, used 317137K [0x00000006c8c00000, 0x00000006e2f00000, 0x000000076d980000)
  object space 429056K, 73% used [0x00000006c8c00000,0x00000006dc1b4698,0x00000006e2f00000)
 Metaspace       used 14749K, capacity 15540K, committed 15616K, reserved 1062912K
  class space    used 1764K, capacity 2031K, committed 2048K, reserved 1048576K
Event: 1722.011 GC heap after
Heap after GC invocations=31 (full 2):
 PSYoungGen      total 459776K, used 63484K [0x000000076d980000, 0x0000000790480000, 0x00000007c0000000)
  eden space 389120K, 0% used [0x000000076d980000,0x000000076d980000,0x0000000785580000)
  from space 70656K, 89% used [0x0000000785580000,0x000000078937f1c8,0x0000000789a80000)
  to   space 76800K, 0% used [0x000000078b980000,0x000000078b980000,0x0000000790480000)
 ParOldGen       total 429056K, used 317137K [0x00000006c8c00000, 0x00000006e2f00000, 0x000000076d980000)
  object space 429056K, 73% used [0x00000006c8c00000,0x00000006dc1b4698,0x00000006e2f00000)
 Metaspace       used 14749K, capacity 15540K, committed 15616K, reserved 1062912K
  class space    used 1764K, capacity 2031K, committed 2048K, reserved 1048576K
}
Event: 2002.036 GC heap before
{Heap before GC invocations=32 (full 2):
 PSYoungGen      total 459776K, used 452604K [0x000000076d980000, 0x0000000790480000, 0x00000007c0000000)
  eden space 389120K, 100% used [0x000000076d980000,0x0000000785580000,0x0000000785580000)
  from space 70656K, 89% used [0x0000000785580000,0x000000078937f1c8,0x0000000789a80000)
  to   space 76800K, 0% used [0x000000078b980000,0x000000078b980000,0x0000000790480000)
 ParOldGen       total 429056K, used 317137K [0x00000006c8c00000, 0x00000006e2f00000, 0x000000076d980000)
  object space 429056K, 73% used [0x00000006c8c00000,0x00000006dc1b4698,0x00000006e2f00000)
 Metaspace       used 14760K, capacity 15540K, committed 15616K, reserved 1062912K
  class space    used 1764K, capacity 2031K, committed 2048K, reserved 1048576K
Event: 2002.125 GC heap after
Heap after GC invocations=32 (full 2):
 PSYoungGen      total 482304K, used 74967K [0x000000076d980000, 0x0000000791200000, 0x00000007c0000000)
  eden space 405504K, 0% used [0x000000076d980000,0x000000076d980000,0x0000000786580000)
  from space 76800K, 97% used [0x000000078b980000,0x00000007902b5cf8,0x0000000790480000)
  to   space 86016K, 0% used [0x0000000786580000,0x0000000786580000,0x000000078b980000)
 ParOldGen       total 429056K, used 317137K [0x00000006c8c00000, 0x00000006e2f00000, 0x000000076d980000)
  object space 429056K, 73% used [0x00000006c8c00000,0x00000006dc1b4698,0x00000006e2f00000)
 Metaspace       used 14760K, capacity 15540K, committed 15616K, reserved 1062912K
  class space    used 1764K, capacity 2031K, committed 2048K, reserved 1048576K
}

Deoptimization events (10 events):
Event: 1708.499 Thread 0x000000001e942000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000002c05838 method=java.io.ObjectOutputStream.writeObject0(Ljava/lang/Object;Z)V @ 495
Event: 1708.499 Thread 0x000000001e942000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000002c059c4 method=java.io.ObjectOutputStream.writeObject0(Ljava/lang/Object;Z)V @ 29
Event: 1708.499 Thread 0x000000001e942000 Uncommon trap: reason=null_check action=make_not_entrant pc=0x0000000002c17aac method=java.io.ObjectStreamClass.lookup(Ljava/lang/Class;Z)Ljava/io/ObjectStreamClass; @ 45
Event: 1708.501 Thread 0x000000001e942000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000002e75c80 method=java.nio.channels.Channels$1.write([BII)V @ 37
Event: 1708.501 Thread 0x000000001e942000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000002a81848 method=java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode(Z)Z @ 5
Event: 1708.502 Thread 0x000000001e942000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000002c02db4 method=modular.core.util.IOUtils.writeExternalStringCollectionIntern(Ljava/util/Collection;Ljava/io/ObjectOutput;)V @ 14
Event: 1708.503 Thread 0x000000001e942000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000002c02db4 method=modular.core.util.IOUtils.writeExternalStringCollectionIntern(Ljava/util/Collection;Ljava/io/ObjectOutput;)V @ 14
Event: 1708.503 Thread 0x000000001e942000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000002c02db4 method=modular.core.util.IOUtils.writeExternalStringCollectionIntern(Ljava/util/Collection;Ljava/io/ObjectOutput;)V @ 14
Event: 1708.503 Thread 0x000000001e942000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000002c02db4 method=modular.core.util.IOUtils.writeExternalStringCollectionIntern(Ljava/util/Collection;Ljava/io/ObjectOutput;)V @ 14
Event: 1734.504 Thread 0x000000001e942000 Uncommon trap: reason=bimorphic action=maybe_recompile pc=0x0000000002ab971c method=modular.core.util.IOUtils.writeExternalStringCollectionIntern(Ljava/util/Collection;Ljava/io/ObjectOutput;)V @ 14

Internal exceptions (10 events):
Event: 2001.656 Thread 0x000000001e038000 Exception <a 'sun/nio/fs/WindowsException'> (0x000000077605b990) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u51\3951\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 2001.883 Thread 0x000000001e038000 Exception <a 'java/lang/NoSuchMethodError': java.lang.Object.getAnnotationProcessors()Ljava/util/Collection;> (0x0000000783681290) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u51\3951\hotspot\src\share\vm\interpreter\linkResolver.cpp, lin,���#��G��@
Event: 2001.883 Thread 0x000000001e038000 Exception <a 'java/lang/NoSuchMethodError': java.lang.Object.getClassPath()Ljava/util/Collection;> (0x0000000783683620) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u51\3951\hotspot\src\share\vm\interpreter\linkResolver.cpp, line 582]
Event: 2003.200 Thread 0x000000001e038000 Exception <a 'java/lang/NoSuchMethodError': java.lang.Object.getAlwaysRun()Ljava/lang/Boolean;> (0x0000000772911610) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u51\3951\hotspot\src\share\vm\interpreter\linkResolver.cpp, line 582]
Event: 2424.718 Thread 0x000000001d154800 Exception <a 'sun/nio/fs/WindowsException'> (0x000000077744d4a0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u51\3951\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 2424.718 Thread 0x000000001d154800 Exception <a 'sun/nio/fs/WindowsException'> (0x000000077744db18) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u51\3951\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 2424.719 Thread 0x0000000021e9e800 Exception <a 'sun/nio/fs/WindowsException'> (0x00000007774d3b30) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u51\3951\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 2424.719 Thread 0x0000000021e9e800 Exception <a 'sun/nio/fs/WindowsException'> (0x00000007774d4188) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u51\3951\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 2424.719 Thread 0x0000000021e9e800 Exception <a 'sun/nio/fs/WindowsException'> (0x00000007774d47f0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u51\3951\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 2424.719 Thread 0x0000000021e9e800 Exception <a 'sun/nio/fs/WindowsException'> (0x00000007774d4e88) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u51\3951\hotspot\src\share\vm\prims\jni.cpp, line 709]

Events (10 events):
Event: 2004.230 loading class modular/core/project/ModularProject$1 done
Event: 2004.234 Thread 0x000000001b8ee800 flushing nmethod 0x000000000296a7d0
Event: 2004.252 Thread 0x000000001b8f1800 flushing nmethod 0x0000000002a69290
Event: 2004.287 Thread 0x000000001e038000 Thread exited: 0x000000001e038000
Event: 2004.287 Executing VM operation: RevokeBias
Event: 2004.287 Executing VM operation: RevokeBias done
Event: 2004.287 Thread 0x000000001d154800 Thread exited: 0x000000001d154800
Event: 2004.287 Thread 0x000000001b8f4800 flushing nmethod 0x0000000002b8c610
Event: 2424.716 Thread 0x000000001d154800 Thread added: 0x000000001d154800
Event: 2424.718 Thread 0x0000000021e9e800 Thread added: 0x0000000021e9e800


Dynamic libraries:
0x00007ff68ebb0000 - 0x00007ff68ebe7000 	C:\Program Files\Java\jdk1.8.0_51\bin\java.exe
0x00007ff95e3d0000 - 0x00007ff95e5ab000 	C:\WINDOWS\SYSTEM32\ntdll.dll
0x00007ff95be70000 - 0x00007ff95bf1e000 	C:\WINDOWS\System32\KERNEL32.DLL
0x00007ff95ac90000 - 0x00007ff95aed9000 	C:\WINDOWS\System32\KERNELBASE.dll
0x00007ff95c430000 - 0x00007ff95c4d1000 	C:\WINDOWS\System32\ADVAPI32.dll
0x00007ff95c360000 - 0x00007ff95c3fd000 	C:\WINDOWS\System32\msvcrt.dll
0x00007ff95c4e0000 - 0x00007ff95c539000 	C:\WINDOWS\System32\sechost.dll
0x00007ff95c700000 - 0x00007ff95c825000 	C:\WINDOWS\System32\RPCRT4.dll
0x00007ff95bb90000 - 0x00007ff95bcda000 	C:\WINDOWS\System32\USER32.dll
0x00007ff95aaa0000 - 0x00007ff95aabe000 	C:\WINDOWS\System32\win32u.dll
0x00007ff95c400000 - 0x00007ff95c427000 	C:\WINDOWS\System32\GDI32.dll
0x00007ff95b7a0000 - 0x00007ff95b927000 	C:\WINDOWS\System32\gdi32full.dll
0x00007ff95a8f0000 - 0x00007ff95a98a000 	C:\WINDOWS\System32\msvcp_win.dll
0x00007ff95b6a0000 - 0x00007ff95b796000 	C:\WINDOWS\System32\ucrtbase.dll
0x00007ff94d030000 - 0x00007ff94d297000 	C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.15063.483_none_26002d27e7c744a2\COMCTL32.dll
0x00007ff95c980000 - 0x00007ff95cc79000 	C:\WINDOWS\System32\combase.dll
0x00007ff95aee0000 - 0x00007ff95af4a000 	C:\WINDOWS\System32\bcryptPrimitives.dll
0x00007ff95cdd0000 - 0x00007ff95cdfd000 	C:\WINDOWS\System32\IMM32.DLL
0x0000000068610000 - 0x00000000686e2000 	C:\Program Files\Java\jdk1.8.0_51\jre\bin\msvcr100.dll
0x0000000067d80000 - 0x0000000068603000 	C:\Program Files\Java\jdk1.8.0_51\jre\bin\server\jvm.dll
0x00007ff95cdc0000 - 0x00007ff95cdc8000 	C:\WINDOWS\System32\PSAPI.DLL
0x00007ff9294a0000 - 0x00007ff9294a9000 	C:\WINDOWS\SYSTEM32\WSOCK32.dll
0x00007ff955360000 - 0x00007ff95536a000 	C:\WINDOWS\SYSTEM32\VERSION.dll
0x00007ff95bce0000 - 0x00007ff95bd4c000 	C:\WINDOWS\System32\WS2_32.dll
0x00007ff956a50000 - 0x00007ff956a73000 	C:\WINDOWS\SYSTEM32\WINMM.dll
0x00007ff9569f0000 - 0x00007ff956a1b000 	C:\WINDOWS\SYSTEM32\winmmbase.dll
0x00007ff95b650000 - 0x00007ff95b699000 	C:\WINDOWS\System32\cfgmgr32.dll
0x0000000067d70000 - 0x0000000067d7f000 	C:\Program Files\Java\jdk1.8.0_51\jre\bin\verify.dll
0x0000000067d40000 - 0x0000000067d69000 	C:\Program Files\Java\jdk1.8.0_51\jre\bin\java.dll
0x0000000067d20000 - 0x0000000067d36000 	C:\Program Files\Java\jdk1.8.0_51\jre\bin\zip.dll
0x00007ff95cf90000 - 0x00007ff95e3c6000 	C:\WINDOWS\System32\SHELL32.dll
0x00007ff95c5a0000 - 0x00007ff95c64a000 	C:\WINDOWS\System32\shcore.dll
0x00007ff95af50000 - 0x00007ff95b641000 	C:\WINDOWS\System32\windows.storage.dll
0x00007ff95b930000 - 0x00007ff95b981000 	C:\WINDOWS\System32\shlwapi.dll
0x00007ff95a8b0000 - 0x00007ff95a8c1000 	C:\WINDOWS\System32\kernel.appcore.dll
0x00007ff95a860000 - 0x00007ff95a8ac000 	C:\WINDOWS\System32\powrprof.dll
0x00007ff95a8d0000 - 0x00007ff95a8e5000 	C:\WINDOWS\System32\profapi.dll
0x0000000067d00000 - 0x0000000067d1a000 	C:\Program Files\Java\jdk1.8.0_51\jre\bin\net.dll
0x00007ff95a150000 - 0x00007ff95a1ac000 	C:\WINDOWS\system32\mswsock.dll
0x0000000067ce0000 - 0x0000000067cf1000 	C:\Program Files\Java\jdk1.8.0_51\jre\bin\nio.dll
0x00007ff959ef0000 - 0x00007ff959f27000 	C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL
0x00007ff95be60000 - 0x00007ff95be68000 	C:\WINDOWS\System32\NSI.dll
0x00007ff956450000 - 0x00007ff956466000 	C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL
0x00007ff956400000 - 0x00007ff95641a000 	C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL
0x00007ff94a460000 - 0x00007ff94a609000 	C:\WINDOWS\SYSTEM32\dbghelp.dll

VM Arguments:
java_command: mlauncher.jar -run-daemon win
java_class_path (initial): mlauncher.jar
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\AMD\ATI.ACE\Core-Static;C:\Program Files\Java\jdk1.8.0_51\bin;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\ProgramData\Oracle\Java\javapath;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;
USERNAME=sipka
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel



---------------  S Y S T E M  ---------------

OS: Windows 10.0 , 64 bit Build 15063 (10.0.15063.296)

CPU:total 4 (4 cores per cpu, 1 threads per core) family 6 model 58 stepping 9, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, aes, clmul, erms, tsc, tscinvbit, tscinv

Memory: 4k page, physical 16203120k(6362820k free), swap 23543152k(5647876k free)

vm_info: Java HotSpot(TM) 64-Bit Server VM (25.51-b03) for windows-amd64 JRE (1.8.0_51-b16), built on Jun  8 2015 18:03:07 by "java_re" with MS VC++ 10.0 (VS2010)

time: Fri Oct 20 10:56:47 2017
elapsed time: 2424 seconds (0d 0h 40m 24s)



REPRODUCIBILITY :
This bug can be reproduced rarely.


Comments
We have Java native frames Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) J 2251 sun.misc.Unsafe.freeMemory(J)V (0 bytes) @ 0x0000000002ebf9bb [0x0000000002ebf980+0x3b] J 2398 C2 sun.nio.fs.AbstractPoller.processRequests()Z (202 bytes) @ 0x0000000002f448b4 [0x0000000002f44340+0x574] j sun.nio.fs.WindowsWatchService$Poller.run()V+27 j java.lang.Thread.run()V+11 v ~StubRoutines::call_stub This seems to be issue with I/O cancellation when there is a pending ReadDirectoryChanges outstanding. Issue reported on 8u51. There is one similar fix JDK-8029516 went into 8u72 and later versions. Kindly upgrade to latest Java version and report it back if you still see the similar crash again.
24-10-2017