JDK-8032566 : Crash in JIT when running Scala compiler (and compiling Scala std lib)
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 8
  • Priority: P1
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • Submitted: 2014-01-23
  • Updated: 2014-05-08
  • Resolved: 2014-01-29
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9 Other
8 b127Fixed 9Fixed hs25Fixed
Related Reports
Duplicate :  
Relates :  
Description
FULL PRODUCT VERSION :
java version "1.8.0-ea"
Java(TM) SE Runtime Environment (build 1.8.0-ea-b123)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b65, mixed mode)


FULL OS VERSION :
MacOSX 10.9.1

A DESCRIPTION OF THE PROBLEM :
The JIT compiler seems to crash when compiling scala/tools/nsc/transform/patmat/PatternMatching$OptimizingMatchTranslator.AnalysisBudget method from Scala compiler.

Here's the core dump:

https://dl.dropboxusercontent.com/u/12870350/core-dump-jdk8-crash.zip

(I haven't found a way to attach that file to the ticket)

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

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

REGRESSION.  Last worked in version 7u51

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Checkout https://github.com/gkossakowski/scala/tree/java8-support branch (commit: 008694f552719695756e33d5855e07add0735a34)
 
and then:
 
$ export ANT_OPTS="-Xms3G -Xmx3G -Xss1M -XX:MaxPermSize=192M -XX:+UseParallelGC"
$ ant

EXPECTED VERSUS ACTUAL BEHAVIOR :
Expected: should just finish compiling Scala

Actual result:

quick.lib:
[quick.library] Compiling 581 files to /Users/grek/scala/scala-master/build/quick/classes/library
[quick.library] Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=192M; support was removed in 8.0
[quick.library] /Users/grek/scala/scala-master/src/library/scala/SerialVersionUID.scala:15: warning: Implementation restriction: subclassing Classfile does not
[quick.library] make your annotation visible at runtime.  If that is what
[quick.library] you want, you must write the annotation class in Java.
[quick.library] class SerialVersionUID(value: Long) extends scala.annotation.ClassfileAnnotation
[quick.library]       ^
[quick.library] #
[quick.library] # A fatal error has been detected by the Java Runtime Environment:
[quick.library] #
[quick.library] #  SIGSEGV (0xb) at pc=0x000000010ff99024, pid=21513, tid=20739
[quick.library] #
[quick.library] # JRE version: Java(TM) SE Runtime Environment (8.0-b123) (build 1.8.0-ea-b123)
[quick.library] # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.0-b65 mixed mode bsd-amd64 compressed oops)
[quick.library] # Problematic frame:
[quick.library] # V  [libjvm.dylib+0x399024]
[quick.library] #
[quick.library] # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
[quick.library] #
[quick.library] # An error report file with more information is saved as:
[quick.library] # /Users/grek/scala/scala-master/hs_err_pid21513.log
[quick.library] #
[quick.library] # Compiler replay data is saved as:
[quick.library] # /Users/grek/scala/scala-master/replay_pid21513.log
[quick.library] #
[quick.library] # If you would like to submit a bug report, please visit:
[quick.library] #   http://bugreport.sun.com/bugreport/crash.jsp
[quick.library] #
ERROR MESSAGES/STACK TRACES THAT OCCUR :
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000000010ff99024, pid=21513, tid=20739
#
# JRE version: Java(TM) SE Runtime Environment (8.0-b123) (build 1.8.0-ea-b123)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.0-b65 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# V  [libjvm.dylib+0x399024]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# 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 (0x00007fe6d5004000):  JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=20739, stack(0x000000012a4cb000,0x000000012a5cb000)]

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x0000000000000008

Registers:
RAX=0x0000000000000000, RBX=0x000000012a5c6980, RCX=0x00007fe6d3b4e610, RDX=0x00007fe6d84e9278
RSP=0x000000012a5c45e0, RBP=0x000000012a5c45e0, RSI=0x00007fe6d371f150, RDI=0x000000012a5c6980
R8 =0x0000000000000000, R9 =0x000000012a5c4500, R10=0x0000000000008200, R11=0x00000000000009c0
R12=0x00007fe6d84e9278, R13=0x0000000000000000, R14=0x00007fe6d371f150, R15=0x00007fe6d8624288
RIP=0x000000010ff99024, EFLAGS=0x0000000000010202, ERR=0x0000000000000004
  TRAPNO=0x000000000000000e

  Top of Stack: (sp=0x000000012a5c45e0)
0x000000012a5c45e0:   000000012a5c4620 000000010ffa2241
0x000000012a5c45f0:   00007fe6d86275b8 000000012a5c4950
0x000000012a5c4600:   0000000000000001 00007fe6d8627550
0x000000012a5c4610:   000000012a5c6980 00007fe6d86275b8
0x000000012a5c4620:   000000012a5c4680 000000010ffa248e
0x000000012a5c4630:   000000012a5c7350 000000012a5c4930
0x000000012a5c4640:   000000012a5c7330 000000012a5c4910
0x000000012a5c4650:   0000000100000487 000000012a5c6980
0x000000012a5c4660:   0000000000000001 000000012a5c9fd0
0x000000012a5c4670:   00007fe6d371f1c0 0000000000000001
0x000000012a5c4680:   000000012a5c49c0 000000010ffa85df
0x000000012a5c4690:   000000012a5c46a0 0000000110124f23
0x000000012a5c46a0:   0000000100000000 00007fe6d3503390
0x000000012a5c46b0:   0000000100000010 0000000000006246
0x000000012a5c46c0:   00007fe6d82d0808 00007fe6d926af28
0x000000012a5c46d0:   00007fe6d82d0808 00007fe6d82d0808
0x000000012a5c46e0:   0000000000000001 0000000000000000
0x000000012a5c46f0:   00007fe6d3737860 0000000000000000
0x000000012a5c4700:   000000012a5c4720 000000010fc993cb
0x000000012a5c4710:   000000012a5c4750 000000010fd4c7a1
0x000000012a5c4720:   000000012a5c4750 00007fe6d8ab2230
0x000000012a5c4730:   00000001101b4eb8 000000012a5c9fd0
0x000000012a5c4740:   0000000110478610 00007fe6d8628380
0x000000012a5c4750:   000000012a5c4770 00000001101267f3
0x000000012a5c4760:   00007fe6d732dd00 00007fe6d82d0808
0x000000012a5c4770:   000000012a5c47a0 0000000110126898
0x000000012a5c4780:   00000000000053cc 00007fe6d3737860
0x000000012a5c4790:   00007fe6d926c780 0000000000000000
0x000000012a5c47a0:   000000012a5c47b0 00007fe6d732dd68
0x000000012a5c47b0:   000000012a5c4800 000000010fd4cfd9
0x000000012a5c47c0:   00007fe6d82a3890 0000000000000005
0x000000012a5c47d0:   000000012a5c88c8 0000000000000006

Instructions: (pc=0x000000010ff99024)
0x000000010ff99004:   2c 83 e1 07 83 f9 05 48 0f 45 c2 5d c3 90 55 48
0x000000010ff99014:   89 e5 8b 46 28 48 8b 8f f0 09 00 00 48 8b 04 c1
0x000000010ff99024:   48 8b 48 08 48 83 39 00 75 26 8b 4f 28 8b 40 28
0x000000010ff99034:   39 c1 77 0e 31 c0 48 8b 50 08 48 83 3a 00 74 ed

Register to memory mapping:

RAX=0x0000000000000000 is an unknown value
RBX=0x000000012a5c6980 is pointing into the stack for thread: 0x00007fe6d5004000
RCX=0x00007fe6d3b4e610 is an unknown value
RDX=0x00007fe6d84e9278 is an unknown value
RSP=0x000000012a5c45e0 is pointing into the stack for thread: 0x00007fe6d5004000
RBP=0x000000012a5c45e0 is pointing into the stack for thread: 0x00007fe6d5004000
RSI=0x00007fe6d371f150 is an unknown value
RDI=0x000000012a5c6980 is pointing into the stack for thread: 0x00007fe6d5004000
R8 =0x0000000000000000 is an unknown value
R9 =0x000000012a5c4500 is pointing into the stack for thread: 0x00007fe6d5004000
R10=0x0000000000008200 is an unknown value
R11=0x00000000000009c0 is an unknown value
R12=0x00007fe6d84e9278 is an unknown value
R13=0x0000000000000000 is an unknown value
R14=0x00007fe6d371f150 is an unknown value
R15=0x00007fe6d8624288 is an unknown value


Stack: [0x000000012a4cb000,0x000000012a5cb000],  sp=0x000000012a5c45e0,  free space=997k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.dylib+0x399024]
V  [libjvm.dylib+0x3a2241]
V  [libjvm.dylib+0x3a248e]
V  [libjvm.dylib+0x3a85df]
V  [libjvm.dylib+0x19d87f]
V  [libjvm.dylib+0x1a0695]
V  [libjvm.dylib+0x143b52]
V  [libjvm.dylib+0x1a3f80]
V  [libjvm.dylib+0x1a608f]
V  [libjvm.dylib+0x51c4a5]
V  [libjvm.dylib+0x51dbe2]
V  [libjvm.dylib+0x444c1e]
C  [libsystem_pthread.dylib+0x1899]  _pthread_body+0x8a
C  [libsystem_pthread.dylib+0x172a]  _pthread_struct_init+0x0
C  [libsystem_pthread.dylib+0x5fc9]  thread_start+0xd


Current CompileTask:
C2:  23940 13927       4       scala.tools.nsc.transform.patmat.PatternMatching$OptimizingMatchTranslator::AnalysisBudget (19 bytes)


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

Java Threads: ( => current thread )
  0x00007fe6d400f000 JavaThread "Service Thread" daemon [_thread_blocked, id=22275, stack(0x000000012a7d4000,0x000000012a8d4000)]
  0x00007fe6d5005800 JavaThread "C1 CompilerThread3" daemon [_thread_in_native, id=21763, stack(0x000000012a6d1000,0x000000012a7d1000)]
  0x00007fe6d5005000 JavaThread "C2 CompilerThread2" daemon [_thread_in_native, id=21251, stack(0x000000012a5ce000,0x000000012a6ce000)]
=>0x00007fe6d5004000 JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=20739, stack(0x000000012a4cb000,0x000000012a5cb000)]
  0x00007fe6d5001000 JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=20227, stack(0x000000012a3c8000,0x000000012a4c8000)]
  0x00007fe6d4830800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=19715, stack(0x000000012a2c5000,0x000000012a3c5000)]
  0x00007fe6d381f000 JavaThread "Finalizer" daemon [_thread_blocked, id=14595, stack(0x000000012a076000,0x000000012a176000)]
  0x00007fe6d4006000 JavaThread "Reference Handler" daemon [_thread_blocked, id=14083, stack(0x0000000129f73000,0x000000012a073000)]
  0x00007fe6d380f000 JavaThread "main" [_thread_in_Java, id=6403, stack(0x000000010eaf7000,0x000000010ebf7000)]

Other Threads:
  0x00007fe6d4851000 VMThread [stack: 0x0000000129e70000,0x0000000129f70000] [id=13571]
  0x00007fe6d4871800 WatcherThread [stack: 0x000000012a8d7000,0x000000012a9d7000] [id=22787]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap:
 PSYoungGen      total 917504K, used 146033K [0x0000000780000000, 0x00000007c0000000, 0x00000007c0000000)
  eden space 786432K, 8% used [0x0000000780000000,0x0000000783fed228,0x00000007b0000000)
  from space 131072K, 61% used [0x00000007b0000000,0x00000007b4eaf1f0,0x00000007b8000000)
  to   space 131072K, 0% used [0x00000007b8000000,0x00000007b8000000,0x00000007c0000000)
 ParOldGen       total 2097152K, used 25672K [0x0000000700000000, 0x0000000780000000, 0x0000000780000000)
  object space 2097152K, 1% used [0x0000000700000000,0x0000000701912368,0x0000000780000000)
 Metaspace       used 34148K, capacity 34978K, committed 35192K, reserved 1079296K
  class space    used 6169K, capacity 6224K, committed 6272K, reserved 1048576K

Card table byte_map: [0x000000011fed0000,0x00000001204d1000] byte_map_base: 0x000000011c6d0000

Marking Bits: (ParMarkBitMap*) 0x0000000110464ef0
 Begin Bits: [0x00000001210e9000, 0x00000001240e9000)
 End Bits:   [0x00000001240e9000, 0x00000001270e9000)

Polling page: 0x000000010ebf9000

CodeCache: size=245760Kb used=37333Kb max_used=37339Kb free=208426Kb
 bounds [0x0000000110b10000, 0x0000000112fc0000, 0x000000011fb10000]
 total_blobs=10166 nmethods=9834 adapters=241
 compilation: enabled

Compilation events (10 events):
Event: 23.932 Thread 0x00007fe6d5005800 13918       3       scala.reflect.internal.util.Collections$$anonfun$sequence$1::apply (5 bytes)
Event: 23.932 Thread 0x00007fe6d5005800 nmethod 13918 0x0000000112f9b610 code [0x0000000112f9b780, 0x0000000112f9b9a8]
Event: 23.932 Thread 0x00007fe6d5005800 13919       3       scala.reflect.internal.util.Collections$$anonfun$sequence$2::apply (9 bytes)
Event: 23.932 Thread 0x00007fe6d5005800 nmethod 13919 0x0000000112f9c4d0 code [0x0000000112f9c660, 0x0000000112f9ca88]
Event: 23.932 Thread 0x00007fe6d5004000 nmethod 13925 0x0000000112f9c150 code [0x0000000112f9c2a0, 0x0000000112f9c398]
Event: 23.932 Thread 0x00007fe6d5005800 13920       3       scala.reflect.internal.util.Collections$$anonfun$sequence$2::apply (8 bytes)
Event: 23.932 Thread 0x00007fe6d5004000 13927       4       scala.tools.nsc.transform.patmat.PatternMatching$OptimizingMatchTranslator::AnalysisBudget (19 bytes)
Event: 23.933 Thread 0x00007fe6d5005800 nmethod 13920 0x0000000112fb8390 code [0x0000000112fb8540, 0x0000000112fb8ac8]
Event: 23.933 Thread 0x00007fe6d5005800 13921       3       scala.tools.nsc.transform.patmat.MatchOptimization$SwitchEmission$SwitchMaker$$anonfun$scala$tools$nsc$transform$patmat$MatchOptimization$SwitchEmission$SwitchMaker$$loop$1$1::<init> (21 bytes)
Event: 23.933 Thread 0x00007fe6d5005800 nmethod 13921 0x0000000112fb7e10 code [0x0000000112fb7f80, 0x0000000112fb8250]

GC Heap History (8 events):
Event: 1.597 GC heap before
{Heap before GC invocations=1 (full 0):
 PSYoungGen      total 917504K, used 236150K [0x0000000780000000, 0x00000007c0000000, 0x00000007c0000000)
  eden space 786432K, 30% used [0x0000000780000000,0x000000078e69d9a8,0x00000007b0000000)
  from space 131072K, 0% used [0x00000007b8000000,0x00000007b8000000,0x00000007c0000000)
  to   space 131072K, 0% used [0x00000007b0000000,0x00000007b0000000,0x00000007b8000000)
 ParOldGen       total 2097152K, used 0K [0x0000000700000000, 0x0000000780000000, 0x0000000780000000)
  object space 2097152K, 0% used [0x0000000700000000,0x0000000700000000,0x0000000780000000)
 Metaspace       used 20140K, capacity 21114K, committed 21248K, reserved 1067008K
  class space    used 3297K, capacity 3304K, committed 3328K, reserved 1048576K
Event: 1.613 GC heap after
Heap after GC invocations=1 (full 0):
 PSYoungGen      total 917504K, used 26118K [0x0000000780000000, 0x00000007c0000000, 0x00000007c0000000)
  eden space 786432K, 0% used [0x0000000780000000,0x0000000780000000,0x00000007b0000000)
  from space 131072K, 19% used [0x00000007b0000000,0x00000007b1981af8,0x00000007b8000000)
  to   space 131072K, 0% used [0x00000007b8000000,0x00000007b8000000,0x00000007c0000000)
 ParOldGen       total 2097152K, used 16K [0x0000000700000000, 0x0000000780000000, 0x0000000780000000)
  object space 2097152K, 0% used [0x0000000700000000,0x0000000700004000,0x0000000780000000)
 Metaspace       used 20140K, capacity 21114K, committed 21248K, reserved 1067008K
  class space    used 3297K, capacity 3304K, committed 3328K, reserved 1048576K
}
Event: 1.613 GC heap before
{Heap before GC invocations=2 (full 1):
 PSYoungGen      total 917504K, used 26118K [0x0000000780000000, 0x00000007c0000000, 0x00000007c0000000)
  eden space 786432K, 0% used [0x0000000780000000,0x0000000780000000,0x00000007b0000000)
  from space 131072K, 19% used [0x00000007b0000000,0x00000007b1981af8,0x00000007b8000000)
  to   space 131072K, 0% used [0x00000007b8000000,0x00000007b8000000,0x00000007c0000000)
 ParOldGen       total 2097152K, used 16K [0x0000000700000000, 0x0000000780000000, 0x0000000780000000)
  object space 2097152K, 0% used [0x0000000700000000,0x0000000700004000,0x0000000780000000)
 Metaspace       used 20140K, capacity 21114K, committed 21248K, reserved 1067008K
  class space    used 3297K, capacity 3304K, committed 3328K, reserved 1048576K
Event: 1.657 GC heap after
Heap after GC invocations=2 (full 1):
 PSYoungGen      total 917504K, used 0K [0x0000000780000000, 0x00000007c0000000, 0x00000007c0000000)
  eden space 786432K, 0% used [0x0000000780000000,0x0000000780000000,0x00000007b0000000)
  from space 131072K, 0% used [0x00000007b0000000,0x00000007b0000000,0x00000007b8000000)
  to   space 131072K, 0% used [0x00000007b8000000,0x00000007b8000000,0x00000007c0000000)
 ParOldGen       total 2097152K, used 25656K [0x0000000700000000, 0x0000000780000000, 0x0000000780000000)
  object space 2097152K, 1% used [0x0000000700000000,0x000000070190e368,0x0000000780000000)
 Metaspace       used 20140K, capacity 21114K, committed 21248K, reserved 1067008K
  class space    used 3297K, capacity 3304K, committed 3328K, reserved 1048576K
}
Event: 14.562 GC heap before
{Heap before GC invocations=3 (full 1):
 PSYoungGen      total 917504K, used 786432K [0x0000000780000000, 0x00000007c0000000, 0x00000007c0000000)
  eden space 786432K, 100% used [0x0000000780000000,0x00000007b0000000,0x00000007b0000000)
  from space 131072K, 0% used [0x00000007b0000000,0x00000007b0000000,0x00000007b8000000)
  to   space 131072K, 0% used [0x00000007b8000000,0x00000007b8000000,0x00000007c0000000)
 ParOldGen       total 2097152K, used 25656K [0x0000000700000000, 0x0000000780000000, 0x0000000780000000)
  object space 2097152K, 1% used [0x0000000700000000,0x000000070190e368,0x0000000780000000)
 Metaspace       used 31027K, capacity 31874K, committed 32000K, reserved 1075200K
  class space    used 5563K, capacity 5616K, committed 5632K, reserved 1048576K
Event: 14.647 GC heap after
Heap after GC invocations=3 (full 1):
 PSYoungGen      total 917504K, used 55953K [0x0000000780000000, 0x00000007c0000000, 0x00000007c0000000)
  eden space 786432K, 0% used [0x0000000780000000,0x0000000780000000,0x00000007b0000000)
  from space 131072K, 42% used [0x00000007b8000000,0x00000007bb6a45c8,0x00000007c0000000)
  to   space 131072K, 0% used [0x00000007b0000000,0x00000007b0000000,0x00000007b8000000)
 ParOldGen       total 2097152K, used 25664K [0x0000000700000000, 0x0000000780000000, 0x0000000780000000)
  object space 2097152K, 1% used [0x0000000700000000,0x0000000701910368,0x0000000780000000)
 Metaspace       used 31027K, capacity 31874K, committed 32000K, reserved 1075200K
  class space    used 5563K, capacity 5616K, committed 5632K, reserved 1048576K
}
Event: 22.927 GC heap before
{Heap before GC invocations=4 (full 1):
 PSYoungGen      total 917504K, used 842385K [0x0000000780000000, 0x00000007c0000000, 0x00000007c0000000)
  eden space 786432K, 100% used [0x0000000780000000,0x00000007b0000000,0x00000007b0000000)
  from space 131072K, 42% used [0x00000007b8000000,0x00000007bb6a45c8,0x00000007c0000000)
  to   space 131072K, 0% used [0x00000007b0000000,0x00000007b0000000,0x00000007b8000000)
 ParOldGen       total 2097152K, used 25664K [0x0000000700000000, 0x0000000780000000, 0x0000000780000000)
  object space 2097152K, 1% used [0x0000000700000000,0x0000000701910368,0x0000000780000000)
 Metaspace       used 33396K, capacity 34210K, committed 34560K, reserved 1077248K
  class space    used 6042K, capacity 6096K, committed 6144K, reserved 1048576K
Event: 23.034 GC heap after
Heap after GC invocations=4 (full 1):
 PSYoungGen      total 917504K, used 80572K [0x0000000780000000, 0x00000007c0000000, 0x00000007c0000000)
  eden space 786432K, 0% used [0x0000000780000000,0x0000000780000000,0x00000007b0000000)
  from space 131072K, 61% used [0x00000007b0000000,0x00000007b4eaf1f0,0x00000007b8000000)
  to   space 131072K, 0% used [0x00000007b8000000,0x00000007b8000000,0x00000007c0000000)
 ParOldGen       total 2097152K, used 25672K [0x0000000700000000, 0x0000000780000000, 0x0000000780000000)
  object space 2097152K, 1% used [0x0000000700000000,0x0000000701912368,0x0000000780000000)
 Metaspace       used 33396K, capacity 34210K, committed 34560K, reserved 1077248K
  class space    used 6042K, capacity 6096K, committed 6144K, reserved 1048576K
}

Deoptimization events (10 events):
Event: 23.560 Thread 0x00007fe6d380f000 Uncommon trap: reason=bimorphic action=maybe_recompile pc=0x0000000112c6e66c method=scala.reflect.internal.Trees$class.itransform(Lscala/reflect/internal/SymbolTable;Lscala/reflect/api/Trees$Transformer;Lscala/reflect/internal/Trees$Tree;)Lscala/reflect/i
Event: 23.598 Thread 0x00007fe6d380f000 Uncommon trap: reason=bimorphic action=maybe_recompile pc=0x0000000112ad1c1c method=scala.reflect.api.Trees$Transformer$$anonfun$transformCaseDefs$1.apply(Lscala/reflect/api/Trees$TreeApi;)Lscala/reflect/api/Trees$TreeApi; @ 5
Event: 23.648 Thread 0x00007fe6d380f000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00000001125c4db8 method=scala.collection.TraversableOnce$$anonfun$foldLeft$1.apply(Ljava/lang/Object;)V @ 16
Event: 23.649 Thread 0x00007fe6d380f000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00000001125c4db8 method=scala.collection.TraversableOnce$$anonfun$foldLeft$1.apply(Ljava/lang/Object;)V @ 16
Event: 23.649 Thread 0x00007fe6d380f000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00000001125c4db8 method=scala.collection.TraversableOnce$$anonfun$foldLeft$1.apply(Ljava/lang/Object;)V @ 16
Event: 23.689 Thread 0x00007fe6d380f000 Uncommon trap: reason=null_check action=make_not_entrant pc=0x000000011165c7dc method=scala.runtime.BoxesRunTime.equals2(Ljava/lang/Object;Ljava/lang/Object;)Z @ 1
Event: 23.868 Thread 0x00007fe6d380f000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000112f65828 method=scala.collection.mutable.HashTable$class.removeEntry(Lscala/collection/mutable/HashTable;Ljava/lang/Object;)Lscala/collection/mutable/HashEntry; @ 165
Event: 23.876 Thread 0x00007fe6d380f000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000112f661b4 method=scala.collection.mutable.HashTable$class.removeEntry(Lscala/collection/mutable/HashTable;Ljava/lang/Object;)Lscala/collection/mutable/HashEntry; @ 56
Event: 23.889 Thread 0x00007fe6d380f000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000112f661b4 method=scala.collection.mutable.HashTable$class.removeEntry(Lscala/collection/mutable/HashTable;Ljava/lang/Object;)Lscala/collection/mutable/HashEntry; @ 56
Event: 23.922 Thread 0x00007fe6d380f000 Uncommon trap: reason=bimorphic action=maybe_recompile pc=0x0000000112842648 method=scala.reflect.internal.Types$Type.asSeenFrom(Lscala/reflect/internal/Types$Type;Lscala/reflect/internal/Symbols$Symbol;)Lscala/reflect/internal/Types$Type; @ 48

Internal exceptions (10 events):
Event: 23.664 Thread 0x00007fe6d380f000 Exception <a 'java/security/PrivilegedActionException'> (0x000000078228ee48) thrown at [/HUDSON/workspace/8-2-build-macosx-x86_64/jdk8/1418/hotspot/src/share/vm/prims/jvm.cpp, line 1248]
Event: 23.665 Thread 0x00007fe6d380f000 Exception <a 'java/security/PrivilegedActionException'> (0x000000078229b608) thrown at [/HUDSON/workspace/8-2-build-macosx-x86_64/jdk8/1418/hotspot/src/share/vm/prims/jvm.cpp, line 1248]
Event: 23.665 Thread 0x00007fe6d380f000 Exception <a 'java/security/PrivilegedActionException'> (0x00000007822a70b0) thrown at [/HUDSON/workspace/8-2-build-macosx-x86_64/jdk8/1418/hotspot/src/share/vm/prims/jvm.cpp, line 1248]
Event: 23.666 Thread 0x00007fe6d380f000 Exception <a 'java/security/PrivilegedActionException'> (0x00000007822b2ec8) thrown at [/HUDSON/workspace/8-2-build-macosx-x86_64/jdk8/1418/hotspot/src/share/vm/prims/jvm.cpp, line 1248]
Event: 23.666 Thread 0x00007fe6d380f000 Exception <a 'java/security/PrivilegedActionException'> (0x00000007822beeb0) thrown at [/HUDSON/workspace/8-2-build-macosx-x86_64/jdk8/1418/hotspot/src/share/vm/prims/jvm.cpp, line 1248]
Event: 23.666 Thread 0x00007fe6d380f000 Exception <a 'java/security/PrivilegedActionException'> (0x00000007822c9d50) thrown at [/HUDSON/workspace/8-2-build-macosx-x86_64/jdk8/1418/hotspot/src/share/vm/prims/jvm.cpp, line 1248]
Event: 23.667 Thread 0x00007fe6d380f000 Exception <a 'java/security/PrivilegedActionException'> (0x00000007822d54b8) thrown at [/HUDSON/workspace/8-2-build-macosx-x86_64/jdk8/1418/hotspot/src/share/vm/prims/jvm.cpp, line 1248]
Event: 23.689 Thread 0x00007fe6d380f000 Implicit null exception at 0x000000011165b392 to 0x000000011165c7c5
Event: 23.911 Thread 0x00007fe6d380f000 Exception <a 'java/security/PrivilegedActionException'> (0x00000007835ad058) thrown at [/HUDSON/workspace/8-2-build-macosx-x86_64/jdk8/1418/hotspot/src/share/vm/prims/jvm.cpp, line 1248]
Event: 23.919 Thread 0x00007fe6d380f000 Exception <a 'java/security/PrivilegedActionException'> (0x00000007836393a0) thrown at [/HUDSON/workspace/8-2-build-macosx-x86_64/jdk8/1418/hotspot/src/share/vm/prims/jvm.cpp, line 1248]

Events (10 events):
Event: 23.889 Thread 0x00007fe6d380f000 DEOPT UNPACKING pc=0x0000000110b57250 sp=0x000000010ebf4110 mode 2
Event: 23.911 loading class scala/reflect/internal/Constants$Constant$$anonfun$escape$1$1
Event: 23.911 loading class scala/reflect/internal/Constants$Constant$$anonfun$escape$1$1 done
Event: 23.919 loading class scala/tools/nsc/transform/patmat/Solving$CNF$$anonfun$distribute$1$1
Event: 23.919 loading class scala/tools/nsc/transform/patmat/Solving$CNF$$anonfun$distribute$1$1 done
Event: 23.922 Thread 0x00007fe6d380f000 Uncommon trap: trap_request=0xffffffc6 fr.pc=0x0000000112842648
Event: 23.922 Thread 0x00007fe6d380f000 DEOPT PACKING pc=0x0000000112842648 sp=0x000000010ebf4ab0
Event: 23.922 Thread 0x00007fe6d380f000 DEOPT UNPACKING pc=0x0000000110b57250 sp=0x000000010ebf4950 mode 2
Event: 23.926 Executing VM operation: ForceSafepoint
Event: 23.926 Executing VM operation: ForceSafepoint done


Dynamic libraries:
0x000000000adca000 /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x000000000adca000 /System/Library/Frameworks/Security.framework/Versions/A/Security
0x000000000adca000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x000000000adca000 /usr/lib/libz.1.dylib
0x000000000adca000 /usr/lib/libSystem.B.dylib
0x000000000adca000 /usr/lib/libobjc.A.dylib
0x000000000adca000 /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x000000000adca000 /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x000000000adca000 /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x000000000adca000 /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x000000000adca000 /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServices
0x000000000adca000 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x000000000adca000 /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x000000000adca000 /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore
0x000000000adca000 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x000000000adca000 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x000000000adca000 /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x000000000adca000 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x000000000adca000 /usr/lib/libauto.dylib
0x000000000adca000 /usr/lib/libicucore.A.dylib
0x000000000adca000 /usr/lib/libxml2.2.dylib
0x000000000adca000 /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x000000000adca000 /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x000000000adca000 /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x000000000adca000 /usr/lib/liblangid.dylib
0x000000000adca000 /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
0x000000000adca000 /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x000000000adca000 /usr/lib/libDiagnosticMessagesClient.dylib
0x000000000adca000 /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x000000000adca000 /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/PerformanceAnalysis
0x000000000adca000 /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalStorage
0x000000000adca000 /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x000000000adca000 /System/Library/PrivateFrameworks/Sharing.framework/Versions/A/Sharing
0x000000000adca000 /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x000000000adca000 /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
0x000000000adca000 /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x000000000adca000 /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
0x000000000adca000 /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x000000000adca000 /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x000000000adca000 /usr/lib/libCRFSuite.dylib
0x000000000adca000 /usr/lib/libc++.1.dylib
0x000000000adca000 /usr/lib/libc++abi.dylib
0x000000000adca000 /usr/lib/system/libcache.dylib
0x000000000adca000 /usr/lib/system/libcommonCrypto.dylib
0x000000000adca000 /usr/lib/system/libcompiler_rt.dylib
0x000000000adca000 /usr/lib/system/libcopyfile.dylib
0x000000000adca000 /usr/lib/system/libcorecrypto.dylib
0x000000000adca000 /usr/lib/system/libdispatch.dylib
0x000000000adca000 /usr/lib/system/libdyld.dylib
0x000000000adca000 /usr/lib/system/libkeymgr.dylib
0x000000000adca000 /usr/lib/system/liblaunch.dylib
0x000000000adca000 /usr/lib/system/libmacho.dylib
0x000000000adca000 /usr/lib/system/libquarantine.dylib
0x000000000adca000 /usr/lib/system/libremovefile.dylib
0x000000000adca000 /usr/lib/system/libsystem_asl.dylib
0x000000000adca000 /usr/lib/system/libsystem_blocks.dylib
0x000000000adca000 /usr/lib/system/libsystem_c.dylib
0x000000000adca000 /usr/lib/system/libsystem_configuration.dylib
0x000000000adca000 /usr/lib/system/libsystem_dnssd.dylib
0x000000000adca000 /usr/lib/system/libsystem_info.dylib
0x000000000adca000 /usr/lib/system/libsystem_kernel.dylib
0x000000000adca000 /usr/lib/system/libsystem_m.dylib
0x000000000adca000 /usr/lib/system/libsystem_malloc.dylib
0x000000000adca000 /usr/lib/system/libsystem_network.dylib
0x000000000adca000 /usr/lib/system/libsystem_notify.dylib
0x000000000adca000 /usr/lib/system/libsystem_platform.dylib
0x000000000adca000 /usr/lib/system/libsystem_pthread.dylib
0x000000000adca000 /usr/lib/system/libsystem_sandbox.dylib
0x000000000adca000 /usr/lib/system/libsystem_stats.dylib
0x000000000adca000 /usr/lib/system/libunc.dylib
0x000000000adca000 /usr/lib/system/libunwind.dylib
0x000000000adca000 /usr/lib/system/libxpc.dylib
0x000000000adca000 /usr/lib/libbsm.0.dylib
0x000000000adca000 /usr/lib/libsqlite3.dylib
0x000000000adca000 /usr/lib/libxar.1.dylib
0x000000000adca000 /usr/lib/libpam.2.dylib
0x000000000adca000 /usr/lib/libOpenScriptingUtil.dylib
0x000000000adca000 /usr/lib/libbz2.1.0.dylib
0x000000000adca000 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x000000000adca000 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x000000000adca000 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x000000000adca000 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x000000000adca000 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x000000000adca000 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x000000000adca000 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
0x000000000adca000 /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
0x000000000adca000 /usr/lib/system/libkxld.dylib
0x000000000adca000 /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
0x000000000adca000 /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
0x000000000adca000 /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
0x000000000adca000 /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement
0x000000000adca000 /usr/lib/libxslt.1.dylib
0x000000000adca000 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x000000000adca000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x000000000adca000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x000000000adca000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x000000000adca000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x000000000adca000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x000000000adca000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x000000000adca000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x000000000adca000 /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
0x000000000adca000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x000000000adca000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x000000000adca000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x000000000adca000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x000000000adca000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x000000000adca000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x000000000adca000 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x000000000adca000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib
0x000000000adca000 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib
0x000000000adca000 /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x000000000adca000 /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x000000000adca000 /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x000000000adca000 /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x000000000adca000 /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x000000000adca000 /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x000000000adca000 /usr/lib/libcups.2.dylib
0x000000000adca000 /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x000000000adca000 /System/Library/Frameworks/GSS.framework/Versions/A/GSS
0x000000000adca000 /usr/lib/libresolv.9.dylib
0x000000000adca000 /usr/lib/libiconv.2.dylib
0x000000000adca000 /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
0x000000000adca000 /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
0x000000000adca000 /usr/lib/libheimdal-asn1.dylib
0x000000000adca000 /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
0x000000000adca000 /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
0x000000000adca000 /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
0x000000000adca000 /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
0x000000000adca000 /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x000000000adca000 /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage.framework/Versions/A/CoreImage
0x000000000adca000 /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/ScalableUserInterface.framework/Versions/A/ScalableUserInterface
0x000000000adca000 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x000000000adca000 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
0x000000000adca000 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x000000000adca000 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
0x000000000adca000 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib
0x000000000adca000 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
0x000000000adca000 /System/Library/PrivateFrameworks/FaceCore.framework/Versions/A/FaceCore
0x000000000adca000 /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/CrashReporterSupport
0x000000000adca000 /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
0x000000000adca000 /System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/AppleFSCompression
0x000000000adca000 /System/Library/PrivateFrameworks/Ubiquity.framework/Versions/A/Ubiquity
0x000000000adca000 /System/Library/PrivateFrameworks/IconServices.framework/Versions/A/IconServices
0x000000000adca000 /System/Library/PrivateFrameworks/ChunkingLibrary.framework/Versions/A/ChunkingLibrary
0x000000000adca000 /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolication
0x000000000adca000 /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolication
0x000000000adca000 /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols
0x000000010fc00000 /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/jre/lib/server/libjvm.dylib
0x000000000adca000 /usr/lib/libstdc++.6.dylib
0x0000000110abd000 /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/jre/lib/libverify.dylib
0x0000000110acb000 /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/jre/lib/libjava.dylib
0x0000000110b07000 /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/jre/lib/libzip.dylib
0x000000012a178000 /System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/JavaRuntimeSupport
0x000000012a190000 /System/Library/Frameworks/JavaVM.framework/Versions/A/Frameworks/JavaNativeFoundation.framework/Versions/A/JavaNativeFoundation
0x000000012a1a5000 /System/Library/Frameworks/JavaVM.framework/Versions/A/JavaVM
0x000000000adca000 /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x000000012a1b2000 /System/Library/PrivateFrameworks/JavaLaunching.framework/Versions/A/JavaLaunching
0x000000000adca000 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x000000000adca000 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x000000000adca000 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x000000000adca000 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x000000000adca000 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0x000000000adca000 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
0x000000012aad1000 /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/jre/lib/libnet.dylib
0x000000012aae6000 /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/jre/lib/libnio.dylib

VM Arguments:
jvm_args: -Xms3G -Xmx3G -Xss1M -XX:MaxPermSize=192M -XX:+UseParallelGC
java_command: scala.tools.nsc.Main @/var/folders/0k/31jh6c293n31_tjkxmk90jjh0000gn/T/scalacfork7299446652986304036.tmp
java_class_path (initial): /Users/grek/scala/scala-master/build/locker/classes/library:/Users/grek/scala/scala-master/build/libs/classes/forkjoin:/usr/local/Cellar/ant/1.9.2/libexec/lib/ant.jar:/Users/grek/scala/scala-master/lib/extra/yjp.jar:/Users/grek/scala/scala-master/build/locker/classes/reflect:/Users/grek/scala/scala-master/build/locker/classes/compiler:/Users/grek/scala/scala-master/build/asm/classes
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home
PATH=/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/bin:/Library/Java/JavaVirtualMachines/1.6.0_65-b14-462.jdk/Contents/Home/bin:/Users/grek/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/MacGPG2/bin:/Users/grek/play-2.2.1:/Users/grek/scala/libscala/bin
SHELL=/bin/bash

Signal Handlers:
SIGSEGV: [libjvm.dylib+0x55ef8f], sa_mask[0]=0xfffefeff, sa_flags=0x00000043
SIGBUS: [libjvm.dylib+0x55ef8f], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGFPE: [libjvm.dylib+0x4424f2], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGPIPE: [libjvm.dylib+0x4424f2], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGXFSZ: [libjvm.dylib+0x4424f2], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGILL: [libjvm.dylib+0x4424f2], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGUSR1: SIG_DFL, sa_mask[0]=0x63807efb, sa_flags=0x00000000
SIGUSR2: [libjvm.dylib+0x442010], sa_mask[0]=0x00000004, sa_flags=0x00000042
SIGHUP: [libjvm.dylib+0x44039d], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGINT: [libjvm.dylib+0x44039d], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGTERM: [libjvm.dylib+0x44039d], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGQUIT: [libjvm.dylib+0x44039d], sa_mask[0]=0xfffefeff, sa_flags=0x00000042


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

OS:Bsduname:Darwin 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64
rlimit: STACK 8192k, CORE 0k, NPROC 709, NOFILE 10240, AS infinity
load average:2.27 2.05 2.23

CPU:total 8 (4 cores per cpu, 2 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, ht, tsc, tscinvbit

Memory: 4k page, physical 16777216k(2089632k free)

/proc/meminfo:


vm_info: Java HotSpot(TM) 64-Bit Server VM (25.0-b65) for bsd-amd64 JRE (1.8.0-ea-b123), built on Jan 10 2014 00:48:35 by "java_re" with gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)

time: Tue Jan 21 11:43:38 2014
elapsed time: 23 seconds


REPRODUCIBILITY :
This bug can be reproduced always.

CUSTOMER SUBMITTED WORKAROUND :
Disable JIT compilation of single method that causes the crash:

-XX:CompileCommand=exclude,scala/tools/nsc/transform/patmat/PatternMatching$OptimizingMatchTranslator,AnalysisBudget
Comments
Release team: Approved for fixing
27-01-2014

ILW=HHM=P1 Impact: Highly visible crash Likeliehood: Always Workaround: Disable autobox elimination using -XX:-EliminateAutoBox 8-justification: The real fix for this will take too long to implement for the release of JDK 8. Instead we should disable the autobox elimination optimization by default which causes this bug to not occur (make the workaround the fix for JDK 8). This optimization is new in JDK 8, and we can fix the bug and re-enable autobox elimination in 8u20. Risk: Low risk, disable an optimization that was added in JDK 8. Diff: http://cr.openjdk.java.net/~kvn/8032566/webrev/
27-01-2014

Nashorn octane run, several iterations. First line is with optimisation enabled, second is with it disabled. There are some regressions slightly outside the standard deviation, for example delta blue, but not by much. Navier stokes is faster with the optimisation disabled, but within the deviation. For 8, it seems that for Nashorn/Indy purposes we can leave the optimisation disabled, but I highly recommend it be reenabled and fixed for 8u20 as the remaining boxing turns into more and more of a measurable bottleneck as we generate byte code with less boxing. [java] [box2d] 116 ops/minute (18-257), warmup=7 [java] [box2d] 122 ops/minute (17-340), warmup=7 [java] [code-load] 387 ops/minute (270-501), warmup=186 [java] [code-load] 345 ops/minute (240-437), warmup=188 [java] [crypto] 1744 ops/minute (1602-1844), warmup=780 [java] [crypto] 1787 ops/minute (1559-1946), warmup=692 [java] [deltablue] 34238 ops/minute (29166-36012), warmup=3010 [java] [deltablue] 32938 ops/minute (28344-34961), warmup=3383 [java] [earley-boyer] 3027 ops/minute (2038-3303), warmup=520 [java] [earley-boyer] 2993 ops/minute (2339-3220), warmup=619 [java] [gbemu] 184 ops/minute (12-243), warmup=7 [java] [gbemu] 173 ops/minute (19-227), warmup=7 [java] [mandreel] 14 ops/minute (7-23), warmup=2 [java] [mandreel] 14 ops/minute (8-22), warmup=3 [java] [navier-stokes] 750 ops/minute (675-797), warmup=501 [java] [navier-stokes] 859 ops/minute (837-873), warmup=511 [java] [pdfjs] 281 ops/minute (52-373), warmup=18 [java] [pdfjs] 234 ops/minute (62-354), warmup=21 [java] [raytrace] 2354 ops/minute (1745-2633), warmup=455 [java] [raytrace] 2216 ops/minute (1963-2407), warmup=455 [java] [regexp] 241 ops/minute (182-308), warmup=118 [java] [regexp] 286 ops/minute (179-358), warmup=120 [java] [richards] 67082 ops/minute (59844-69264), warmup=39588 [java] [richards] 67300 ops/minute (64080-69420), warmup=37552 [java] [splay] 30849 ops/minute (27730-35604), warmup=25392 [java] [splay] 32332 ops/minute (29047-35460), warmup=21420 [java] [typescript] 5 ops/minute (2-8), warmup=1 [java] [typescript] 5 ops/minute (2-7), warmup=1
27-01-2014

-XX:-EliminateAutoBox introduces a tiny regression in HashMap.get(42) in single-threaded mode on JDK 8b124: 1 thread: Benchmark Mode Samples Mean Mean error Units o.s.AutoboxingBench.get_alreadyboxed_disabled avgt 25 13.556 0.219 ns/op o.s.AutoboxingBench.get_alreadyboxed_enabled avgt 25 13.538 0.178 ns/op o.s.AutoboxingBench.get_cached_disabled avgt 25 13.834 0.081 ns/op o.s.AutoboxingBench.get_cached_enabled avgt 25 13.601 0.153 ns/op o.s.AutoboxingBench.get_noncached_disabled avgt 25 14.868 0.153 ns/op o.s.AutoboxingBench.get_noncached_enabled avgt 25 14.910 0.140 ns/op o.s.AutoboxingBench.put_alreadyboxed_disabled avgt 25 39.735 2.848 ns/op o.s.AutoboxingBench.put_alreadyboxed_enabled avgt 25 39.429 3.162 ns/op o.s.AutoboxingBench.put_cached_disabled avgt 25 40.236 2.582 ns/op o.s.AutoboxingBench.put_cached_enabled avgt 25 40.439 2.708 ns/op o.s.AutoboxingBench.put_noncached_disabled avgt 25 57.605 2.900 ns/op o.s.AutoboxingBench.put_noncached_enabled avgt 25 54.777 6.614 ns/op 4 threads: Benchmark Mode Samples Mean Mean error Units o.s.AutoboxingBench.get_alreadyboxed_disabled avgt 50 7.224 0.049 ns/op o.s.AutoboxingBench.get_alreadyboxed_enabled avgt 50 7.214 0.056 ns/op o.s.AutoboxingBench.get_cached_disabled avgt 50 7.378 0.044 ns/op o.s.AutoboxingBench.get_cached_enabled avgt 50 6.949 0.028 ns/op o.s.AutoboxingBench.get_noncached_disabled avgt 50 7.853 0.024 ns/op o.s.AutoboxingBench.get_noncached_enabled avgt 50 7.868 0.040 ns/op o.s.AutoboxingBench.put_alreadyboxed_disabled avgt 50 19.803 0.683 ns/op o.s.AutoboxingBench.put_alreadyboxed_enabled avgt 50 20.543 1.672 ns/op o.s.AutoboxingBench.put_cached_disabled avgt 50 18.851 0.671 ns/op o.s.AutoboxingBench.put_cached_enabled avgt 50 18.511 0.802 ns/op o.s.AutoboxingBench.put_noncached_disabled avgt 50 23.605 0.072 ns/op o.s.AutoboxingBench.put_noncached_enabled avgt 50 23.597 0.088 ns/op
27-01-2014

In 8u20 we may try do delay ConvI2LNode::Value() optimization until IGVN phase to prevent early collapse of ConvI2L node but we normally don't do that.
27-01-2014

webrev to switch EliminateAutoBox flag off: http://cr.openjdk.java.net/~kvn/8032566/webrev/
27-01-2014

Actually the code at the beginning of ConvI2LNode::Ideal() which "WORSENS the type" prevents collapsing of ConvI2L (and sequentially Load node) in exactly such situation. But it is not triggered soon enough because with +EliminateAutoBox inlining of Integer::valueOf() (from which convI2L compes) is delayed until after first IGVN.optimize(). Currently I would suggest to switch off EliminateAutoBox in jdk8 release and work on solution for 8u20.
25-01-2014

Note: the compare ((i + 128) < 256) in my example in previous comments is unsigned. I verified that all involved optimizations are valid separately but together they produce incorrect graph. Next change seems fixed the problem but it may affect general performance. So I need to think more about correct solution. src/share/vm/opto/connode.cpp Thu Jan 23 19:58:25 2014 -0800 @@ -922,7 +922,8 @@ Node* z = in(1); int op = z->Opcode(); - if (op == Op_AddI || op == Op_SubI) { + // Do optimization if it is the only user + if ((op == Op_AddI || op == Op_SubI) && (z->outcnt() == 1)) { Node* x = z->in(1); Node* y = z->in(2); assert (x != z && y != z, "dead loop in ConvI2LNode::Ideal");
24-01-2014

((i + 128) < 256) is not eliminated because int value's upper limit overflow (maxint + 128) < 0. Array load is eliminated because array size is 256 and i >= 256. So the address and load nodes were replaced by top node.
24-01-2014

Looks like the problem is old. EliminateAutoBox simplified the graph to trigger it. In the next case the load from IntegerCache.cache[] array will be eliminated but the check ((i + 128) < 256) is not. As result after merge object pointers points to allocation on one brench which is skipped during immediate dominators walking in build_loop_late_post(). Integer o; int i = maxint; if (x) { i = 256; } if ((i + 128) < 256) { o = IntegerCache.cache[i]; } else { o = new Integer(); }
24-01-2014

Workaround: -XX:-EliminateAutoBox
23-01-2014

Finally after couple hours trying (proxies!!!) to download Scala components I was able to reproduce it and replay it using ReplayCompiles with our latest debug VM: # Internal Error (src/share/vm/opto/loopnode.cpp:3513), pid=8150, tid=47 # assert(false) failed: Bad graph detected in build_loop_late # # JRE version: Java(TM) SE Runtime Environment (8.0-b125) (build 1.8.0-ea-fastdebug-b125) # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.0-b62-internal-debug mixed mode solaris-amd64 compressed oops) Start debugging it.
23-01-2014

Additional update from Scala submitter : grzegorz.kossakowski@gmail.com It does work as expected with -Xint. However, -server flag doesn't help. I get the same crashes.
23-01-2014

$ git clone https://github.com/gkossakowski/scala.git $ cd scala $ git checkout 008694f552719695756e33d5855e07add0735a34 $ export ANT_OPTS="-Xms3G -Xmx3G -Xss1M -XX:MaxPermSize=192M -XX:+UseParallelGC" $ ant
23-01-2014

Igor, can you write down here steps how to reproduce it? Thanks!
23-01-2014

This is an update from Scala submitter : grzegorz.kossakowski@gmail.com Actually, b124 regressed further when it comes to JIT crashes. My previous work-around to disable JIT compilation for just one method doesn't help much because it crashes on some other method. I tried to exclude more methods but after excluding 4 different methods I ran out of steam. Therefore, I can't build Scala on b124 anymore.
23-01-2014

Reproduced on Java HotSpot(TM) 64-Bit Server VM (25.0-b66-fastdebug) for solaris-amd64 JRE (1.8.0-ea-b125)
23-01-2014

Bad graph detected in build_loop_late n: 1137 EncodeP === _ 1071 [[ 1136 ]] #narrowoop: java/lang/Integer:NotNull:exact * early(n): 1068 Proj === 1067 [[ 991 1071 ]] #0 !orig=[1126] n->in(1): 1071 CheckCastPP === 1068 1066 [[ 1137 ]] #java/lang/Integer:NotNull:exact * Oop:java/lang/Integer:NotNull:exact * !orig=995 early(n->in(1)): 1068 Proj === 1067 [[ 991 1071 ]] #0 !orig=[1126] n->in(1)->in(1): 1066 Proj === 1054 [[ 1067 1071 1152 ]] #5 early(n->in(1)->in(1)): 1054 Allocate === 1015 674 675 8 1 ( 249 814 23 1 1 10 10 10 98 51 10 1 1 1 98 1 1 1 1 703 ) [[ 1055 1056 1057 1064 1065 1066 ]] rawptr:NotNull ( int:>=0, java/lang/Object:NotNull *, bool, top ) Integer::valueOf @ bci:23 BoxesRunTime::boxToInteger @ bci:1 Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply @ bci:4 Option::getOrElse @ bci:8 Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:59 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 LCA(n): 991 Region === 991 1014 1068 [[ 991 741 992 993 ]] n->out(0): 1136 Phi === 741 782 1137 [[ 1138 ]] #narrowoop: java/lang/Object * !orig=[786] !jvms: Option::getOrElse @ bci:20 Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:59 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 later(n->out(0)): 741 Region === 741 976 991 [[ 741 802 784 785 1136 ]] !jvms: Option::getOrElse @ bci:20 Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:59 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 n->out(0)->out(0): 1138 DecodeN === _ 1136 [[ 809 809 800 806 ]] #java/lang/Object * Oop:java/lang/Object * !orig=[786] !jvms: Option::getOrElse @ bci:20 Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:59 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 later(n->out(0)->out(0)): 741 Region === 741 976 991 [[ 741 802 784 785 1136 ]] !jvms: Option::getOrElse @ bci:20 Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:59 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[0] 991 Region === 991 1014 1068 [[ 991 741 992 993 ]] idom[1] 1013 If === 700 1024 [[ 1014 1015 ]] P=0.809258, C=52495.000000 idom[2] 700 Region === 700 695 694 [[ 700 1013 703 ]] !orig=[1005] !jvms: Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply$mcI$sp @ bci:29 Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply @ bci:1 Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply @ bci:1 Option::getOrElse @ bci:8 Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:59 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[3] 693 If === 680 692 [[ 694 695 ]] P=0.900000, C=-1.000000 !jvms: Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply$mcI$sp @ bci:17 Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply @ bci:1 Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply @ bci:1 Option::getOrElse @ bci:8 Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:59 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[4] 680 CatchProj === 679 [[ 693 ]] #0@bci -1 !jvms: Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply$mcI$sp @ bci:14 Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply @ bci:1 Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply @ bci:1 Option::getOrElse @ bci:8 Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:59 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[5] 679 Catch === 673 674 [[ 680 681 ]] !jvms: Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply$mcI$sp @ bci:14 Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply @ bci:1 Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply @ bci:1 Option::getOrElse @ bci:8 Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:59 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[6] 673 Proj === 659 [[ 679 ]] #0 !jvms: Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply$mcI$sp @ bci:14 Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply @ bci:1 Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply @ bci:1 Option::getOrElse @ bci:8 Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:59 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[7] 659 CallStaticJava === 665 644 645 8 1 ( 672 311 1 10 10 10 98 51 10 1 1 1 98 1 1 1 1 1157 323 98 ) [[ 673 674 675 677 ]] # Static java.lang.String::equalsIgnoreCase bool ( java/lang/String:NotNull:exact *, java/lang/String:exact * ) Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply$mcI$sp @ bci:14 Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply @ bci:1 Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply @ bci:1 Option::getOrElse @ bci:8 Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:59 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 !jvms: Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply$mcI$sp @ bci:14 Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply @ bci:1 Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply @ bci:1 Option::getOrElse @ bci:8 Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:59 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[8] 665 IfTrue === 664 [[ 659 672 ]] #1 !jvms: Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply$mcI$sp @ bci:14 Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply @ bci:1 Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply @ bci:1 Option::getOrElse @ bci:8 Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:59 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[9] 664 If === 650 661 [[ 665 666 ]] P=0.999999, C=-1.000000 !jvms: Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply$mcI$sp @ bci:14 Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply @ bci:1 Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply @ bci:1 Option::getOrElse @ bci:8 Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:59 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[10] 650 CatchProj === 649 [[ 664 ]] #0@bci -1 !jvms: Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply$mcI$sp @ bci:7 Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply @ bci:1 Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply @ bci:1 Option::getOrElse @ bci:8 Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:59 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[11] 649 Catch === 643 644 [[ 650 651 ]] !jvms: Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply$mcI$sp @ bci:7 Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply @ bci:1 Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply @ bci:1 Option::getOrElse @ bci:8 Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:59 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[12] 643 Proj === 642 [[ 649 ]] #0 !jvms: Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply$mcI$sp @ bci:7 Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply @ bci:1 Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply @ bci:1 Option::getOrElse @ bci:8 Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:59 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[13] 642 CallDynamicJava === 578 343 493 8 1 ( 641 1 10 10 10 98 51 10 1 1 1 98 1 1 1 1 1156 323 98 ) [[ 643 644 645 647 ]] # Dynamic scala.sys.Prop::get java/lang/String:exact * ( scala/sys/Prop:NotNull * ) Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply$mcI$sp @ bci:7 Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply @ bci:1 Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply @ bci:1 Option::getOrElse @ bci:8 Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:59 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 !jvms: Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply$mcI$sp @ bci:7 Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply @ bci:1 Logic$PropositionalLogic$AnalysisBudget$$anonfun$1::apply @ bci:1 Option::getOrElse @ bci:8 Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:59 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[14] 578 IfTrue === 577 [[ 642 ]] #1 !orig=[628] !jvms: Option::getOrElse @ bci:4 Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:59 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[15] 577 If === 571 576 [[ 578 579 ]] P=0.656397, C=23402.000000 !jvms: Option::getOrElse @ bci:4 Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:59 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[16] 571 Region === 571 985 981 [[ 571 577 574 573 ]] !jvms: Option::getOrElse @ bci:-1 Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:59 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[17] 984 If === 507 983 [[ 985 986 ]] P=0.343615, C=-1.000000 !orig=[525] !jvms: Option::getOrElse @ bci:1 Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:59 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[18] 507 IfTrue === 506 [[ 984 515 ]] #1 !jvms: Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:59 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[19] 506 If === 492 503 [[ 507 508 ]] P=0.999999, C=-1.000000 !jvms: Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:59 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[20] 492 Proj === 491 [[ 506 ]] #0 !jvms: Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:-1 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[21] 491 MemBarRelease === 349 1 393 1 1 [[ 492 493 ]] !jvms: Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:-1 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[22] 349 CatchProj === 348 [[ 491 ]] #0@bci -1 !orig=[373],[382] !jvms: Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:45 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[23] 348 Catch === 342 343 [[ 349 350 ]] !jvms: Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:45 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[24] 342 Proj === 341 [[ 348 ]] #0 !jvms: Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:45 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[25] 341 CallDynamicJava === 292 220 329 8 1 ( 295 1 10 10 10 98 51 10 98 1 323 98 ) [[ 342 343 344 346 ]] # Dynamic scala.sys.Prop::option scala/Option * ( scala/sys/Prop:NotNull * ) Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:45 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 !jvms: Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:45 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[26] 292 Proj === 291 [[ 341 321 302 316 304 ]] #0 !jvms: CreatorImpl::apply @ bci:-1 Prop$::apply @ bci:11 Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:24 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[27] 291 MemBarRelease === 223 1 238 1 1 [[ 292 293 ]] !jvms: CreatorImpl::apply @ bci:-1 Prop$::apply @ bci:11 Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:24 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[28] 223 Proj === 222 [[ 291 226 252 ]] #0 !jvms: CreatorImpl::apply @ bci:0 Prop$::apply @ bci:11 Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:24 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[29] 222 Initialize === 214 1 225 1 1 221 246 [[ 223 224 ]] !jvms: CreatorImpl::apply @ bci:0 Prop$::apply @ bci:11 Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:24 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[30] 214 CatchProj === 213 [[ 222 246 ]] #0@bci -1 !jvms: CreatorImpl::apply @ bci:0 Prop$::apply @ bci:11 Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:24 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[31] 213 Catch === 210 212 [[ 214 215 ]] !jvms: CreatorImpl::apply @ bci:0 Prop$::apply @ bci:11 Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:24 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[32] 210 Proj === 209 [[ 213 ]] #0 !jvms: CreatorImpl::apply @ bci:0 Prop$::apply @ bci:11 Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:24 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[33] 209 Allocate === 95 92 203 8 1 ( 207 206 23 1 1 10 10 10 98 51 10 98 1 1 98 1 1 1 163 161 ) [[ 210 211 212 219 220 221 ]] rawptr:NotNull ( int:>=0, java/lang/Object:NotNull *, bool, top ) CreatorImpl::apply @ bci:0 Prop$::apply @ bci:11 Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:24 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 !jvms: CreatorImpl::apply @ bci:0 Prop$::apply @ bci:11 Logic$PropositionalLogic$AnalysisBudget$::<init> @ bci:24 PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:17 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[34] 95 Proj === 94 [[ 209 98 ]] #0 !jvms: PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:12 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[35] 94 Initialize === 86 1 97 1 1 93 125 [[ 95 96 ]] !jvms: PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:12 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[36] 86 CatchProj === 85 [[ 94 125 ]] #0@bci -1 !jvms: PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:12 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[37] 85 Catch === 82 84 [[ 86 87 ]] !jvms: PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:12 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[38] 82 Proj === 81 [[ 85 ]] #0 !jvms: PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:12 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[39] 81 Allocate === 76 6 66 8 1 ( 79 78 23 1 1 10 10 10 51 10 ) [[ 82 83 84 91 92 93 ]] rawptr:NotNull ( int:>=0, java/lang/Object:NotNull *, bool, top ) PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:12 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 !jvms: PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:12 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[40] 76 IfFalse === 70 [[ 81 ]] #0 !jvms: PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:8 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[41] 70 If === 65 69 [[ 73 76 ]] P=0.900000, C=-1.000000 !jvms: PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:8 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[42] 65 Proj === 64 [[ 70 ]] #0 !jvms: PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:5 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[43] 64 MemBarAcquire === 58 1 59 1 1 63 [[ 65 66 ]] !jvms: PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:5 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[44] 58 Proj === 57 [[ 64 ]] #0 !jvms: PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:3 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[45] 57 MemBarAcquireLock === 54 1 55 1 1 [[ 58 59 ]] !jvms: PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:3 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[46] 54 Proj === 53 [[ 57 ]] #0 !jvms: PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:3 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[47] 53 Lock === 39 1 29 8 1 ( 10 51 52 1 10 10 51 10 ) [[ 54 56 ]] void ( java/lang/Object:NotNull *, rawptr:BotPTR, bool ) PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:3 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 !jvms: PatternMatching$OptimizingMatchTranslator::AnalysisBudget$lzycompute @ bci:3 PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:8 idom[48] 39 IfFalse === 34 [[ 53 ]] #0 !jvms: PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:4 idom[49] 34 If === 28 33 [[ 37 39 ]] P=0.976888, C=57417.000000 !jvms: PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:4 idom[50] 28 Proj === 27 [[ 34 ]] #0 !jvms: PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:1 idom[51] 27 MemBarAcquire === 5 1 7 1 1 26 [[ 28 29 ]] !jvms: PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:1 idom[52] 5 Parm === 3 [[ 27 ]] Control !jvms: PatternMatching$OptimizingMatchTranslator::AnalysisBudget @ bci:-1
23-01-2014

reproduced on fastdebug build of jdk8b123: # # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (/tmp/workspace/8-2-build-solaris-amd64/jdk8/1418/hotspot/src/share/vm/opto/loopnode.cpp:3513), pid=26051, tid=9 # assert(false) failed: Bad graph detected in build_loop_late # # JRE version: Java(TM) SE Runtime Environment (8.0-b123) (build 1.8.0-ea-fastdebug-b123) # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.0-b65-fastdebug mixed mode solaris-amd64 compressed oops) # Core dump written. Default location: /var/tmp/8032566/scala/core or core.26051 # # 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 (0x0000000000728800): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=9, stack(0xffff80ffa2aff000,0xffff80ffa2bff000)] Stack: [0xffff80ffa2aff000,0xffff80ffa2bff000], sp=0xffff80ffa2bf42d0, free space=980k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0x28fac98] void VMError::report(outputStream*)+0x92c V [libjvm.so+0x28fc1d4] void VMError::report_and_die()+0x56c V [libjvm.so+0xfd5fd7] void report_vm_error(const char*,int,const char*,const char*)+0x55f V [libjvm.so+0x1ee1577] void PhaseIdealLoop::build_loop_late_post(Node*)+0x144f V [libjvm.so+0x1edfecf] void PhaseIdealLoop::build_loop_late(VectorSet&,Node_List&,Node_Stack&)+0x3d7 V [libjvm.so+0x1ed39b8] void PhaseIdealLoop::build_and_optimize(bool,bool)+0xde0 V [libjvm.so+0xe8e326] void Compile::Optimize()+0x105e V [libjvm.so+0xe81987] Compile::Compile(ciEnv*,C2Compiler*,ciMethod*,int,bool,bool,bool)+0x175f V [libjvm.so+0xc2f0c3] void C2Compiler::compile_method(ciEnv*,ciMethod*,int)+0x1b3 V [libjvm.so+0xeab93a] void CompileBroker::invoke_compiler_on_method(CompileTask*)+0x4ea V [libjvm.so+0xeaaed1] void CompileBroker::compiler_thread_loop()+0x3c5 V [libjvm.so+0x275dea9] void JavaThread::thread_main_inner()+0x521 V [libjvm.so+0x275d5bf] void JavaThread::run()+0x84f V [libjvm.so+0x22c4de2] java_start+0x1ce C [libc.so.1+0x121545] _thrp_setup+0xa5 C [libc.so.1+0x1217f0] _lwp_start+0x0 Current CompileTask: C2: 126686 15244 4 scala.tools.nsc.transform.patmat.PatternMatching$OptimizingMatchTranslator::AnalysisBudget (19 bytes)
23-01-2014

trying to reproduce it on 'Java HotSpot(TM) 64-Bit Server VM (25.0-b65-fastdebug) for solaris-amd64 JRE (1.8.0-ea-b123), built on Jan 10 2014 00:20:17 by "" with Sun Studio 12u1'
23-01-2014