x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has joined #jruby
djbkd has quit [Quit: My people need me...]
camlow325 has quit []
yfeldblum has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mrmargolis has joined #jruby
temporalfox has quit [Ping timeout: 246 seconds]
x1337807x has joined #jruby
phlebas_ has joined #jruby
phlebas has quit [Ping timeout: 264 seconds]
dinfuehr has joined #jruby
tcrawley-away is now known as tcrawley
dinfuehr has quit [Ping timeout: 276 seconds]
_gautam_ has joined #jruby
_gautam_ has quit [Quit: Be back later ...]
iamjarvo has joined #jruby
tcrawley is now known as tcrawley-away
x1337807x has quit [Ping timeout: 255 seconds]
nateberkopec has quit [Quit: Leaving...]
imperator has joined #jruby
mrmargolis has quit [Remote host closed the connection]
dinfuehr has joined #jruby
dinfuehr has quit [Ping timeout: 264 seconds]
phlebas has joined #jruby
nirvdrum has quit [Ping timeout: 244 seconds]
phlebas_ has quit [Ping timeout: 252 seconds]
phlebas_ has joined #jruby
phlebas has quit [Ping timeout: 256 seconds]
deobalds has joined #jruby
_gautam_ has joined #jruby
bb010g has joined #jruby
yfeldblum has joined #jruby
e_dub has quit [Quit: Leaving]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dinfuehr has joined #jruby
iamjarvo has joined #jruby
e_dub has joined #jruby
dinfuehr has quit [Ping timeout: 265 seconds]
kfpratt has joined #jruby
kfpratt has quit [Remote host closed the connection]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yfeldblum has quit [Remote host closed the connection]
e_dub has quit [Quit: Leaving]
e_dub has joined #jruby
temporalfox has joined #jruby
dinfuehr has joined #jruby
skade has joined #jruby
dinfuehr has quit [Ping timeout: 272 seconds]
yfeldblum has joined #jruby
_gautam_ has quit [Quit: Lingo: www.lingoirc.com]
phlebas_ has quit [Ping timeout: 264 seconds]
jstemen_ has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
tarcieri has quit [Quit: leaving]
tarcieri has joined #jruby
jstemen has joined #jruby
jstemen_ has quit [Ping timeout: 246 seconds]
jstemen has quit [Ping timeout: 265 seconds]
dinfuehr has joined #jruby
dinfuehr has quit [Ping timeout: 256 seconds]
deobalds has quit [Quit: Computer has gone to sleep.]
dinfuehr has joined #jruby
yfeldblum has quit [Remote host closed the connection]
mike___1234 has joined #jruby
temporalfox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AnoHito_ has joined #jruby
AnoHito has quit [Ping timeout: 272 seconds]
imperator has quit [Quit: Valete!]
skade has joined #jruby
phlebas has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
yfeldblum has joined #jruby
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #jruby
yfeldblu_ has joined #jruby
yfeldblum has quit [Ping timeout: 245 seconds]
havenwood has quit [Ping timeout: 256 seconds]
cristianrasch has joined #jruby
skade has joined #jruby
skade has quit [Client Quit]
phlebas has quit [Ping timeout: 265 seconds]
sdogruyol has joined #jruby
vtunka has joined #jruby
marr has joined #jruby
sdogruyol has quit [Remote host closed the connection]
phlebas has joined #jruby
skade has joined #jruby
rejeep has joined #jruby
<rejeep> jruby-1.7.19 :006 > %i[]
<rejeep> Java::JavaLang::ClassCastException: org.jruby.ast.ZArrayNode cannot be cast to org.jruby.ast.ListNode
<rejeep> from org.jruby.parser.Ruby20Parser$180.execute(Ruby20Parser.java:2863)
<rejeep> from org.jruby.parser.Ruby20Parser.yyparse(Ruby20Parser.java:1575)
<rejeep> ...
<rejeep> Known bug?
<rejeep> echo $JRUBY_OPTS
<rejeep> --2.0
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #jruby
skade has quit [Client Quit]
sdogruyol has joined #jruby
dinfuehr has quit [Remote host closed the connection]
rejeep has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
mister_solo has joined #jruby
GitGud has joined #jruby
<GitGud> hi
<GitGud> does watir-webdriver come built in with JRuby?
marr has quit [Ping timeout: 264 seconds]
shellac has joined #jruby
drbobbeaty has joined #jruby
phlebas has quit [Ping timeout: 244 seconds]
skade has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon closed issue #3052: [Truffle] module_eval missing constant error http://git.io/vLLuw
JRubyGithub has left #jruby [#jruby]
yfeldblu_ has quit [Ping timeout: 265 seconds]
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sdogruyol has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #jruby
nirvdrum has joined #jruby
mister_solo has quit [Ping timeout: 265 seconds]
tcrawley-away is now known as tcrawley
bbrowning_away is now known as bbrowning
sdogruyol has joined #jruby
shellac has quit [Remote host closed the connection]
sdogruyol has quit [Ping timeout: 252 seconds]
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #jruby
cajone has joined #jruby
cajone has left #jruby [#jruby]
havenwood has joined #jruby
sdogruyol has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
cristianrasch has quit [Quit: Leaving.]
brightball has joined #jruby
<projectodd-ci> Project jruby-master-spec-ruby build #38: STILL FAILING in 1 hr 15 min: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ruby/38/
cristianrasch has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] rejeep opened issue #3060: Empty intern array (%i[]) does not work http://git.io/vLWCr
JRubyGithub has left #jruby [#jruby]
enebo has joined #jruby
<bbrowning> enebo: I think https://github.com/jruby/jruby/issues/3054 may be why jruby-master-spec-ruby is failing on the Process.spawn tests w/ heap space problems on CI
<enebo> bbrowning: oh is this recent. last night while bbq’ing I was trying to run specs and they eventually crapped out with OOM
<enebo> I was just going to see how I could be doing that this morning
<enebo> hmmm well I think I still added my own OOM
<enebo> I just stashed and I see the same issue
<bbrowning> there's an infinite loop in spawn impl though :)
<bbrowning> and it definitely chews up infinite memory, eventually
<enebo> bbrowning: yeah
<enebo> bbrowning: We can either spec or add the incr and hope for the best
<enebo> err tag spec
mister_solo has joined #jruby
<bbrowning> enebo: the loop actually makes no sense to me there anyway
<bbrowning> err wait maybe it does
<bbrowning> I dunno what this is really supposed to do
<bbrowning> but either way, it needs either no loop, to increment the loop counter, or to break out of the loop
mister_s_ has joined #jruby
<enebo> bbrowning: yeah I don’t know the behavior or what this should be doing entirely but it seems it should support n fd’s
mister_solo has quit [Ping timeout: 244 seconds]
<enebo> heh…I figured out my problem last night
<enebo> I think I was on 4.8Ghz wifi and my network was not working…there must be some specs which OOM if network is up but not working?
<enebo> my network was not working because my patio never seems to see the 4.8 spectrum
Guest11186 has joined #jruby
mrmargolis has joined #jruby
drbobbeaty has joined #jruby
Guest11186 is now known as marr
drbobbeaty has quit [Client Quit]
drbobbeaty has joined #jruby
drbobbeaty has quit [Client Quit]
sdogruyol has quit [Remote host closed the connection]
rsim has joined #jruby
drbobbeaty has joined #jruby
drbobbeaty has quit [Client Quit]
sdogruyol has joined #jruby
rsim1 has quit [Ping timeout: 265 seconds]
drbobbeaty has joined #jruby
qmx is now known as qmx|z
drbobbeaty has quit [Client Quit]
drbobbeaty has joined #jruby
<brightball> hey bbrowning, is there a good way to talk to the jRuby team about a consult on a project?
<bbrowning> brightball: I dunno - contact them here or send them an email, I guess?
<brightball> part of my job is maintaining a huge REE 1.8.7, Rails 2.3 legacy system with about 200,000 lines of code and I'd be really interested in getting some expert advice on switching it to jruby.
drbobbeaty has quit [Client Quit]
<brightball> bbrowning: are you on the team? for some reason I thought you were
<bbrowning> brightball: I contribute to jruby fairly often, but I'm not on the "jruby team" :)
<brightball> well then, what good are you :-)
drbobbeaty has joined #jruby
qmx|z is now known as qmx
drbobbeaty has quit [Client Quit]
skade has joined #jruby
drbobbeaty has joined #jruby
drbobbeaty has quit [Client Quit]
drbobbeaty has joined #jruby
drbobbeaty has quit [Client Quit]
drbobbeaty has joined #jruby
drbobbeaty has quit [Client Quit]
drbobbeaty has joined #jruby
drbobbeaty has quit [Client Quit]
sdogruyol has quit [Remote host closed the connection]
kfpratt has joined #jruby
iamjarvo has joined #jruby
drbobbeaty has joined #jruby
qmx is now known as qmx|z
drbobbeaty has quit [Client Quit]
qmx has joined #jruby
mje113 has joined #jruby
sdogruyol has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
drbobbeaty has joined #jruby
drbobbeaty has quit [Client Quit]
<bga57> brightball: If you also want to convert your Rails system to Torquebox, bbrowning's probably the guy for you.
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 1 new commit to master: http://git.io/vLWhP
<JRubyGithub> jruby/master 1e55229 Benoit Daloze: [Truffle] Introduce BooleanCastWithDefaultNode which cast and allow a default for NotProvided....
JRubyGithub has left #jruby [#jruby]
drbobbeaty has joined #jruby
mrmargolis has quit [Remote host closed the connection]
rsim has quit [Quit: Leaving.]
drbobbeaty has quit [Client Quit]
mrmargol_ has joined #jruby
cristianrasch has quit [Quit: Leaving.]
cristianrasch has joined #jruby
cristianrasch has quit [Read error: Connection reset by peer]
cristianrasch has joined #jruby
deobalds has joined #jruby
subbu has joined #jruby
mrmargol_ has quit [Remote host closed the connection]
mrmargolis has joined #jruby
qmx has left #jruby ["Leaving"]
<brightball> bga57: it was definitely on my radar
camlow325 has joined #jruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iamjarvo has joined #jruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #jruby
qmx|z has quit [Quit: ZNC - http://znc.in]
camlow32_ has joined #jruby
camlow32_ has quit [Remote host closed the connection]
camlow32_ has joined #jruby
mister_s_ has quit [Ping timeout: 276 seconds]
camlow32_ has quit [Read error: Connection reset by peer]
camlow325 has quit [Ping timeout: 244 seconds]
camlow325 has joined #jruby
kfpratt has quit [Remote host closed the connection]
mister_solo has joined #jruby
cristianrasch has quit [Read error: Connection reset by peer]
cristianrasch has joined #jruby
kfpratt has joined #jruby
sdogruyol has quit [Remote host closed the connection]
sdogruyol has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo closed issue #3060: Empty intern array (%i[]) does not work http://git.io/vLWCr
JRubyGithub has left #jruby [#jruby]
sdogruyol has quit [Remote host closed the connection]
rcvalle has joined #jruby
lanceball is now known as lance|afk
drbobbeaty has joined #jruby
drbobbeaty has quit [Client Quit]
sdogruyol has joined #jruby
drbobbeaty has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian pushed 2 new commits to jruby-1_7: http://git.io/vLlz0
<JRubyGithub> jruby/jruby-1_7 8d73196 Christian Meier: keep relative files as they are
<JRubyGithub> jruby/jruby-1_7 e2f2fd2 Christian Meier: no more filesystem path on j2ee_tomcat_rack integration test
JRubyGithub has left #jruby [#jruby]
sdogruyol has quit [Remote host closed the connection]
<projectodd-ci> Project jruby-master-spec-ruby build #39: STILL FAILING in 48 min: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ruby/39/
ddarkpassenger has joined #jruby
camlow325 has quit [Remote host closed the connection]
jstemen has joined #jruby
jstemen has quit [Client Quit]
sdogruyol has joined #jruby
camlow325 has joined #jruby
sdogruyol has quit [Remote host closed the connection]
mister_solo has quit [Ping timeout: 256 seconds]
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iamjarvo has quit [Quit: Textual IRC Client: www.textualapp.com]
ddarkpassenger has quit [Quit: Textual IRC Client: www.textualapp.com]
mrmargolis has quit [Remote host closed the connection]
mrmargolis has joined #jruby
drbobbeaty has joined #jruby
drbobbeaty has quit [Client Quit]
nateberkopec has joined #jruby
<enebo> heh…I broke truffle
<enebo> looks fairly obvious seeing the diff…I clearly did not understand what index was for :)
<enebo> fixed and verifying locally
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo pushed 1 new commit to master: http://git.io/vLl5M
<JRubyGithub> jruby/master ee9cc93 Thomas E. Enebo: Whoops. Poor translation when converting to primitive array. I misunderstood what index was for.
JRubyGithub has left #jruby [#jruby]
_djbkd has joined #jruby
skade has joined #jruby
mrmargol_ has joined #jruby
mrmargolis has quit [Ping timeout: 250 seconds]
vtunka has quit [Quit: Leaving]
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #jruby
lance|afk is now known as lanceball
dinfuehr has joined #jruby
nateberkope has joined #jruby
mcclurmc_ has quit [Remote host closed the connection]
Antiarc_ has joined #jruby
nateberkopec has quit [*.net *.split]
Antiarc has quit [*.net *.split]
drbobbeaty has joined #jruby
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #jruby
drbobbeaty has quit [Client Quit]
bbrowning is now known as bbrowning_away
skade has quit [Read error: Connection reset by peer]
skade has joined #jruby
camlow32_ has joined #jruby
dinfuehr has quit [Remote host closed the connection]
camlow325 has quit [Ping timeout: 276 seconds]
drbobbeaty has joined #jruby
drbobbeaty has quit [Client Quit]
drbobbeaty has joined #jruby
drbobbeaty has quit [Client Quit]
<projectodd-ci> Project jruby-master-spec-ruby build #40: STILL FAILING in 1 hr 20 min: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ruby/40/
bbrowning_away is now known as bbrowning
drbobbeaty has joined #jruby
drbobbeaty has quit [Client Quit]
Aethenelle has joined #jruby
camlow32_ has quit [Remote host closed the connection]
mister_solo has joined #jruby
camlow325 has joined #jruby
camlow325 has quit [Remote host closed the connection]
bb010g has quit [Quit: Connection closed for inactivity]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to master: http://git.io/vL8gz
<JRubyGithub> jruby/master 7d4c012 Chris Seaton: [Truffle] Update README for new version of Graal.
JRubyGithub has left #jruby [#jruby]
mister_solo has quit [Ping timeout: 256 seconds]
camlow32_ has joined #jruby
mister_solo has joined #jruby
camlow32_ has quit [Remote host closed the connection]
rcvalle has quit [Ping timeout: 250 seconds]
camlow325 has joined #jruby
mister_solo has quit [Ping timeout: 245 seconds]
tcrawley is now known as tcrawley-away
<projectodd-ci> Project jruby-master-spec-ruby build #41: STILL FAILING in 48 min: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ruby/41/
camlow325 has quit [Remote host closed the connection]
GitGud has left #jruby [#jruby]
dinfuehr has joined #jruby
dinfuehr has quit [Ping timeout: 265 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] djberg96 opened pull request #3061: Add incrementor back PopenExecutor to prevent infinite loop. (master...master) http://git.io/vL8yE
JRubyGithub has left #jruby [#jruby]
deobalds has quit [Quit: Computer has gone to sleep.]
vlad___ has joined #jruby
x1337807x has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
vlad___ has quit [Quit: Page closed]
subbu is now known as subbu|lunch
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wscheele has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 2 new commits to truffle-head: http://git.io/vL8xr
<JRubyGithub> jruby/truffle-head f156e5f Chris Seaton: Merge branch 'master' into truffle-head
<JRubyGithub> jruby/truffle-head daf94b9 Chris Seaton: [Truffle] Update for latest Truffle snapshot.
JRubyGithub has left #jruby [#jruby]
<wscheele> anyone familiar with status of ssl cipher support issues in jruby/jruby-openssl? or know of any potential workarounds? i am attempting to send some data to hipchat with logstash, but api.hipchat.com refuses the jruby ssl connection with a handshake_failure, because (from what i can see) they can't agree on a cipher
<chrisseaton> kares might be able to help with that
<chrisseaton> unrelated: is asarih around
<wscheele> i see quite a number of issues raised (https://github.com/jruby/jruby/issues/2194, https://github.com/jruby/jruby/issues/1738, https://github.com/jruby/jruby/issues/1768, and a bunch of related in refs) as well as some commits on jruby-openssl; but the exact status is vague, and i am not sure if there's a way to workaround it (short of hacking)
<asarih> chrisseaton: hello!
<asarih> chrisseaton: I am, but I need to get on the bus soon-ish.
<chrisseaton> sorry to ask you a dumb question, but I've RTFMd and I can't figure out - can I run only some tests on a particular branch in Travis?
<chrisseaton> So I have a separate branch, and I don't want to run all tests as most of them are redundant with the master branch
<asarih> chrisseaton: you'll have to edit `.travis.yml` on that branch. merging would be a little troublesome, though.
<chrisseaton> Ah that's a good idea - so it reads masters, sees what branches, and then reads again on the branch
<chrisseaton> Merging is fine - this branch is a pain to merge anyway
<wscheele> kares: could you perhaps s[ph]are some thoughts?
camlow325 has joined #jruby
<chrisseaton> he may not be around - I'm sure he'll follow up on it when he can
<wscheele> chrisseaton: thx, i hope so. tried some upgrades and looked at some code, but would prefer to have a workaround with released versions instead of having to hack jruby-openssl/jruby/logstash to make it all work...
camlow325 has quit [Remote host closed the connection]
camlow325 has joined #jruby
mrmargol_ has quit [Read error: Connection reset by peer]
mrmargolis has joined #jruby
mcclurmc has joined #jruby
<projectodd-ci> Project jruby-master-spec-ruby build #42: STILL FAILING in 1 hr 25 min: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ruby/42/
subbu|lunch is now known as subbu|afk
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo closed pull request #3061: Add incrementor back PopenExecutor to prevent infinite loop. (master...master) http://git.io/vL8yE
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] djberg96 closed issue #3054: Process.spawn using huge amounts of memory for simple script http://git.io/vLqGK
JRubyGithub has left #jruby [#jruby]
mrmargol_ has joined #jruby
camlow325 has quit [Remote host closed the connection]
mrmargolis has quit [Ping timeout: 272 seconds]
rsim has joined #jruby
camlow325 has joined #jruby
rsim1 has joined #jruby
rsim has quit [Ping timeout: 265 seconds]
temporalfox has joined #jruby
subbu|afk is now known as subbu
x1337807x has joined #jruby
rcvalle has joined #jruby
mkristian has joined #jruby
tcrawley-away is now known as tcrawley
imperator has joined #jruby
subbu is now known as subbu|afk
DomKM has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian pushed 2 new commits to jruby-1_7: http://git.io/vL4KF
<JRubyGithub> jruby/jruby-1_7 2c90f46 Christian Meier: treat uri-like paths differently when finding parent directory...
<JRubyGithub> jruby/jruby-1_7 4f6ac41 Christian Meier: [build] use a jruby-maven-plugin version which works
JRubyGithub has left #jruby [#jruby]
temporal_ has joined #jruby
Antiarc_ has quit [Quit: No Ping reply in 180 seconds.]
temporalfox has quit [Ping timeout: 250 seconds]
subbu|afk is now known as subbu
Antiarc has joined #jruby
yfeldblum has joined #jruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cristianrasch has quit [Quit: Leaving.]
tcrawley is now known as tcrawley-away
subbu is now known as subbu|busy
tcrawley-away is now known as tcrawley
<projectodd-ci> Project jruby-master-spec-ruby build #43: STILL FAILING in 1 hr 2 min: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ruby/43/
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #jruby
skade has joined #jruby
<wscheele> chrisseaton / kares: turns out the ssl handshake errors were not related to needed cipher fixes. it seems the ftw library used by logstash builds an incompatible SSLContext; I attempted to run logstash with the 0.9.7 jruby-openssl fixes, and had the same issues. only after removing the configured sslcontext from the SSLSocket did the connection succeed. this also worked against the older jruby version.
x1337807x has joined #jruby
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #jruby
bbrowning is now known as bbrowning_away
mrmargolis has joined #jruby
lanceball is now known as lance|afk
mrmargol_ has quit [Ping timeout: 244 seconds]
dinfuehr has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] r6p opened issue #3062: Unable to java_import a class on jruby-9.0.0.0.rc1 http://git.io/vL4pR
JRubyGithub has left #jruby [#jruby]
temporal_ has quit [Ping timeout: 264 seconds]
Aethenelle has quit [Quit: Aethenelle]
rsim1 has quit [Quit: Leaving.]
skade has quit [Quit: Computer has gone to sleep.]
imperator has quit [Quit: Leaving]
subbu|busy is now known as subbu
dinfuehr has quit [Remote host closed the connection]
tcrawley is now known as tcrawley-away
dinfuehr has joined #jruby
mrmargol_ has joined #jruby
dinfuehr has quit [Ping timeout: 246 seconds]
temporalfox has joined #jruby
mrmargolis has quit [Ping timeout: 264 seconds]
mrmargol_ has quit [Remote host closed the connection]
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #jruby
skade has joined #jruby
_djbkd has quit [Remote host closed the connection]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian pushed 3 new commits to jruby-1_7: http://git.io/vLBmY
<JRubyGithub> jruby/jruby-1_7 78502ad Christian Meier: [build] no more jruby.home usage in build
<JRubyGithub> jruby/jruby-1_7 85d972c Christian Meier: convert File.dirname("file:/my.jar!/a") to "file:/my.jar!" to avoid !// in uri...
<JRubyGithub> jruby/jruby-1_7 0046bed Christian Meier: detect uri pattern and not windows drives on File.dirname
JRubyGithub has left #jruby [#jruby]
_djbkd has joined #jruby
mkristian has quit [Quit: Ex-Chat]
enebo has quit [Quit: enebo]
_djbkd has quit [Read error: Connection reset by peer]
_djbkd has joined #jruby
temporalfox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Antiarc> So I'm poking at startup times, testing with just require 'active_support/all'
<Antiarc> Lots of exceptions. Those are costly in JRuby - I'm wondering if there might be lots of swallowed exceptions during gem requirement that are inflating boot times.
dinfuehr has joined #jruby
dinfuehr has quit [Ping timeout: 250 seconds]
<Antiarc> This is what's doing it - it ends up invoking method_missing which throws the exception
<Antiarc> That's caused by the #flatten call here
<nirvdrum> I see the converter being called in RubyEnumerable#flatMapCommon19
<nirvdrum> But this is a map followed by flatten.
<Antiarc> yeah, it's the deep flatten
<Antiarc> It's trying to call to_ary on each element in the flattened array, to see if it can flatten it further
<Antiarc> I have some promising initial results
<nirvdrum> Ahh, yeah. I see it now.
<nirvdrum> RubyArray#flatten
<Antiarc> That's a 10-15% performance improvement in loading activesupport, which is pretty darn good for a small change
<Antiarc> But I think it might maybe be better if you could suppress backtrace generation during type conversion attempts or something
<Antiarc> Since that would improve performance all over
<Antiarc> I'm gonna try it with a big gemfile
<nirvdrum> A respond_to? check before trying to convert might do it.
<nirvdrum> Unless that exception is really needed.
<Antiarc> the exception gets eaten, so I suspect it's rather not
<nirvdrum> Yeah, looking at it more, I think this is entirely internal.
<nirvdrum> Rubinius does this: "return nil unless object_respond_to?(obj, meth, true)"
<Antiarc> during type conversion? That doesn't seem right, since you'd want bad conversions to fail in many cases
<nirvdrum> For its internal recursive flatten call.
<Antiarc> ah
<nirvdrum> Tracing JRuby, it actually looks like it should be doing the same.
<Antiarc> line 2800, checkArrayType, is what does it
<nirvdrum> I take that back. It doesn't. But I think it might have been intended to.
<Antiarc> Small sample size, but that feels like a substantial improvement to me
<nirvdrum> Yeah, that looks pretty good. I'm a bit confused as to what this was doing before, just by inspection.
<Antiarc> What do you mean?
dinfuehr has joined #jruby
<Antiarc> interestingly it doesn't seem to really improve boot time on a full Rails app
_djbkd has quit [Remote host closed the connection]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish pushed 1 new commit to master: http://git.io/vLBuh
<JRubyGithub> jruby/master aca23bd Brandon Fish: [Truffle] Add resolv and logger test to mri test index
JRubyGithub has left #jruby [#jruby]
<Antiarc> Maybe a little bit, though not as much as that 10-15%. But that's probably expected.
<nirvdrum> Antiarc: It looks like the respond_to? check is there, but broken :-/
<Antiarc> oh, where?
_djbkd has joined #jruby
<Antiarc> with the patch, 5 loads of my app average 16.06 +- 0.70 sec. Baseline is 16.28s +- 1.09 sec. Not sure that's statistically significant. But I think it's probably worth fixing anyhow?
<nirvdrum> RubyClass#finvokeChecked
<nirvdrum> RubyClass.java:627
<nirvdrum> So, that's supposed to check if the object responds to to_ary
<nirvdrum> Then if you look at RubyClass.checkFuncallRespondTo (RubyClass.java:664)
<nirvdrum> me.isBuiltin seems to always be true, unless overridden by the user.
<nirvdrum> Maybe that part is okay, but if it is, the respond_to? call is never made.
<nirvdrum> I'm really not entirely sure what it's supposed to be doing. But it completely ignores the respond_to? call if it's considered to be builtin.
<Antiarc> Well, Gem::Specification isn't builtin, is it?
<Antiarc> That's what is receiving to_ary here
<nirvdrum> No. I think built_in here means where respond_to? is defined.
<Antiarc> ahhh
<Antiarc> NOEX_BASIC seems to be gone in ruby-head. Hm.
<Antiarc> still there in 2.2 though
<nirvdrum> Yeah. I'm still tracing. It's strange behavior.
<nirvdrum> Bah. I guess this is compliant :-/
<Antiarc> huh, really?
<nirvdrum> class X; def method_missing(*args); [:a, :b, :c]; end; end; p [X.new].flatten
dinfuehr has quit [Remote host closed the connection]
<nirvdrum> So Rubinius seems to be broken here.
<Antiarc> well, going back to backtrace suppression, is there any facility for doing that?
<Antiarc> Since IIRC that's the slow thing here
<nirvdrum> Can you see where the trace is generated from?
<nirvdrum> I don't see it happening when stepping through the debugger.
<Antiarc> Yeah, give me a sec
<Antiarc> I just set a breakpoint in...let me find it
<Antiarc> RaiseException.preRaise
<nirvdrum> I wonder if Gem::Specification is throwing it.
<Antiarc> It was coming from specification.rb, yeah
<Antiarc> arr.map { ... }.flatten
<Antiarc> arr contains Gem:Specification instances
<nirvdrum> Yeah, but I mean its method_missing implementation.
<Antiarc> Yes, that's where it's coming from. Let me confirm
<nirvdrum> Yeah, I see.
<Antiarc> updated it with the Java track trace too
<nirvdrum> So, the respond_to? check might be fine. It's weird, but it's what MRI does it seems.
<Antiarc> well, in cases where to_ary is handled with method_missing, but doesn't provide respond_to? it'll fail, no?
<nirvdrum> Once it gets past that case, it checks if method_missing is built-in and essentially no-ops if it is.
<Antiarc> Ahh, okay
<nirvdrum> So if you just did ["a"].flatten, you won't hit the exception.
<nirvdrum> The problem is Gem::Specification defines method_missing, so it's called.
<nirvdrum> But their method_missing essentially calls the parent method, which would be built-in.
rcvalle has quit [Quit: rcvalle]
subbu has quit [Ping timeout: 252 seconds]
<nirvdrum> So, unfortunately, patching RubyArray seems like the wrong way to go.
<lopex> I think one might turn of trace in fillInStackTrace conditionaly for internal purposes ?
<nirvdrum> Patching RubyGems is one way to go.
<nirvdrum> I don't know if IR is smart enough to catch the super call and take different behavior based upon the call context.
<Antiarc> Yeah, patching rubygems would be fine, but map { ... }.flatten is common enough that it seems like it might be a potential performance optimization if it's fixable in the general case