havenn has joined #jruby
_djbkd has quit [Remote host closed the connection]
havenwood has quit [Ping timeout: 272 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
calavera has joined #jruby
Hobogrammer has joined #jruby
subbu has quit [Ping timeout: 252 seconds]
colinsurprenant has joined #jruby
e_dub has joined #jruby
colinsurprenant has quit [Client Quit]
dinfuehr has joined #jruby
iamjarvo has joined #jruby
dinfuehr has quit [Ping timeout: 245 seconds]
iamjarvo has quit [Ping timeout: 256 seconds]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:bd795b2 by Chris Seaton): The build failed. (http://travis-ci.org/jruby/jruby/builds/53852306)
travis-ci has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton closed pull request #2680: [Truffle] Adding Array#repeated_permutations to array.rb (master...truffle_array_repeated_permutations) http://git.io/puQ7
JRubyGithub has left #jruby [#jruby]
mitchellhenke has joined #jruby
tenderlove has quit [Quit: Leaving...]
camlow325 has quit [Remote host closed the connection]
robbyoconnor has quit [Ping timeout: 255 seconds]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
_djbkd has joined #jruby
mitchellhenke has joined #jruby
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #jruby
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
codefing_ has joined #jruby
x1337807x has joined #jruby
lance|afk is now known as lanceball
codefinger has quit [Ping timeout: 245 seconds]
codefinger has joined #jruby
codefing_ has quit [Read error: Connection reset by peer]
nirvdrum has joined #jruby
cpuguy83_ has quit [Quit: ZNC - http://znc.in]
mois3x has quit [Quit: mois3x]
AnxiousGarlic has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:68be707 by Kevin Menard): The build failed. (http://travis-ci.org/jruby/jruby/builds/53858343)
travis-ci has left #jruby [#jruby]
AnxiousGarlic has left #jruby [#jruby]
Aethenelle has joined #jruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
dinfuehr has joined #jruby
subbu has joined #jruby
dinfuehr has quit [Ping timeout: 250 seconds]
kfpratt has quit [Remote host closed the connection]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/pzFu
<JRubyGithub> jruby/master 8bfaa93 Kevin Menard: Revert "[Truffle] - Adds Random class"...
JRubyGithub has left #jruby [#jruby]
kfpratt has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 2 new commits to master: http://git.io/pzFj
<JRubyGithub> jruby/master 0ea625d Kevin Menard: [Truffle] Hard-code the Kernel#` return string to UTF-8 (instead of US-ASCII)....
<JRubyGithub> jruby/master 5791b43 Kevin Menard: [Truffle] Replaced our String#split with the one from Rubinius.
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 2 new commits to master: http://git.io/pzb8
<JRubyGithub> jruby/master 2fede29 Kevin Menard: [Truffle] Untagged passing String specs.
<JRubyGithub> jruby/master 6259dff Kevin Menard: Delegate to prevent some code duplication.
JRubyGithub has left #jruby [#jruby]
kfpratt has quit [Remote host closed the connection]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:dc71ebe by Thomas E. Enebo): The build failed. (http://travis-ci.org/jruby/jruby/builds/53859594)
travis-ci has left #jruby [#jruby]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/pzxK
<JRubyGithub> jruby/master 25a64b4 Kevin Menard: [Truffle] Pulled in String#center from Rubinius.
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/pzpa
<JRubyGithub> jruby/master 3d5ad3f Kevin Menard: [Truffle] Pulled in String#sum from Rubinius.
JRubyGithub has left #jruby [#jruby]
_djbkd has quit [Remote host closed the connection]
calavera has joined #jruby
Aethenelle has quit [Quit: Aethenelle]
calavera has quit [Client Quit]
bjfish2 has quit [Quit: bjfish2]
bjfish2 has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:8bfaa93 by Kevin Menard): The build was fixed. (http://travis-ci.org/jruby/jruby/builds/53889094)
travis-ci has left #jruby [#jruby]
dinfuehr has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:8bfaa93 by Kevin Menard): The build was fixed. (http://travis-ci.org/jruby/jruby/builds/53889094)
travis-ci has left #jruby [#jruby]
dinfuehr has quit [Ping timeout: 250 seconds]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:8bfaa93 by Kevin Menard): The build was fixed. (http://travis-ci.org/jruby/jruby/builds/53889094)
travis-ci has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish opened pull request #2681: [Truffle] Adding Array#combination to array.rb (master...truffle_array_combination) http://git.io/pgJ0
JRubyGithub has left #jruby [#jruby]
bjfish2 has quit [Quit: bjfish2]
zorak8 has quit [Ping timeout: 272 seconds]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:5791b43 by Kevin Menard): The build was fixed. (http://travis-ci.org/jruby/jruby/builds/53889300)
travis-ci has left #jruby [#jruby]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:5791b43 by Kevin Menard): The build was fixed. (http://travis-ci.org/jruby/jruby/builds/53889300)
travis-ci has left #jruby [#jruby]
maleghast has joined #jruby
zorak8 has joined #jruby
mistergibson has quit [Quit: Quitting ... be good to each other :)]
x1337807x has joined #jruby
calavera has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:8bfaa93 by Kevin Menard): The build was fixed. (http://travis-ci.org/jruby/jruby/builds/53889094)
travis-ci has left #jruby [#jruby]
dinfuehr has joined #jruby
dinfuehr has quit [Ping timeout: 252 seconds]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:5791b43 by Kevin Menard): The build was fixed. (http://travis-ci.org/jruby/jruby/builds/53889300)
travis-ci has left #jruby [#jruby]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:6259dff by Kevin Menard): The build was fixed. (http://travis-ci.org/jruby/jruby/builds/53889450)
travis-ci has left #jruby [#jruby]
subbu has quit [Ping timeout: 252 seconds]
codefinger has quit [Remote host closed the connection]
SynrG has quit [Ping timeout: 272 seconds]
iamjarvo has joined #jruby
SynrG has joined #jruby
SynrG has quit [Changing host]
SynrG has joined #jruby
nirvdrum has quit [Ping timeout: 246 seconds]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:25a64b4 by Kevin Menard): The build passed. (http://travis-ci.org/jruby/jruby/builds/53890547)
travis-ci has left #jruby [#jruby]
zorak8 has quit [Ping timeout: 256 seconds]
digitalextremist has joined #jruby
zorak8 has joined #jruby
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lanceball is now known as lance|afk
bbrowning has joined #jruby
bbrowning_away has quit [Ping timeout: 244 seconds]
dinfuehr has joined #jruby
dinfuehr has quit [Ping timeout: 245 seconds]
tlarevo has joined #jruby
tlarevo has quit [Remote host closed the connection]
tlarevo has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:3d5ad3f by Kevin Menard): The build passed. (http://travis-ci.org/jruby/jruby/builds/53890870)
travis-ci has left #jruby [#jruby]
het has quit [Ping timeout: 264 seconds]
het has joined #jruby
digitalextremist has quit [Ping timeout: 256 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has joined #jruby
havenn has quit [Remote host closed the connection]
havenwood has joined #jruby
dinfuehr has joined #jruby
dinfuehr has quit [Ping timeout: 264 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tlarevo has quit []
robbyoconnor has joined #jruby
tlarevo has joined #jruby
zorak8 has quit [Ping timeout: 240 seconds]
graphex has quit [Remote host closed the connection]
yfeldblum has quit [Remote host closed the connection]
JohnBat26 has joined #jruby
maleghast has quit [Read error: Connection reset by peer]
rsim has joined #jruby
pitr-ch has quit [Quit: Computer has gone to sleep.]
vtunka has joined #jruby
dumdedum has joined #jruby
rsim has quit [Quit: Leaving.]
dumdedum has quit [Ping timeout: 256 seconds]
rsim has joined #jruby
pitr-ch has joined #jruby
pitr-ch has quit [Client Quit]
rsim1 has joined #jruby
rsim has quit [Ping timeout: 265 seconds]
yfeldblum has joined #jruby
dumdedum has joined #jruby
yfeldblu_ has joined #jruby
yfeldblum has quit [Ping timeout: 240 seconds]
marr has joined #jruby
drbobbeaty has joined #jruby
elia has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
drbobbeaty has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tlarevo has quit [Ping timeout: 246 seconds]
tlarevo has joined #jruby
pitr-ch has joined #jruby
shellac has joined #jruby
vtunka has quit [Quit: Leaving]
havenwood has quit [Remote host closed the connection]
mister_solo has quit [Quit: So long, and thanks for all the fish!]
Specialist has joined #jruby
_elia has joined #jruby
elia has quit [Ping timeout: 244 seconds]
saga65 has joined #jruby
drbobbeaty has joined #jruby
vtunka has joined #jruby
robbyoconnor has quit [Ping timeout: 245 seconds]
yfeldblu_ has quit [Ping timeout: 265 seconds]
kwando has joined #jruby
iamjarvo has joined #jruby
nirvdrum has joined #jruby
bbrowning has quit [Quit: Leaving]
bbrowning has joined #jruby
nirvdrum has quit [Ping timeout: 272 seconds]
JohnBat26 has quit [Ping timeout: 250 seconds]
bjfish2 has joined #jruby
joast has quit [Ping timeout: 244 seconds]
nirvdrum has joined #jruby
codefinger has joined #jruby
<headius> good morning!
kares has joined #jruby
rsim1 has quit [Quit: Leaving.]
tcrawley-away is now known as tcrawley
<nirvdrum> Howdy.
joast has joined #jruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
viking has joined #jruby
Aethenelle has joined #jruby
lance|afk is now known as lanceball
nirvdrum has quit [Quit: Leaving]
travis-ci has joined #jruby
<travis-ci> kares/jruby (test-ji-array-1_7:d45a1c8 by kares): The build passed. (http://travis-ci.org/kares/jruby/builds/53940245)
travis-ci has left #jruby [#jruby]
iamjarvo has joined #jruby
cprice404 has quit [Remote host closed the connection]
cprice has joined #jruby
enebo has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] kares pushed 6 new commits to jruby-1_7: http://git.io/pa14
<JRubyGithub> jruby/jruby-1_7 142fce8 kares: simplify RubyBasicObject's "generic" toJava method internal (unwrap getValue once)
<JRubyGithub> jruby/jruby-1_7 3f4bb5f kares: tune ArrayProxy - allow indexing by Java Integer wrappers (inspired by #2658)...
<JRubyGithub> jruby/jruby-1_7 c4e0a68 kares: ArrayUtils cleanup + remove unnecessary cast
JRubyGithub has left #jruby [#jruby]
e_dub has quit [Quit: e_dub]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] kares closed issue #2658: Java integration should call toJava or to_int for array index and value http://git.io/pJL0
JRubyGithub has left #jruby [#jruby]
tlarevo has quit [Remote host closed the connection]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ahadding1 has quit [Ping timeout: 256 seconds]
JohnBat26 has joined #jruby
kfpratt has joined #jruby
mitchellhenke has joined #jruby
ahadding1 has joined #jruby
Aethenelle has quit [Ping timeout: 246 seconds]
Aethenelle_ has joined #jruby
aramisbear has joined #jruby
dumdedum has quit [Quit: foo]
subbu has joined #jruby
e_dub has joined #jruby
havenwood has joined #jruby
Aethenelle_ has quit [Quit: Aethenelle_]
iamjarvo has joined #jruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #jruby
nullsign has quit [Max SendQ exceeded]
nullsign has joined #jruby
nirvdrum has joined #jruby
nateberkopec has joined #jruby
mitchell_ has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo pushed 4 new commits to master: http://git.io/pV4U
<JRubyGithub> jruby/master 764bb85 Thomas E. Enebo: Encoding of Operands moved into Operands instead of using visitor
<JRubyGithub> jruby/master 60888bc Thomas E. Enebo: Moar encoding progress
<JRubyGithub> jruby/master 7d25b9e Thomas E. Enebo: Weird two missing return's...more coffee
JRubyGithub has left #jruby [#jruby]
mitchellhenke has quit [Ping timeout: 252 seconds]
Aethenelle has joined #jruby
havenn has joined #jruby
kares has quit [Ping timeout: 252 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] lucasallan opened pull request #2682: [Truffle] - Initial implementation of Ruby Random class. (master...random-class) http://git.io/pVVX
JRubyGithub has left #jruby [#jruby]
havenwood has quit [Ping timeout: 264 seconds]
lucasallan has joined #jruby
calavera has joined #jruby
vtunka has quit [Quit: Leaving]
camlow325 has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:5b12958 by Thomas E. Enebo): The build has errored. (http://travis-ci.org/jruby/jruby/builds/53957053)
travis-ci has left #jruby [#jruby]
digitalextremist has joined #jruby
codefinger has quit [Quit: Leaving...]
rsim has joined #jruby
elux has joined #jruby
lucasallan has quit [Remote host closed the connection]
mrbrdo has joined #jruby
<mrbrdo> headius: would you consider “Detected invalid array contents due to unsynchronized modifications with concurrent users” a bug without other info?
pitr-ch has quit [Quit: Computer has gone to sleep.]
<mrbrdo> I just got that, a quick search reveals an old bug but that was for an old version and supposed to be fixed
<headius> mrbrdo: that *should* indicate concurrent mutation of an array, but there have been a couple times it masked a real bug
<mrbrdo> I got it during running rspec, and trace comes from rspec mocks
<mrbrdo> but I am doing concurrent stuff. however I’ve never seen this before and I can’t reproduce it anymore
lucasallan has joined #jruby
<mrbrdo> it just happened once, all my specs failed with the same error
<mrbrdo> the trace ends at gems/rspec-mocks-2.14.4/lib/rspec/mocks/proxy.rb:120:in `clear'
mister_solo has joined #jruby
<mrbrdo> also from here actually gems/rspec-mocks-2.14.4/lib/rspec/mocks/proxy.rb:135:in `record_message_received’, which might be in a different thread
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:5b12958 by Thomas E. Enebo): The build has errored. (http://travis-ci.org/jruby/jruby/builds/53957053)
travis-ci has left #jruby [#jruby]
<mrbrdo> could be some obscure race condition because of my own code..
DomKM has joined #jruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iamjarvo has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 2 new commits to master: http://git.io/pVjK
<JRubyGithub> jruby/master 9a5a1ec Charles Oliver Nutter: Fix jrubyc booting and get --java support working again....
<JRubyGithub> jruby/master ca14416 Charles Oliver Nutter: It appears getLexicalScopes can return null now.
JRubyGithub has left #jruby [#jruby]
mrbrdo has quit [Quit: mrbrdo]
<headius> oops, he left
iamjarvo has quit [Client Quit]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 1 new commit to master: http://git.io/pwvf
<JRubyGithub> jruby/master f116569 Charles Oliver Nutter: Revert "It appears getLexicalScopes can return null now."...
JRubyGithub has left #jruby [#jruby]
mitchell_ has quit [Remote host closed the connection]
mitchellhenke has joined #jruby
lucasallan has quit [Remote host closed the connection]
AckZ has quit [Ping timeout: 265 seconds]
Scorchin has quit [Ping timeout: 265 seconds]
zph has quit [Ping timeout: 265 seconds]
mjc_ has quit [Ping timeout: 265 seconds]
jc00ke has quit [Ping timeout: 265 seconds]
DomKM has quit [Ping timeout: 265 seconds]
halorgium has quit [Ping timeout: 265 seconds]
dfr|work has quit [Ping timeout: 265 seconds]
ahadding1 has quit [Ping timeout: 265 seconds]
Specialist has quit [Ping timeout: 265 seconds]
electrical has quit [Ping timeout: 265 seconds]
universa1 has quit [Ping timeout: 265 seconds]
universa1 has joined #jruby
halorgium has joined #jruby
Specialist has joined #jruby
dfr|work has joined #jruby
ahadding1 has joined #jruby
jc00ke has joined #jruby
DomKM has joined #jruby
Scorchin has joined #jruby
zph has joined #jruby
mjc_ has joined #jruby
zph has quit [Client Quit]
electrical has joined #jruby
AckZ has joined #jruby
aramisbear has quit [Quit: Leaving...]
lucasallan has joined #jruby
Specialist has quit [Remote host closed the connection]
mitchell_ has joined #jruby
mitchellhenke has quit [Ping timeout: 245 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 1 new commit to master: http://git.io/pwOA
<JRubyGithub> jruby/master 63fa292 Charles Oliver Nutter: Spec passes with @enebo's branch and this line removed....
JRubyGithub has left #jruby [#jruby]
<enebo> headius: eh?
<enebo> headius: Did I merge wrong this weekend?
<headius> enebo: no, it's some mkristian thing in one of his dist verifies
kares has joined #jruby
<enebo> headius: ok
<headius> probably some changes in what we load into $CLASSPATH that he didn't account for because it was busted for a couple weeks
<headius> I'm stepping back from jrubyc to see about the other red suites
<headius> two down
<enebo> ah cool
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:f116569 by Charles Oliver Nutter): The build was canceled. (http://travis-ci.org/jruby/jruby/builds/53965447)
travis-ci has left #jruby [#jruby]
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mje113__ has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 4 new commits to master: http://git.io/pwlM
<JRubyGithub> jruby/master 1537a15 Brandon Fish: [Truffle] Adding Array#combination to array.rb
<JRubyGithub> jruby/master a20fb48 Brandon Fish: [Truffle] Adding Array#fill to array.rb
<JRubyGithub> jruby/master 9d1c01b Brandon Fish: [Truffle] Adding Array#reverse! replacing Array#reverse shim.
JRubyGithub has left #jruby [#jruby]
<headius> subbu: did you get a chance to look into that LVA issue?
<headius> that's the last failure in test:mri:jit now
<subbu> headius, i thought i fixed the lva issue a week back .. https://github.com/jruby/jruby/commit/ed58d733733efdd836293f1068cb97e05fb4bcde
<headius> hmmm
<headius> I will look into this deeper then
<headius> perhaps it's another issue
<subbu> k
<subbu> that lva fix should have eliminated 2 of the failures (i think had mentioned test:mri:jit had 3 prior to that patch landing).
<headius> this is the test that fails: https://gist.github.com/headius/bff45c460ebe0893f07f
<headius> yeah, perhaps this is just the third one
baroquebobcat has joined #jruby
<headius> but seems like a similar case
mitchell_ is now known as mitchellhenke
bjfish2 has quit [Quit: bjfish2]
rsim has quit [Quit: Leaving.]
<headius> the true value set inside the thread doesn't appear to be reflected outside the thread
<headius> er, the false value... the flag
<headius> the subsequent code runs until the sleep 1 expires and then receives an exception
<subbu> could it be thread poll related?
<headius> I don't think so
<headius> the value just isn't updating
<headius> the thread poll fires exactly when I'd expect t to...but we shouldn't get to it in this code
camlow32_ has joined #jruby
camlow32_ has quit [Read error: Connection reset by peer]
<headius> this is why I was worried about the local variable optimization...after the closure, the flag could be updated at any time...so just unloading into a local it and using the local is not good enough
camlow32_ has joined #jruby
<headius> worried = last week when I saw this
calavera has joined #jruby
<headius> a simple case works fine though...hmm
<headius> $ jruby -e 'def foo; a = 0; pr = proc { a = 1 }; p a; pr.call; p a; end; foo'
<headius> 0
<headius> 1
x1337807x has joined #jruby
camlow325 has quit [Ping timeout: 244 seconds]
iamjarvo has joined #jruby
lucasallan has quit [Remote host closed the connection]
<subbu> headius, if you can dump the IR that JIT generates for those 2 scopes ... it would be easier to see what is going on.
<headius> yeah I'll try
<subbu> before the sleep 1 is hit, the tmp should get written back into the lvar slot in dynscope.
<subbu> so, that local var opt should be fine.
zph has joined #jruby
<headius> ok
<headius> it does appear to be using the binding
<headius> %t_flag_3 = binding_load(flag(0:1) ;scope: test_switch_while_busy_loop_CLOSURE_2)
<headius> BB [2:CL2_LBL_3:-1]
<headius> line_num(;n: 11)
<headius> BB [4:_LOOP_BEGIN_0:8]
<headius> b_false(CL2_LBL_0:14, %t_flag_3)
<headius> oh wait
<headius> I'm wrong
<headius> subbu: the binding load is only happening once
<headius> it's jumping back to b_false without loading the value again
camlow32_ has quit [Remote host closed the connection]
pglombardo has joined #jruby
bjfish2 has joined #jruby
<subbu> headius, ok .. that is a bug. will investigate later.
<subbu> load/store code is probably not being conservative enough there.
<headius> that's what I suspect
<headius> probably because there's no call?
<headius> asarih: I think I broke travis...nothing is scheduling now :-(
<headius> I tried to change that concurrent jobs thing earlier but it error...and then seemed to update
_djbkd has joined #jruby
<headius> so I changed it back to zero but nothing is scheduling
<asarih> 0 should be the default.
<headius> I just changed it to 9999 and I think it might be scheduling again
<asarih> looking
<enebo> lopex: if I have a string “UTF-8” how can I look this up using jcodings?
<subbu> headius, yes.
<headius> it wasn't scheduling with 5 or 0
<headius> I guess it could have just been delayed but it was a long delay with nothing at all running
pietr0 has joined #jruby
<asarih> maybe it's just queued up?
<headius> yeah could be
<headius> I guess we ignore it for now
<enebo> lopex: Perhaps I need to use EncodingService.loadEncoding(ByteList)
<headius> subbu: it should be possible to only load the value from binding if the binding has been captured too
<lopex> enebo: depends
<lopex> enebo: are you sure it's not an alias ?
<headius> probably via "t = load temp var; t = IRRuntimeHelpers.loadFromBindingIfEscaped(scope, variable, t)
camlow325 has joined #jruby
<enebo> lopex: I don’t think it can be but it maybe does not matter
<lopex> enebo: lower level EncodnigDB.getEncodings().get is also case insensitive hash
<enebo> lopex: I am saying a bytelist and asking Encoding.getName()
lucasallan has joined #jruby
<enebo> lopex: So getName represents real name or also could it be a class representing an alias?
<subbu> headius, in a meeting .. back here later.
<enebo> lopex: Ultimately, I do not want to save and lookup by name but I am willing to do this now because I thought it would be easier
<lopex> enebo: or findEncodingOrAliasEntry
<enebo> lopex: I might try EncodingDB since it is static and I know I will need to change this
<enebo> lopex: atm I just want things to load and I am not too concerned with weird encodings
<enebo> lopex: but I will wire in EncodingService into this long run and call through that
<enebo> lopex: life on the edge: return EncodingDB.getEncodings().get(decodeByteArray()).getEncoding();
<enebo> which worked!
<lopex> yeah, it will
<lopex> isnt alias aware though
<enebo> lopex: but can a live Encoding instances getName return an alias?
e_dub has quit [Quit: e_dub]
_elia has quit [Quit: Computer has gone to sleep.]
<lopex> live or alive ?
elia has joined #jruby
aramisbear has joined #jruby
saga65 has quit [Quit: (null)]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo pushed 1 new commit to master: http://git.io/pwSu
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> jruby/master b173aca Thomas E. Enebo: Encoding and Decoding now understand how to encode/decode byte[] and Encoding....
elia has quit [Client Quit]
<enebo> lopex: a live instance whihc is alive
<enebo> lopex: The difference does not differ for me I guess :) I just mean when I save encoding I am calling getName on an instance of an Encoding object
<enebo> lopex: So do aliases get their own instance of Encoding?
<lopex> enebo: aliases is a separate hash in encoding db
<enebo> lopex: ok so getName() will always be the non-alias name
<lopex> enebo: both hashes hold entries (which in turn lazily load encdings)
<enebo> lopex: which I think means I do not need to search aliases for persisting an encoding
<lopex> enebo: finding aliases requires iteration
<lopex> er
<lopex> wait
<lopex> aliases of a specific encoding ?
shellac has quit [Quit: Ex-Chat]
<enebo> haha
<enebo> lopex: I have a instance of a bytelist loaded in jruby and I want to write out it’s bytes with its encoding (and coderange)
<lopex> yeah, that would too
<enebo> lopex: The instance of Encoding in that bytelist will have a getName
<enebo> lopex: That getName will never return an aliased name
<enebo> lopex: That is the conclusion I got
kares has quit [Ping timeout: 264 seconds]
<lopex> yeah
<enebo> lopex: so if so I don’t care about aliases at all
<enebo> lopex: thanks!
<lopex> enebo: there's a huge bug in encoding lists btw
<enebo> lopex: Thanks for fixing it in advance
<enebo> :)
<enebo> lopex: I will buy you beers when we get together
<enebo> lopex: …in person
<enebo> lopex: If you are not the person in a picture I saw and instead is just a brain in a jar…I will pour the beer into your jar.
<lopex> I'm a hologram!
<enebo> lopex: like Max Headroom!
<subbu> headius, enebo .. the cfg output seems broken in https://gist.github.com/headius/a0d82efe727182ba6629 ... something with debugging output is broken there.
<headius> I can try to find an earlier phase
<subbu> headius, looking at that gist now .. it seems that treating thread-poll instruction as a data flow barrier will fix this problem.
<headius> dunno if that's helpful though
<headius> subbu: ahh, that's a good idea
<subbu> headius, no .. it is fine .. the fix is simple. i was just reporting a cfg debug output bug.
<headius> ok
<subbu> headius, yo should be able to fix this by changing flags in Operation.java
<headius> oh sure, makes sense
<subbu> i haven't looked at the code in AddLoad .. code yet .. depends on how that pass uses htose flags .. but iirc, tht pass should be using those flags.
<subbu> still in meeting .. just stealing away for a few mins when i had a break in my participation.
<enebo> subbu: which part of logging? The double labels?
<headius> subbu: I'll see if I can hack something
<subbu> enebo, look at the gist headius shared earlier .. the cfg bb ids doesn't seem to correspond with the instr output below.
<enebo> subbu: hmm off by one?
<enebo> BB1 is 0 so >[1, 10] is not wrong but off by one?
brightball has joined #jruby
<enebo> subbu: yeah I think the < and > lists just need to have +1 added to them
<enebo> subbu: Although I cannot fathom how long this has been broken
<enebo> subbu: perhaps when I changed us to using dirgra maybe?
pglombar_ has joined #jruby
<enebo> subbu: hmmm maybe more broken than just that
<subbu> enebo, ah off by 1 probably yes .. not sure when the output brok e.. but i have stared at cfgs in the past and all seemed okay then .. but maybe i haven't looked at cfgs for more than 6 months.
<enebo> subbu: one thing can you confirm for me
<enebo> BB9 (GEB) the in seems wrong with the +1 theory
colinsurprenant has joined #jruby
pglombardo has quit [Ping timeout: 245 seconds]
aramisbear has quit [Ping timeout: 240 seconds]
kares has joined #jruby
<headius> subbu: I have a fix, but unsure if it's right
<enebo> subbu: oh yeah thread_poll can raise. I think GEB is right. So bck to plus one I think.
<subbu> ok .. back here now for a bit.
<subbu> headius, ok .. that shoudl work .. verify if StoreLocal... needs it too.
<headius> I'll check
<subbu> enebo, ok .. glad it is just off-by-1 .. i would have been surprised if it had been anything else more than that :)
<enebo> subbu: yeah I have not looked yet but I would be surprised if this was a recent regression on logging too
pglombar_ has quit []
<enebo> subbu: for headius fix could this be a property of Operation?
x1337807_ has joined #jruby
<headius> subbu: a perf improvement for the explicit loads would be what I described above... have them take the current local value and check if binding *could* have updated before loading
x1337807x has quit [Ping timeout: 240 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish opened pull request #2683: Adding Array#product to array.rb (master...truffle_array_product) http://git.io/prUO
JRubyGithub has left #jruby [#jruby]
<headius> enebo: I thought the side effect flag would do it, but that seems to be used for other things
<enebo> headius: I think quite a few instrs are capable of side-effects yeah
<enebo> headius: with that said I am surprised it would not work
<enebo> headius: it is maybe way too conservative
<headius> it probably is
<enebo> headius: is thread poll the issue because it is raising?
<subbu> enebo, yes .. it would be too conservative .. i am distracted to look more closely at it.
<enebo> headius: a fairness thing?
<headius> enebo: it should not get to the raise
<headius> obviously there's timing concerns but 1s should be plenty for the flag to propagate
<subbu> while (lvar) {} <-- .. you need to load the lvar in the while-loop at least once per iter.
<headius> right
<subbu> and thread-poll is a good place to force it.
<enebo> oh I see
<headius> if it CAN be updated
<headius> but that's future improvement
<enebo> this is not about the instr and what it can do
<enebo> It is just a hint for insertion
<subbu> there are no guarantees about exactly when it should be loaded in the loop .. as long as it is done once per iteration.
<headius> and that sort of improvement will improve binding elimination too
<subbu> alright .. back into parsoid land for a while :)
<headius> btw guys, I ran into a number of other folks at VM Summit that have similar polling
<enebo> subbu: this seems like if the algo can not figure an exact location it should probably be at front end of loop
<subbu> but, glad this was just a simple fix.
havenn has quit [Remote host closed the connection]
<headius> got some advice from JDK folks on limiting impact
<enebo> headius: I removed it from lots of places the other week
lucasallan has quit [Remote host closed the connection]
baroquebobcat has quit [Ping timeout: 250 seconds]
<headius> also found out about a C/Fortran to Java compiler that actually works well
<enebo> headius: well from method prolgue/epilogue (not sure I remember)
<headius> enebo: cool
<enebo> headius: so we largely only do this in loops
<headius> yeah, we probably have it in too many places in Java code too
<subbu> enebo, i think we can continue to rely on presence of thread-poll to guarantee that it is loaded once per loop.
<enebo> subbu: yeah makes me think we should document this assumption somehow
<subbu> sounds reasonable .. even a test if one can be hacked up.
lucasallan has joined #jruby
<enebo> subbu: yeah..hmm :)
<enebo> headius: ok first file can be read in and crashes in interpreter
<headius> yay
<enebo> headius: which is fine. I think it is just that IRScope is a little warped and needs a little more setup
<headius> sure
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] beraboris opened issue #2684: JRuby automatically reaps child pids http://git.io/prnf
JRubyGithub has left #jruby [#jruby]
<enebo> yeah no staticScope :)
pitr-ch has joined #jruby
<headius> hmm, got some failures
<headius> confirming
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo pushed 1 new commit to master: http://git.io/prcL
<JRubyGithub> jruby/master 3617d05 Thomas E. Enebo: Add missing call instrs and re-order where result is read from
JRubyGithub has left #jruby [#jruby]
<headius> hmmm...passes in isolation
<headius> er wait, no it doesn't
<headius> bleh...it's the fix
<enebo> yay
<enebo> fixed it real good
<headius> weird
<headius> oh huh
<headius> it's a variable first declared after e closure
<headius> oops
<headius> subbu: heh, definitely did need the store logic too
<headius> otherwise the load was not seeing it update
<headius> we'll have to revisit this to mitigate the cost of loading and storing binding vars
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<subbu> headius, ok .. but, thread-poll is only once per iteration .. so, shouldn't be a big change from what it was.
<headius> ok
<subbu> it only affects vars that are read and that haven't already been loaded .. so in "normal" loop scenarios where there are calls in there .. the loads would ideally have already been added in.
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:4192682 by Chris Seaton): The build passed. (http://travis-ci.org/jruby/jruby/builds/53971860)
travis-ci has left #jruby [#jruby]
<headius> subbu: ok
<headius> so this is basically just adding the loads to backedge, but should optimizing those loads about like before
<headius> well with this fix, test:mri:jit should be green and we only have one suite left in expected failures
<headius> 8 failures in spec:profiler and they seem to be problems with json output
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:b173aca by Thomas E. Enebo): The build failed. (http://travis-ci.org/jruby/jruby/builds/53979392)
travis-ci has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 2 new commits to master: http://git.io/prgT
<JRubyGithub> jruby/master 440c956 Charles Oliver Nutter: IRB needs some tweaks to support running from classpath resources.
<JRubyGithub> jruby/master 09c29b8 Charles Oliver Nutter: Treat thread polls as variable visibility barriers....
JRubyGithub has left #jruby [#jruby]
<subbu> headius, ok .. we can look at opt-ing this further later on if we see opportunities.
lucasallan has quit []
<headius> subbu, enebo: I thought of an easy way to get blocks to JIT btw
<headius> if a block hits JIT threshold, walk up to its method parent and force that to JIT
<headius> plus logic in InterpretedIRBlockBody to look for the compiled body
<subbu> headius, but is there a reason why a block cannot jit just by itself?
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] subbuss pushed 1 new commit to master: http://git.io/prV0
<JRubyGithub> jruby/master 70432b8 Subramanya Sastry: Minor readability tweak to paranthesizing in if condition
JRubyGithub has left #jruby [#jruby]
<headius> subbu: currently, it's because the passes we run for JIT must be run all the way up to method scope
<subbu> not true any more.
<headius> if we don't run them then e.g. var load stores don't align
<headius> oh?
<enebo> yeah hypernugget changes
<headius> if that's the case then it would be even better
<enebo> HYPERNUGGET
<enebo> subbu: ^
<subbu> as in, at least shouldn't be .. all scopes should run passes independently.
e_dub has joined #jruby
<headius> well, nevermind then :-)
<subbu> headius, trust but verify ;)
<headius> indeed
<enebo> headius: yeah I was going to ask about emitting all closure scopes during method compile. I think we can probably mirror MixedModeMethod and use same infrastructure
<subbu> headius, hopefully you will find that it is indeed fixed and nothing is broken when you verify.
<enebo> subbu: we still walk all closures for use-def data
<enebo> subbu: oh and also scope flags
<enebo> subbu: I guess in both cases those are pretty neccesary
<subbu> that is fine .. that is just information. doesn't force code change on those other scopes.
<enebo> subbu: it is fine but it makes our lifecycle a little more complicated but it is needed so I will not complain about reality
<subbu> ok :)
<enebo> speaking of reality persistence is broken in an interesting way
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 1 new commit to master: http://git.io/pro0
<JRubyGithub> jruby/master f1eab90 Charles Oliver Nutter: Fix spec:profiler....
JRubyGithub has left #jruby [#jruby]
<enebo> it mucks with all the lifecycle work and simplest fix is 2 fields back on IRScope
e_dub has quit [Client Quit]
<headius> enebo: what fields?
<headius> all our suites are back in the passing column
e_dub has joined #jruby
<enebo> headius: offset to instrs and the live file they are in
<headius> amazing since I didn't actually fix AOT
<enebo> headius: I just saw a failure from one of my commits
<enebo> but it does not fail for me locally
<headius> enebo: I mean they will be green
<headius> or should be
<headius> I'm looking at your failure too
<headius> oh, that failure is the HOME thing
<enebo> headius: I tried running that test file with background=false threshold=0 in JIT + -X-C and it passes
tenderlove has joined #jruby
<headius> intermittent HOME getting cleared in rubyspec runs
<enebo> oh perhaps -1
<headius> for hwhatever reason
<headius> I have never figured out what's causing it
<enebo> headius: this is frozenliteral == nil
<enebo> but when I run locally it is “constant” and frozen?
<headius> oh I thought you were looking at the File specs getitng nils
<enebo> definitely not nil
<headius> hmm
<subbu> headius, so, all suites are now in green then?
<headius> subbu: yes
Hobogrammer has quit [Read error: Connection reset by peer]
<headius> we still need to add some other JIT suites but test:mri:jit is pretty extensive
Hobogrammer has joined #jruby
<headius> enebo: yeah weird
<headius> defined failures
subbu is now known as subbu|lunch
<headius> I don't understand the spec diff though
<headius> test diff whatever
<headius> [exec] diff:
<headius> [exec] ? "constant"
<headius> [exec] ? il
<headius> what's il?
<enebo> headius: I have done -X-C thresh:-1, -X-C thresh: 0+background:false, JIT thresh: 0+background:false
<headius> hmm
<enebo> Did I somehow commit a prnitln?
<enebo> that output makes no sense
<headius> oh nevermind about the diff
<enebo> This is the only commit which could have broken anything I did recently
<headius> hmm
<enebo> we never honored Operation.FROZEN_STRING before this point
<enebo> all FrozenStrings were marked as StringLiterla
<enebo> headius: It is possible I really enabled frozen string support and there is a bug in it
<headius> this does run inside maven but I wouldn't expect anything different
<headius> enebo: that is possible, yes
<enebo> headius: If I change it back to STRING_LITERAL it will probably run but what I have is correct
<enebo> headius: If that is the case then some code snippet is somehow storing nil into a frozen entry in the constant pool
<headius> I don't see how the frozen string logic would ever return nil
<headius> oh hell, maybe I do
<enebo> headius: but not this snippet which is retrieving what it thinkjs will be a string for it
<headius> hmm
<headius> I thought maybe weakref oddity but that doesn't seem likely either
Aethenelle has quit [Quit: Aethenelle]
Aethenelle has joined #jruby
lanceball is now known as lance|afk
<enebo> headius: you looking at freezeAndDedupString?
<headius> yeah
<headius> do you have indy on?
elia has joined #jruby
<enebo> headius: I have default flags
bjfish2 has quit [Ping timeout: 245 seconds]
<enebo> perhaps that job is enabling indy
<headius> hmm
<headius> it shouldn't be
<headius> anyway it seems ok with indy here too
<enebo> headius: one thing about this logic is it makes a RubyString to get a RubyString
<headius> yeah, the intent is that you cache it after that
<enebo> headius: which is fine for dedup but couldn’t we store bytelist and not construct that over and over?
<enebo> headius: ah
<headius> this is to get the frozen, deduped version of an abritrary string
<enebo> headius: yeah we are just missing the caching from the interp
<headius> all places that use this should cache
<enebo> headius: I see
<headius> hmm yeah ok
<headius> medium-high priority to fix that btw
<nirvdrum> What can you guys do differently with a frozen String?
<enebo> headius: yeah interpreter does not cache but probably not a big deal
<headius> since it will also dup every time right now
<enebo> headius: oh actually hahahahah
<headius> nirvdrum: we don't do anything special right now
<enebo> headius: I have been sitting watching rails console churn through objects when I am doing nothing and I am thinking wtf
<headius> indy logic in JIT will treat it as a constant though
<headius> enebo: ahh yes
<enebo> headius: there seems to be some loop which is probably hitting lots of frozen strings
<enebo> headius: It is still mysterious to me since we have to have some active thread since it is blocked at a prompt
<enebo> headius: but the churn is pretty noticeable
<enebo> headius: at least from jvisualvm
<headius> hmm
<headius> these defined results are already in a cache of their own
<headius> enebo: it would be very interesting to figure out what's doing that
<enebo> headius: IRRuntimeHelpers return them as single instances
<enebo> right?
<enebo> or something like that
temporal_ has quit [Quit: Textual IRC Client: www.textualapp.com]
x1337807_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<headius> heh
<headius> well it has FrozenString as an operand, which it uses to get a Java string, which it uses to get a frozen string out of the defined message hash
<enebo> oh yeah DefinedMessage
<headius> seems excessive :-D
<enebo> headius: consolidation may not be bad here :)
<nirvdrum> headius: Can you do that whenever a String is frozen, or does it need to be one of these frozen literals?
<enebo> headius: although this existed long before frozen string
<headius> nirvdrum: at the moment only a frozen literal
zeroecco has joined #jruby
<headius> I don't know how far indy manages to propagate that though
<headius> enebo: yeah thinking the same thing
<headius> I still don't see why it would be nil though
<enebo> headius: in truth we could possibly leverage frozenstring for the return value here and eliminate definedMessage altogether
<headius> yeah I think we can
x1337807x has joined #jruby
<enebo> headius: helper would return true/false and we would use frozen string operand “constant” if true
bjfish2 has joined #jruby
<headius> I don't think it's going to fix your issue though
<enebo> not sure that explicitness helps anything in IR
<headius> and I still have no explanation
<enebo> yeah me neither but it is the change of Operation for FrozenString which done broke it
<headius> hmm
<enebo> oh
<enebo> we double back these via bytelist and string
<enebo> could this somehow be using the string and not bytelist nd getting nil from null somehow?
<enebo> but if that was the case I would think I could see this failing trivially then
<headius> CR?
<headius> yeah we don't need the string
<enebo> none is 7bit
<headius> well yeah, but if this is an encoded frozen string it will be decoding to String wrong
<headius> none of these are multibyte strings though so I don't think that's the problem either
zeroecco has quit [Ping timeout: 256 seconds]
<headius> wait a second
<headius> this is all wrong
<headius> return IRRuntimeHelpers.isDefinedConstantOrMethod(context, (IRubyObject) arg1,
<headius> ((FrozenString) operands[1]).getString());
<headius> shouldn't that be passing a constant in, not the defined string?
<headius> I think this was a bad convert to FrozenString
<enebo> headius: heh well I don’t know…it may use a string
<enebo> headius: but that is a big problem
<enebo> sincegetString { return String };
<enebo> and I changed a constructor to use bytelist and not use string at all
<enebo> but that still does not explain why it can work in cases to me
<enebo> unless it is doing defined on ‘nil’
<headius> ok, operands[1] *is* the constant name
<enebo> but that code is broken regardless
<enebo> well I guess maybe not: stringTemp = Helpers.byteListToString(bytelist);
<enebo> omgz
<headius> enebo: lang differences on travis?
<headius> decoding it as EBCDIC or something?
<enebo> HAHAHA
<enebo> yeah I was going to ask which encoding you thought it could be :)
<headius> I need to mention EBCDIC at least once a year
<headius> enebo: I'd suspect your encoding tweaks at this point
<headius> like it's decoding the string in some wacky way
<enebo> well the CR + encodnig + bytelist can only be wrong if the incoming string is not ascii7bit compat
yfeldblum has joined #jruby
<enebo> headius: which should not be the case for a constant name in these tests nor in the constants we use like “constant"
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<headius> yeah I know
<enebo> I did not try full test:jruby so let me do the full run
<enebo> yeah trivially fucked up including the li
<enebo> err il
<headius> definitely weird
<enebo> /Users/enebo/work/jruby/bin/jruby -I"lib" -X-C -J-ea -J-cp
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian pushed 2 new commits to master: http://git.io/prbW
<JRubyGithub> jruby/master 1e7f6ff Christian Meier: adjust test expecations after using new psych gem
<JRubyGithub> jruby/master 4248adb Christian Meier: keep the original jar filename in temporary copy
JRubyGithub has left #jruby [#jruby]
<enebo> so fwiw we probably need to change some default options on all our tests
<enebo> this is in some cases promoting a full build async now
<headius> ew ByteList(RubyEncoding.encodeUTF8(str), UTF8Encoding.INSTANCE, false);
<headius> +n
<enebo> So some code is running with irbuild interp and others with full build interp
<headius> you might want to use that instead
<headius> for the String constructor
<headius> though I don't think the bytelist is getting hit
<headius> here
<enebo> headius: I copied this from what existed already
lance|afk is now known as lanceball
<headius> hmm
<enebo> headius: but really we should not be creating on string path IMHO
<enebo> headius: but we should be using defaultExternal perhaps if we don’t know?
<enebo> headius: or USASCII when we do
<headius> hmm yeah I guess it does do this in StringLiteral
<enebo> headius: in any case I can repro locally
<headius> ok
<enebo> headius: and I suspect you can too
<headius> probably :-)
<enebo> headius: but why does this cli do it when I cannot from my cli
<headius> show me the whole line
<headius> travis must be really backed up today
<enebo> headius: but this is just output from jrake test:jruby
<headius> if it fails consistently I really don't know
<enebo> yeah and I just changed threshold=-1
<enebo> still fails
<headius> ok
pglombardo has joined #jruby
<enebo> HOLY CRAPS
<enebo> -ea is hitting
<enebo> So this change is hitting an assertion but out testing code is not displaying it
<headius> huh
DrShoggoth has quit [Ping timeout: 264 seconds]
<headius> do you know what assertion?
<enebo> jruby -d -J-ea -X-C -Xjit.threshold=-1 -Xjit.background=false test/jruby/test_defined.rb
<enebo> no
<enebo> :)
<headius> wow
<headius> that's weird
<enebo> jruby -d -J-ea -X-C -Xjit.threshold=-1 -Xjit.background=false -e 'p defined?(::Object)'
<enebo> HAHA
<enebo> remove -ea now
<headius> only interp
<headius> jit seems ok
<enebo> So assert getting swallowed by interp and setting to nil
<headius> oh of course, because it's defined
<enebo> since it probably has a null check somewhere
<headius> so defined logic swallowing too much again
_djbkd has quit [Remote host closed the connection]
<enebo> yeah could very likely be it in a nutshell
<enebo> in this case I think I can catch in runtimehelpers
<headius> yeah that should work
<headius> I thought we narrowed defined's rescuing to just RaiseExceptions
calavera has joined #jruby
<headius> I guess it's just doing Exception, which would get all Java Throwable too
_djbkd has joined #jruby
<headius> MRI also appears to capture Exception, so I guess we're somewhat SOL there
<enebo> 2015-03-11T14:37:26.452-05:00: Interpreter: in : Script: file: -eSCRIPT_BODY -e[-e:0], caught Java throwable: java.lang.AssertionError: Object is not interned; excepting instr: %v_5 = runtime_helper(<Class:Object>, frozen:"Object" ;method: IS_DEFINED_CONSTANT_OR_METHOD)
<headius> enebo: nuking builds that we know will fail
<enebo> ok so this is my change because I stopped passing in an intern’d string but we continue to use String for this runtimehelperinstr
<headius> ah-ha ok
<enebo> I guess 2 things could get fixed but simplest is to just make our string maker in the constructor intern the string it makes
<headius> yeah I don't like that this uses FrozenString at all anyway
<enebo> headius: I will fix this to not use operands at all
<headius> I'd prefer if RuntimeHelperCall aggregated the string as-is
<headius> yeah that
<enebo> headius: at least not for all the hard-coded values
<enebo> the one in question uses frozen string for a name but that name is an identifier
<enebo> So it can also just be a string an not an operand
<enebo> these values can never really provide value as operands
<enebo> but I have have some errands to do this afternoon so I will just intern all created strings for the moment
<headius> ok
<headius> actually, can't you just call through the non-asserting path?
<headius> we've been getting rid of those anyway
<headius> hmm, job killing isn't working on travis
<headius> I guess we'll just wait
<headius> asarih: ^^
<enebo> headius: welll I am not sure where this assert even is?
<headius> I tried to kill https://travis-ci.org/jruby/jruby/builds/53986289 twice and it refuses
<enebo> headius: but I am happy I got the message
<asarih> what's happening?
<asarih> not cancelling?
<headius> RubyModule.fastIsConstantDefined I think
<headius> just use the non-fast
<asarih> hmm. eeenteresting.
<headius> asarih: yes
<headius> it worked for a build earlier today
<headius> so I dunno
<asarih> headius: we are having .com downtime. I'll take a look at this when things calm down.
<headius> ok, I figured something might be up because travis is really sluggish today
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo pushed 1 new commit to master: http://git.io/poI2
<JRubyGithub> jruby/master 9ac895a Thomas E. Enebo: Temporary workaround to my FrozenLiteral commit. -J-ea noticed these strings were being used in places where the strings are required to be intern'd. A followup fix will remove these uses of FrozenLiteral (and StringLiteral), but this will fix the ci errors.
JRubyGithub has left #jruby [#jruby]
<enebo> headius: I think that assertion is useful unless we stopped depending on idents to be interned?
<headius> enebo: I don't know if we depend on them
<headius> we've been removing that requirement other places
<enebo> headius: it might have caught a bug here? :)
<enebo> headius: It might not have
<headius> I don't think so
<headius> I don't think anything in the constant table actually requires the names to be interned anymore
<headius> it was a preopt to ensure hash had already been calculated
<enebo> headius: ok well I will fix IR side of this when I am back from errands
<headius> ok
<headius> maybe by then builds will have caught up and we'll be 100% green
<enebo> headius: it is kind of weird we are doing this tbh. I think I am responsible for it because I pushed for a while to have all arguments to an instr be operands
<enebo> headius: which logically makes sense and could simplify code but it drags on analysis and memory to box the planet
<headius> yeah definitely
<enebo> afk
subbu|lunch is now known as subbu
colinsurprenant has quit [Quit: colinsurprenant]
dinfuehr has joined #jruby
<lopex> numbers ?
<nirvdrum> lopex: And we're up to 248 contributors.
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<lopex> nirvdrum: jruby in general ?
<nirvdrum> Yeah.
<headius> woohoo
<nirvdrum> After a contentious debate "contributors" elsewhere, I've been checking it out periodically.
<nirvdrum> We're up a half dozen or so since the new year.
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<headius> seems like we're doing just fine
<nirvdrum> Two more and we'll hit 250.
skade has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:3617d05 by Thomas E. Enebo): The build was broken. (http://travis-ci.org/jruby/jruby/builds/53986289)
travis-ci has left #jruby [#jruby]
DrShoggoth has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:3617d05 by Thomas E. Enebo): The build was broken. (http://travis-ci.org/jruby/jruby/builds/53986289)
travis-ci has left #jruby [#jruby]
pietr0 has quit [Quit: pietr0]
pietr0 has joined #jruby
kares has quit [Ping timeout: 272 seconds]
mister_solo has quit [Ping timeout: 245 seconds]
x1337807x has joined #jruby
x1337807x has quit [Max SendQ exceeded]
x1337807x has joined #jruby
x1337807x has quit [Max SendQ exceeded]
x1337807x has joined #jruby
x1337807x has quit [Max SendQ exceeded]
x1337807x has joined #jruby
x1337807x has quit [Max SendQ exceeded]
x1337807x has joined #jruby
havenwood has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:3617d05 by Thomas E. Enebo): The build has errored. (http://travis-ci.org/jruby/jruby/builds/53986289)
travis-ci has left #jruby [#jruby]
tcrawley is now known as tcrawley-away
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #jruby
colinsurprenant has joined #jruby
dinfuehr has quit [Remote host closed the connection]
elux has left #jruby [#jruby]
<asarih> headius: yay. the build is finally cancelld.
<headius> yay
mister_solo has joined #jruby
<bjfish2> nirvdrum able to PR review ? https://github.com/jruby/jruby/pull/2683
<nirvdrum> bjfish2: Looking.
bbrowning is now known as bbrowning_away
<bjfish2> nirvdrum these sources haven’t been modified
<nirvdrum> I was looking at the Travis failure.
<nirvdrum> It seems it might be enebo's doing.
<nirvdrum> bjfish2: If you can ammend that one commit title to have the "[Truffle]" prefix, that'd be great. Just force push over your branch.
<nirvdrum> If you're not familiar with how to do that in git, I'll just merge it. It's not a huge deal.
<headius> nirvdrum: that's fixed in more recent builds
<nirvdrum> headius: Great. I'm not sure what Travis is doing sometimes.
<nirvdrum> And the UI seems to have changed overnight.
mister_solo has quit [Ping timeout: 246 seconds]
brightball has quit [Quit: Leaving...]
<bjfish2> nirvdrum commit message fixed
<nirvdrum> Merged. Thanks.
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 3 new commits to master: http://git.io/po5R
<JRubyGithub> jruby/master 66a2351 Brandon Fish: [Truffle] Adding Array#product to array.rb
<JRubyGithub> jruby/master b45b4fb Brandon Fish: [Truffle] Adding Array#repeated_combination to array.rb
<JRubyGithub> jruby/master cd382cf Kevin Menard: Merge pull request #2683 from bjfish/truffle_array_product...
JRubyGithub has left #jruby [#jruby]
colinsurprenant has quit [Quit: colinsurprenant]
e_dub has quit [Quit: e_dub]
colinsurprenant has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius created new_java_conversion (+1 new commit): http://git.io/poby
<JRubyGithub> jruby/new_java_conversion c8ea8bf Charles Oliver Nutter: Start prototyping user-definable Java<=>Ruby conversions.
JRubyGithub has left #jruby [#jruby]
<headius> heh
<headius> custom method selection and type conversion for JI
<headius> well, mostly the type stuff
<headius> selection just comes along for the ride
<nirvdrum> Interesting.
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish opened pull request #2685: [Truffle] Adding #to_int to Array#at paramters. (master...truffle_array_at) http://git.io/poxq
JRubyGithub has left #jruby [#jruby]
<nirvdrum> Although almost changing method signatures like that is bound to blow someone's foot off.
<headius> changing method signatures?
<headius> all this does is provide a way for Fixnum to convert to a Java String, and the method dispatch just picks that up
<headius> a la Scala implicit conversions...and probably similarly foot-shootable
<nirvdrum> Yeah. I just mean that call takes a String, you're giving it what looks like an int.
mitchellhenke has quit [Quit: Computer has gone to sleep.]
<headius> ahh sure
<headius> this is kinda a weird example :-)
<headius> more logical: register_converter Time, java.util.Calendar do ....
<nirvdrum> Right.
<headius> mostly to get people off my case about BigDecimal
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:9ac895a by Thomas E. Enebo): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/53997453)
travis-ci has left #jruby [#jruby]
<headius> hmmm
<headius> profiler spec failed, but passed here
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 1 new commit to new_java_conversion: http://git.io/pojC
<JRubyGithub> jruby/new_java_conversion ad37676 Charles Oliver Nutter: Typo.
JRubyGithub has left #jruby [#jruby]
pglombardo has quit [Ping timeout: 272 seconds]
Aethenelle has quit [Quit: Aethenelle]
_djbkd has quit [Remote host closed the connection]
lanceball is now known as lance|afk
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius deleted test-hypernugget at 7393f31: http://git.io/pKLC
JRubyGithub has left #jruby [#jruby]
<headius> subbu: I guess I should have asked you if you still needed that branch
<headius> enebo was done with it
<subbu> i don't.
<subbu> opt_startup branch can also be deleted.
<subbu> that was merged earlier.
_djbkd has joined #jruby
<headius> ok
<headius> thanks
<subbu> headius, enebo so, what are the remaining tasks for pre2?
dinfuehr has joined #jruby
<headius> well that's a good question
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius deleted opt_startup at dd12f21: http://git.io/pKtL
JRubyGithub has left #jruby [#jruby]
<headius> I probably should have jrubyc at least working to produce main()-able .class files
<enebo> AOT and refinements I think
<headius> but that's likely all
<subbu> aot is required for pre2?
_djbkd has quit [Remote host closed the connection]
<enebo> subbu: well no but we are very close
<headius> would like to have at least parity with 1.7
<subbu> k
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
<subbu> perf is good enough?
_djbkd has joined #jruby
<enebo> subbu: persist will be done tomorrow (knock on wood) and AOT just needs to be able to map bytes it stores into a .class format
<subbu> i see. ok.
<enebo> subbu: perf is so-so but we can improve it and it is pretty close
<enebo> for pre2
e_dub has joined #jruby
<enebo> refinements I have some sane bits from my work but no callsite for them nor hookup between non-existent callsite and instrs themselves
<enebo> anything which pops up we will have to cope with. I half expect android to pop up
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:cd382cf by Kevin Menard): The build failed. (http://travis-ci.org/jruby/jruby/builds/54010726)
travis-ci has left #jruby [#jruby]
e_dub has quit [Client Quit]
dinfuehr has quit [Ping timeout: 244 seconds]
<subbu> k
<headius> we fixed some big perf regressions after pre1
<headius> there will be more fixes after pre2
mister_solo has joined #jruby
<enebo> I think it would be a good goal to be feature complete for pre2 and then improve perf and memory over RC2 with anything which falls out
<enebo> oh actually destructive keywords is outstanding although I have a fix
viking has quit [Remote host closed the connection]
<enebo> I am just not sure I like it
<lopex> numbers!
<headius> enebo: what's that?
<headius> the **kwargs stuff?
<enebo> headius: if you pass a hash as kwargs and use after callsite it is missing all reqd kwargs
<headius> ahh right, that stuff
<headius> yick
<enebo> headius: my patch dup’s in one spot and passes to interp (and we could for JIT) but I don’t love that extra machinery calcing hash before method which then recalcs hash
<enebo> headius: I also like out of banding kwargs if we are going to do it before interp/jit body but I don’t want to do that now
<headius> yeah for sure
mister_solo has quit [Ping timeout: 246 seconds]
<headius> we have flexibility on out-of-band work after pre2
<enebo> headius: yeah so perhaps I do hash dup for pre2 and we revisit the whole arg processing thing
<enebo> headius: subbu: might be a good face-to-face when we get to that point
<subbu> sure.
<enebo> going to fire up the grill…yippee kai yay?
enebo has quit [Quit: enebo]
colinsurprenant has quit [Quit: colinsurprenant]
havenwood has quit [Remote host closed the connection]
<headius> oh bother, he left
<headius> subbu: I have a question
<headius> you may or may not be able to answer
<headius> maybe I don't
<subbu> ok :)
<headius> I assume the persistence has to be able to reconstitute StaticScope or it wouldn't be able to run
<subbu> i think so.
<headius> still debating just making AOT persist the IR into a .class file with a couple entry points to start up interpreter
havenwood has joined #jruby
colinsurprenant has joined #jruby
<subbu> i haven't kept up with changes in persistence and what enebo has been cooking up .. so, hard to answer that. but, i've been encouraging him to persist have formats that can persist the cfg as well so you can boot up without having to all that stuff online.
mister_solo has joined #jruby
<headius> subbu: yes indeed
<subbu> headius, but, i didn't understand your qn. however ... about your debate.
<headius> it's up for debate what format we'd want to save too
<headius> ahh well I mean rather than having AOT *actually* emit JVM bytecode, just emit a persisted IR and a main that can call interpreter against it
<headius> that will let it compile all code out there, still dynamically optimize at boot
<subbu> i see .. with persisted ir stored as data.
<headius> I mean dynamically optimize at runtime
<headius> right
<subbu> makes sense to me .. having spent 1 minute thinking about it.
<subbu> :)
<subbu> since you already have the JIT infra. to compile instrs to bytecode as needed.
<subbu> i guess one qn. that could inform that decision is .. what happens when we make changes to IR .. with bytecode, that has much lesser of an impact than with persisted IR.
<subbu> we've made tons and changes to IR format over the last couple years .. and we want to retain some flexibility in making changes to the IR format ...
<subbu> persistence / and aot reliance on that internal format needs to be able to deal with that ...
<subbu> with persistence, you could at least throw away the persisted IR and just rebuild since that is just a perf opt and you still have access to original source .. but not so with AOT ..
<subbu> so headius maybe I am starting to argue against what you were considering?
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 2 new commits to master: http://git.io/pKWk
<JRubyGithub> jruby/master e492774 Brandon Fish: [Truffle] Adding #to_int to Array#at paramters.
<JRubyGithub> jruby/master 06be1c0 Kevin Menard: Merge pull request #2685 from bjfish/truffle_array_at...
JRubyGithub has left #jruby [#jruby]
<headius> subbu: we've never had an ABI for precompiled code, though
<headius> you need to recompile it for the JRuby version you intend to run against
colinsurprenant has quit [Quit: colinsurprenant]
<headius> that has reduced AOT utility, but it wasn't particularly useful to begin with other than for obfuscation
<subbu> ok ..
<subbu> so, maybe it is not an issue then.
<headius> that particular issue isn't, anyway
mitchellhenke has joined #jruby
bjfish2 has quit [Quit: bjfish2]
nirvdrum has quit [Ping timeout: 246 seconds]
mje113__ has quit [Quit: Connection closed for inactivity]
mister_solo has quit [Ping timeout: 265 seconds]
Aethenelle has joined #jruby
<headius> heh, occurred to me that with the small amount of code in the JIT, the whole thing *could* be written in Ruby
<headius> I'm not sure I see value in that, but it would be easier than the old jit
<subbu> headius, rushing out now .. catch you later.
<headius> ok seeya
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:06be1c0 by Kevin Menard): The build has errored. (http://travis-ci.org/jruby/jruby/builds/54021150)
travis-ci has left #jruby [#jruby]
subbu has quit [Ping timeout: 240 seconds]
tcrawley-away is now known as tcrawley
rsim has joined #jruby
e_dub has joined #jruby
subbu has joined #jruby
Aethenelle has quit [Quit: Aethenelle]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
elia has quit [Quit: Computer has gone to sleep.]
mister_solo has joined #jruby
mitchellhenke has joined #jruby
e_dub has quit [Quit: e_dub]
colinsurprenant has joined #jruby
tcrawley is now known as tcrawley-away
mister_solo has quit [Ping timeout: 252 seconds]
colinsurprenant has quit [Quit: colinsurprenant]
pietr0 has quit [Quit: pietr0]