00:01:07  <petka__>does it say the deoptimization reason
00:02:06  <ashnur>sure, ;;; deoptimize at <0:15> check-maps: wrong map
00:02:42  <petka__>yeah I am having the same problem
00:02:55  <petka__>only I have a very stable and static object
00:03:04  <petka__>that never should change its map
00:03:05  <petka__>but it does
00:03:20  <ashnur>well, it might be that it just can not see it :D
00:03:43  <ashnur>for example, i was silly enough that i did things like var max = Math.max
00:04:06  <ashnur>and that also prevented optimizations becase it said it might have side effects
00:04:30  <petka__>yeah
00:04:50  <petka__>there is no optimization for free variables
00:05:19  <ashnur>free variables?
00:05:25  <ashnur>i am not familiar with the terminology
00:05:39  <petka__>non-local variables
00:05:45  <petka__>except global
00:05:52  <petka__>so like when you create a closure
00:05:59  <petka__>to close over some variables to reference them later
00:06:01  <petka__>they are free variables
00:06:35  <petka__>so use Math.max directly
00:07:09  <ashnur>i see
00:07:29  <ashnur>so using variables from different scopes (which are not the local scope) prevents optimizations
00:07:41  <ashnur>local & global
00:07:44  <petka__>well not per say
00:08:13  <petka__>it just has to assume that anyone can change what max is at any time
00:08:33  <petka__>even if you could already see at parsing stage that it couldn't be changed
00:09:00  <petka__>did you try with const max = Math.max
00:09:15  <ashnur>no
00:09:21  <ashnur>i can't use const
00:09:26  <petka__>oh
00:09:50  <ashnur>i mean, sure I could, but then it will not work in certain browsers
00:10:21  <ashnur>and before i switched to iojs, i think it wasn't working in node either
00:10:30  <ashnur>but that might be completely wrong, i haven't checked
00:10:39  <petka__>yea don't use const in older than io.js
00:14:49  <ashnur>another thing is, that i am writing a large typedarray(in fact, 2), and it seems that some of these writes are also giving these check-maps: wrong-map deopts
00:14:59  <ashnur>but i have to look more closer
00:15:10  <ashnur>i don't even know C, so this is a bit challenging :D
00:15:18  <petka__>are you adding properties to the typed arrays
00:16:23  * tunzjoined
00:17:15  <ashnur>no
00:17:31  <petka__>I also recall something about GC removing typed array map if there are no typed arrays remaining
00:17:42  <petka__>so after that when you create new typed array it will have new map
00:17:55  <petka__>and all the methods that expect old map will deoptimize
00:18:56  <ashnur>what i am afraid of is that it's my dynamic memory allocation which is screwing with me
00:20:22  <ashnur>i have it initialized for some size, but if I need more while running i create a new typed array, twice as large, and copy all data. it doesn't happen too often, but it might be that it prevents some optimizations
00:20:37  <ashnur>even though it's the same type
00:21:43  <ashnur>well, i will try to remove some of it and see if it helps
00:24:47  <ashnur>petka__: thanks for the help
00:40:40  * octetcloudquit (Ping timeout: 252 seconds)
00:59:46  * bobmcw_joined
01:02:03  * bobmcwquit (Ping timeout: 250 seconds)
01:18:44  * bnoordhuisquit (Ping timeout: 264 seconds)
01:28:01  * muelli_joined
01:31:13  * Muelliquit (Ping timeout: 245 seconds)
02:00:23  * juanjosanchezquit (Read error: Connection reset by peer)
02:01:06  * juanjosanchezjoined
02:18:56  * tunz_joined
02:22:27  * tunzquit (Ping timeout: 272 seconds)
02:24:23  * bnoordhuisjoined
02:28:52  * bnoordhuisquit (Ping timeout: 240 seconds)
03:07:03  * muelli_quit (Ping timeout: 256 seconds)
03:18:11  * juanjosanchezquit (Ping timeout: 252 seconds)
04:04:02  * caitp-joined
04:13:15  * chrisdickinson_changed nick to chrisdickinson
04:30:21  <trungl-bot`>Tree closed by buildbot@chromium.org: Tree is closed (Automatic: "Check" on http://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20isolates/builds/2104 "V8 Linux - isolates" from dbc026eecf89b475671b88a11415a88df8487a71: v8-autoroll@chromium.org)
05:03:41  * juanjosanchezjoined
05:04:32  <trungl-bot`>Tree opened by buildbot@chromium.org: Tree is open (Automatic: Ia manuia)
05:08:49  * juanjosanchezquit (Ping timeout: 264 seconds)
06:01:03  * jmar777_quit (Remote host closed the connection)
06:04:28  * juanjosanchezjoined
06:09:22  * juanjosanchezquit (Ping timeout: 240 seconds)
06:44:57  * chrisdickinsonquit (Excess Flood)
06:47:52  * chrisdickinsonjoined
07:08:05  * chrisdickinsonquit (Ping timeout: 252 seconds)
07:11:25  * chrisdickinsonjoined
07:42:39  * xiinotulpjoined
07:46:04  * plutoniixquit (Ping timeout: 245 seconds)
07:53:11  * xiinotulpchanged nick to plutoniix
07:53:14  * juanjosanchezjoined
07:58:01  * juanjosanchezquit (Ping timeout: 255 seconds)
08:33:17  * mostynbjoined
09:00:11  * Lethalmanjoined
09:33:13  <trungl-bot`>Tree opened by loislo@chromium.org: Tree is open (mips tests -> loislo)
09:39:00  * juanjosanchezjoined
09:43:51  * juanjosanchezquit (Ping timeout: 264 seconds)
09:56:27  * muelli_joined
09:57:02  * juanjosanchezjoined
10:04:12  * bnoordhuisjoined
10:05:58  * juanjosanchezquit (Quit: Ex-Chat)
10:07:46  * KillerJimjoined
10:09:45  * rmcilroyquit (Ping timeout: 272 seconds)
10:20:55  * rmcilroyjoined
10:39:23  * KillerJimquit (Quit: Leaving)
10:57:36  * muelli_quit (Ping timeout: 245 seconds)
11:10:23  * muelli_joined
11:35:54  * bnoordhuisquit (Ping timeout: 252 seconds)
12:08:10  * dpinojoined
12:17:41  * KillerJimjoined
12:54:26  * muelli_quit (Ping timeout: 265 seconds)
13:16:29  * caitp-quit (Ping timeout: 245 seconds)
13:22:49  <trungl-bot`>Tree opened by loislo@chromium.org: Tree is open
13:34:50  * bobmcw_changed nick to bobmcw
13:34:50  * bobmcwquit (Changing host)
13:34:50  * bobmcwjoined
13:48:54  * dpinoquit (Remote host closed the connection)
13:58:05  * tunz_quit (Remote host closed the connection)
14:49:32  * jmar777joined
14:50:08  * jmar777quit (Remote host closed the connection)
14:55:05  * jmar777joined
14:58:35  * tunzjoined
15:03:33  <trungl-bot`>Tree closed by buildbot@chromium.org: Tree is closed (Automatic: "Check" on http://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20isolates/builds/2118 "V8 Linux - isolates" from 2491a639bf46da4bfdcf65329305ee3053aa5fec: loislo@chromium.org,svenpanne@chromium.org)
15:03:43  * tunzquit (Ping timeout: 272 seconds)
15:07:34  <trungl-bot`>Tree opened by jkummerow@google.com: Tree is open (flake)
15:10:52  * KillerJimquit (Remote host closed the connection)
15:35:49  <trungl-bot`>Tree closed by buildbot@chromium.org: Tree is closed (Automatic: "Check" on http://build.chromium.org/p/client.v8/builders/V8%20Win32%20-%20nosnap%20-%20shared/builds/5065 "V8 Win32 - nosnap - shared" from 015e7865a09121dc0ceda9e88e026ebd3569538e: ulan@chromium.org)
15:36:11  * ashnurquit (Remote host closed the connection)
15:37:55  * ashnurjoined
16:00:01  * tunzjoined
16:05:09  * tunzquit (Ping timeout: 272 seconds)
16:14:08  * ashnurquit (Read error: Connection reset by peer)
16:15:48  * ashnurjoined
16:35:17  <trungl-bot`>Tree opened by dslomov@google.com: Tree is open (flake?)
16:45:40  * RT|Chatzillaquit (Quit: ChatZilla 0.9.86.1 [Firefox 2.0.0.22pre/2009081014])
16:48:12  * jmar777quit (Remote host closed the connection)
16:51:24  * jmar777joined
17:28:27  * octetcloudjoined
17:28:58  * bnoordhuisjoined
17:29:01  * caitp-joined
17:37:28  * ashnurquit (Read error: Connection reset by peer)
17:39:01  * ashnurjoined
17:43:09  * muellijoined
17:51:20  * mostynbquit (Quit: Leaving)
17:57:35  * Lethalmanquit (Quit: Sto andando via)
18:01:43  * tunzjoined
18:06:45  * tunzquit (Ping timeout: 272 seconds)
18:08:06  * muelliquit (Remote host closed the connection)
18:11:05  * rendarjoined
18:59:49  * AndreasMadsenjoined
19:32:39  * saurik_changed nick to saurik
20:02:17  * rendar_joined
20:03:09  * tunzjoined
20:05:48  * rendarquit (Ping timeout: 245 seconds)
20:07:43  * tunzquit (Ping timeout: 272 seconds)
20:11:12  * AndreasMadsenquit
20:38:01  * aperezdcquit (Ping timeout: 272 seconds)
21:00:58  * aperezdcjoined
21:17:12  * aperezdcquit (Quit: Lost terminal)
21:44:40  * jmar777quit (Remote host closed the connection)
21:53:22  * aperezdcjoined
22:04:31  * tunzjoined
22:09:19  * tunzquit (Ping timeout: 272 seconds)
22:31:14  * RT|Chatzillajoined
23:34:10  * rendar_quit