robbyoconnor has quit [Quit: Konversation terminated!]
pchalupa has joined #jruby
benlovell has joined #jruby
Usuario has joined #jruby
paulswilliamsesq has joined #jruby
rsim has joined #jruby
rsim1 has joined #jruby
asarih has quit [Read error: Connection reset by peer]
bruceadams has quit [Read error: Connection reset by peer]
amdprophet has quit [Read error: Connection reset by peer]
mjc_ has quit [Ping timeout: 244 seconds]
asarih_ has joined #jruby
bruceadams has joined #jruby
lidaaa has quit [Ping timeout: 255 seconds]
amdprophet has joined #jruby
mjc_ has joined #jruby
rsim has quit [Ping timeout: 265 seconds]
josh-k has joined #jruby
robbyoconnor has joined #jruby
tbuehlmann has joined #jruby
keeguon has joined #jruby
subbu has quit [Ping timeout: 258 seconds]
elia has joined #jruby
<keeguon>
Hello, I have this weird issue using AOT, I’m trying to compile a method that has a lot of when statements in a case and weirdly enough it can’t compile over a certain amount of when statements however removing a bunch of them ’til a certain point allows me to compile, is there like a limitation in the case statement…?
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iamjarvo has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #jruby
noop has quit [Ping timeout: 240 seconds]
iamjarvo has quit [Client Quit]
rsim1 has quit [Quit: Leaving.]
tenderlove has joined #jruby
cajone has joined #jruby
viking has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
cajone has quit [Remote host closed the connection]
tenderlove has quit [Quit: Leaving...]
yfeldblum has joined #jruby
skade has joined #jruby
yfeldblum has quit [Ping timeout: 256 seconds]
cajone has joined #jruby
skade has quit [Read error: Connection reset by peer]
skade has joined #jruby
<dfr|work>
morning folks
josh-k has joined #jruby
<headius>
morning!
<keeguon>
morning anyone saw the question I posted earlier
<dfr|work>
keeguon, got a link to code as well?
<dfr|work>
although I'm likely the least knowledgable person in that are :)
<dfr|work>
*rea
<headius>
keeguon: we have hard limits at the JVM level on how big the code can be
<rtyler>
o/
<headius>
our limit is artificially smaller than that because large code will often never optimize at JVM level
<headius>
case/when is an especially problematic case because it's very hard to break up into multiple JVM bytecode methods
<keeguon>
headius: is there a way to change the limit in that special case cause all and all I have way larger methods though I understand breaking up case/when is problematic
<headius>
there is a flag to bump up the maximum size...check --properties output
<keeguon>
it’s not available in AOT right?
pchalupa has quit [Quit: Leaving]
<headius>
run with jruby -Xwhatever.property -S jrubyc ....
<headius>
or use JRUBY_OPTS env
x1337807x has joined #jruby
x1337807x has quit [Read error: Connection reset by peer]
<mpapis>
headius, I have removed support for custom builds, anyone can build from different git repos, branches, binaries, in rvm1 I could add a new feature to allow simply mapping - but this another effort that slows down rvm2 and I have to reimplement it shortly in rvm2 you can run: rvm mount -r "http://ci.jruby.org/snapshots/master/jruby-dist-9.0.0.0.dev-bin.tar.gz" -n jruby-9.0.0.0
_elia has quit [Quit: Computer has gone to sleep.]
yfeldblum has quit [Ping timeout: 256 seconds]
phrinx has joined #jruby
ludyte has joined #jruby
<mjc_>
drat, aethenelle isn't around
<headius>
mpapis: so for 9000, jruby-head is the best way?
<headius>
I can't really put that command line in a slide
iamjarvo has joined #jruby
noop has joined #jruby
ludyte has joined #jruby
tharindu has quit [Ping timeout: 250 seconds]
elux has joined #jruby
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
calavera has joined #jruby
josh-k has quit [Remote host closed the connection]
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] mkristian opened issue #2216: $CLASSPATH << 'some/relative/path' does not obey the Dir.pwd http://git.io/GJIatg
JRubyGithub has left #jruby [#jruby]
towski has joined #jruby
skade has joined #jruby
anaeem1 has joined #jruby
<mpapis>
headius, rvm install jruby-head is the shortest way to get 9k
skade has quit [Ping timeout: 240 seconds]
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] chrisseaton pushed 1 new commit to master: http://git.io/sHteKQ
<JRubyGithub>
jruby/master 43a9fd4 Chris Seaton: Merge pull request #2211 from jruby/versions...
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] chrisseaton deleted versions at 5c758d7: http://git.io/jTT6NQ
JRubyGithub has left #jruby [#jruby]
josh-k has joined #jruby
anaeem1 has quit [Remote host closed the connection]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<chrisseaton>
I've got a shell script I'd like to run in Travis - not sure how to do that though as it seems like by default everything needs to be a maven target of some kind?
colinsurprenant has quit [Quit: colinsurprenant]
ludyte has quit [Quit: ludyte]
mister_solo has joined #jruby
ludyte has joined #jruby
<mkristian>
chrisseaton, try add it the matrix/include section something like - script: myscript.sh
<headius>
mpapis: ok, cool...that's what we have in slides
colinsurprenant has joined #jruby
x1337807_ has joined #jruby
x1337807_ has quit [Max SendQ exceeded]
x1337807_ has joined #jruby
calavera has quit [Read error: Connection reset by peer]
<chrisseaton>
mkristian: thanks - and what's the phases to generate jruby-tests-9.0.0.0-SNAPSHOT.jar, jruby-9.0.0.0-SNAPSHOT.jar and jruby-noasm-9.0.0.0-SNAPSHOT.jar?
calavera has joined #jruby
calavera_ has joined #jruby
x1337807x has quit [Ping timeout: 240 seconds]
<mkristian>
chrisseaton, let's forget jruby-tests-9.0.0.0-SNAPSHOT.jar it is nowhere used and just gets build with mvn install -Pbootstrap - the others come with mvn -Pmain
anaeem1 has quit [Remote host closed the connection]
<JRubyGithub>
[jruby] chrisseaton pushed 1 new commit to master: http://git.io/3GtH5w
<JRubyGithub>
jruby/master aced7b5 Chris Seaton: [Truffle] Update binary builder for new versions.
JRubyGithub has left #jruby [#jruby]
drbobbeaty has joined #jruby
<mkristian>
chrisseaton, the only thing I could imaging that you need to add a dummy "env: TARGET='' and a dummy "jdk: oraclejdk7" to the script as all the other entries
<chrisseaton>
cpuguy83: best way to explore what you can do is to try to stick to the language, rather than stdlib, and use plain files rather than IRB or anything else
lidaaa has joined #jruby
<chrisseaton>
cpuguy83: and if you want to see performance, writing a simple timing loop
lanceball is now known as lance|afk
triple_b has joined #jruby
tenderlove has quit [Remote host closed the connection]
cajone has quit [Remote host closed the connection]
elia has quit [Quit: Computer has gone to sleep.]
<mjc_>
so 9k master is getting stuck in org.jruby.RubyModule.searchMethodCommon() according to visualvm, aethenelle wanted to know which method it's trying to find
<mjc_>
how do I find that out?
mkristian has quit [Quit: bye]
<Antiarc>
If you're willing to set up a debugger you could attach to the process and inspect the context where it's stuck
<Antiarc>
Or if you have a repro case I can run it :)
<mjc_>
I can't make a repro case right now :(
<Antiarc>
getting stuck in searchMethodCommon seems odd, it's just a hash lookup and then a potential call to super.searchMethodInner
<Antiarc>
does visualvm say it's blocked or stuck in an infinite loop?
<mjc_>
well its' stuck going between those two
<mjc_>
common and inner
<Antiarc>
Ah, okay, so infinite loop
<mjc_>
one calls the other infinitely
<Antiarc>
Well, you could just mod the source to print out the method name being searched
<Antiarc>
And then repro it and see what string fills your screen :)
<Antiarc>
Inelegant, but effective
<mjc_>
good idea
iamjarvo has joined #jruby
<Antiarc>
RubyModule:1184, looks like
robbyoconnor has quit [Quit: Konversation terminated!]
robbyoconnor has joined #jruby
<mjc_>
1178 for me
<Antiarc>
Alternately just attach a debugger, get it into that error condition, and activate a breakpoint
<mjc_>
already doing a println
<Antiarc>
That's probably what you're going to want to end up doing since it'll let you step through it and see what values you have that are causing it to infinitely loop
<Antiarc>
This just loops infinitely, it doesn't result in a stack overflow?
<mjc_>
infinitely
<Antiarc>
Odd.
<mjc_>
100% cpu, let it run for over an hour
<mjc_>
well 100% of one core
<mjc_>
looks like it's _validate_callbacks, that sounds like part of AR or something
<mjc_>
whoop, no
<mjc_>
not that
<mjc_>
still going
<mjc_>
lock_optimistically
cajone has joined #jruby
<mjc_>
from AR
ludyte has quit [Quit: ludyte]
<Antiarc>
It'd be useful to know what `this` and `superClass` are
<mjc_>
ah, good thought
<Antiarc>
in searchMethodCommon
<Antiarc>
(hence, the debugger :D)
<mjc_>
decided to try to make a repro
<mjc_>
not supposed to be doing that right now but I'm waiting o a meeting so
elia has joined #jruby
<Antiarc>
I think you're somehow ending up in a case where a module somehow inherits from itself
<Antiarc>
Which...doesn't seem possible
<mjc_>
it works in MRI
<mjc_>
and 1.7.x
<Antiarc>
You could try bisecting recent commits to find where the bug was introduced
<Antiarc>
I did make a change in...let me find it
<mjc_>
would take a while, before this there was another bug that caused bundle not to work
<mjc_>
huh totally different error trying to boot a blank rails app
<JRubyGithub>
[jruby] cheald opened issue #2217: RubyModule.searchMethodInner results in exponential runtime expansion http://git.io/eJKfGQ
rimenes has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tenderlove has joined #jruby
zorak8 has joined #jruby
bbrowning_away is now known as bbrowning
johnmuhl has quit [Quit: Connection closed for inactivity]
cajone has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] cheald opened pull request #2218: Fix exponential expansion of work in method lookup (master...fix_method_lookup_complexity) http://git.io/pGKAAA
JRubyGithub has left #jruby [#jruby]
<Antiarc>
mjc_: ^
colinsurprenant has quit [Ping timeout: 272 seconds]
pietr0 has quit [Ping timeout: 245 seconds]
pietr0 has joined #jruby
<Antiarc>
post-fix the lookup time on a method 22 levels deep is 0.001277s, down from 26 sec, an improvement of 2,000,000% :)
pietr0 has quit [Remote host closed the connection]
kelcecil has joined #jruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tenderlove has quit [Remote host closed the connection]
<Antiarc>
I think it's actually factorial expansion, heh
tenderlove has joined #jruby
viking has quit [Remote host closed the connection]
tenderlove has quit [Remote host closed the connection]