Skip to content

Instantly share code, notes, and snippets.

@evanlucas
Created November 6, 2015 14:48
Show Gist options
  • Save evanlucas/ed3ac1d748362c6eba29 to your computer and use it in GitHub Desktop.
Save evanlucas/ed3ac1d748362c6eba29 to your computer and use it in GitHub Desktop.
Eager deoptimization at
t89
CheckMaps t2 [0x245b41a498b1] deopt
Checks whether value's hidden class matches expected value and deoptimizes if this is not the case.
Deoptimization at CheckMaps usually indicates that the code is polymorphic.
[deoptimizing (DEOPT eager): begin 0x3408a85e68a9 <JS Function parserOnHeadersComplete (SharedFunctionInfo 0xb19052e3e9)> (opt #61) @7, FP to SP delta: 96]
;;; deoptimize at 0_384: wrong map
reading input frame parserOnHeadersComplete => node=10, args=71, height=4; inputs:
0: 0x3408a85e68a9 ; (frame function) 0x3408a85e68a9 <JS Function parserOnHeadersComplete (SharedFunctionInfo 0xb19052e3e9)>
1: 0x6b5236792c9 ; rcx 0x6b5236792c9 <an HTTPParser with map 0x245b41a4a2a9>
2: 0x100000000 ; [fp + 80] 1
3: 0x100000000 ; [fp + 72] 1
4: 0x6b5236a1949 ; rax 0x6b5236a1949 <JS Array[2]>
5: 0x100000000 ; [fp + 56] 1
6: 0x35e753b7c381 ; rbx 0x35e753b7c381 <String[1]: />
7: 0x35e753b04139 ; [fp + 40] 0x35e753b04139 <undefined>
8: 0x35e753b04139 ; [fp + 32] 0x35e753b04139 <undefined>
9: 0x35e753b043c9 ; [fp + 24] 0x35e753b043c9 <false>
10: 0x35e753b04361 ; [fp + 16] 0x35e753b04361 <true>
11: 0x3408a85e2451 ; rdx 0x3408a85e2451 <FixedArray[19]>
12: 0x6b5236792c9 ; rcx 0x6b5236792c9 <an HTTPParser with map 0x245b41a4a2a9>
13: 0x35e753b04139 ; (literal 2) 0x35e753b04139 <undefined>
14: 0x35e753b04139 ; (literal 2) 0x35e753b04139 <undefined>
translating frame parserOnHeadersComplete => node=71, height=24
0x7fff5fbf6f20: [top + 128] <- 0x6b5236792c9 ; 0x6b5236792c9 <an HTTPParser with map 0x245b41a4a2a9> (input #1)
0x7fff5fbf6f18: [top + 120] <- 0x100000000 ; 1 (input #2)
0x7fff5fbf6f10: [top + 112] <- 0x100000000 ; 1 (input #3)
0x7fff5fbf6f08: [top + 104] <- 0x6b5236a1949 ; 0x6b5236a1949 <JS Array[2]> (input #4)
0x7fff5fbf6f00: [top + 96] <- 0x100000000 ; 1 (input #5)
0x7fff5fbf6ef8: [top + 88] <- 0x35e753b7c381 ; 0x35e753b7c381 <String[1]: /> (input #6)
0x7fff5fbf6ef0: [top + 80] <- 0x35e753b04139 ; 0x35e753b04139 <undefined> (input #7)
0x7fff5fbf6ee8: [top + 72] <- 0x35e753b04139 ; 0x35e753b04139 <undefined> (input #8)
0x7fff5fbf6ee0: [top + 64] <- 0x35e753b043c9 ; 0x35e753b043c9 <false> (input #9)
0x7fff5fbf6ed8: [top + 56] <- 0x35e753b04361 ; 0x35e753b04361 <true> (input #10)
0x7fff5fbf6ed0: [top + 48] <- 0x29e1d5b19f1d ; caller's pc
0x7fff5fbf6ec8: [top + 40] <- 0x7fff5fbf6f48 ; caller's fp
0x7fff5fbf6ec0: [top + 32] <- 0x3408a85e2451 ; context 0x3408a85e2451 <FixedArray[19]> (input #11)
0x7fff5fbf6eb8: [top + 24] <- 0x3408a85e68a9 ; function 0x3408a85e68a9 <JS Function parserOnHeadersComplete (SharedFunctionInfo 0xb19052e3e9)> (input #0)
0x7fff5fbf6eb0: [top + 16] <- 0x6b5236792c9 ; 0x6b5236792c9 <an HTTPParser with map 0x245b41a4a2a9> (input #12)
0x7fff5fbf6ea8: [top + 8] <- 0x35e753b04139 ; 0x35e753b04139 <undefined> (input #13)
0x7fff5fbf6ea0: [top + 0] <- 0x35e753b04139 ; 0x35e753b04139 <undefined> (input #14)
[deoptimizing (eager): end 0x3408a85e68a9 <JS Function parserOnHeadersComplete (SharedFunctionInfo 0xb19052e3e9)> @7 => node=71, pc=0x29e1d5c1d540, state=NO_REGISTERS, alignment=no padding, took 0.052 ms]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment