subbu has quit [Ping timeout: 245 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pjammer has joined #jruby
bbrowning_away is now known as bbrowning
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
subbu has joined #jruby
bbrowning_ has joined #jruby
<rtyler> damnit, one of my team mates spent all day debugging an issue in 1.7.19 which turned out to be https://github.com/jruby/jruby/commit/d2201035756b7d5c7416bbcb72fa789189b82e45 again
<rtyler> which is one of those nice fixes waiting in 1.7.2 :/
<rtyler> .20*
bbrowning has quit [Ping timeout: 244 seconds]
camlow325 has quit []
havenwood has quit []
zorak8 has joined #jruby
zorak8 has quit [Max SendQ exceeded]
zorak8 has joined #jruby
zorak8 has quit [Max SendQ exceeded]
zorak8 has joined #jruby
zorak8 has quit [Max SendQ exceeded]
pjammer has joined #jruby
bbrowning_ is now known as bbrowning
subbu has quit [Ping timeout: 264 seconds]
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mitchellhenke has joined #jruby
subbu has joined #jruby
<bbrowning> headius: regarding the memory leak with 1.7.20-SNAPSHOT, I'm seeing lots of runtimes being kept around by some ThreadLocal RubyClass instances. All the RubyClass instances have reifiedClass fields containing various java package names
<bbrowning> I know that doesn't help much, but it's where I'm at so far
<bbrowning> so something in the java integration changes that landed in 1.7.20, I think
fivebats has joined #jruby
subbu has quit [Ping timeout: 252 seconds]
<rtyler> bbrowning: are 20-snapshot builds published anywhere?
<bbrowning> rtyler: not that I know of - I'm just building from source
<rtyler> rats
<rtyler> I could really use some snapshot builds tonight :(
<bbrowning> and the same code in InterfaceInitializer
mitchellhenke has quit [Quit: Computer has gone to sleep.]
bbrowning is now known as bbrowning_away
bbrowning_ has joined #jruby
bbrowning_away has quit [Ping timeout: 244 seconds]
<headius> rtyler: ci.jruby.org
<headius> both 9k and 1.7.20 snaps
<headius> bbah-ha
<headius> er, ah-ha
<headius> that was added very recently
<headius> I was working to get rid of JavaClass
<rtyler> Amazon S3 Bucket list v 1.1
<rtyler> o_O
<rtyler> headius: are these snapshots in any form of maven repo?
<headius> bbrowning: are you seeing that cache holding things beyond a runtime's life?
<headius> rtyler: no but that would be a good idea
<headius> I did push a 1.7.20 snap earlier today
<headius> to sonatype snapshots
<headius> we don't have anything that does that nightly though
<headius> bbrowning: I don't see how this would leak :-\
<headius> hmmm
<headius> actually I do
<headius> it would have to be within one runtime though
e_dub has joined #jruby
rsim has joined #jruby
djbkd has quit [Quit: My people need me...]
gazay has joined #jruby
havenwood has joined #jruby
rsim has quit [Quit: Leaving.]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:aef1340 by Chris Seaton): The build was broken. (http://travis-ci.org/jruby/jruby/builds/59776566)
travis-ci has left #jruby [#jruby]
bjfish2 has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:aef1340 by Chris Seaton): The build was broken. (http://travis-ci.org/jruby/jruby/builds/59776566)
travis-ci has left #jruby [#jruby]
subbu has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish pushed 1 new commit to master: http://git.io/vfzWT
<JRubyGithub> jruby/master 1502275 Brandon Fish: [Truffle] Adding Kernel#open to kernel.rb
JRubyGithub has left #jruby [#jruby]
yfeldblu_ has quit [Remote host closed the connection]
yfeldblum has joined #jruby
bjfish2 has quit [Quit: bjfish2]
subbu has quit [Quit: Leaving]
zorak8 has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (jruby-1_7:4752304 by Charles Oliver Nutter): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/59778573)
travis-ci has left #jruby [#jruby]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (jruby-1_7:4752304 by Charles Oliver Nutter): The build has errored. (http://travis-ci.org/jruby/jruby/builds/59778573)
travis-ci has left #jruby [#jruby]
nirvdrum has quit [Ping timeout: 245 seconds]
a5i has quit [Quit: Connection closed for inactivity]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (jruby-1_7:4752304 by Charles Oliver Nutter): The build has errored. (http://travis-ci.org/jruby/jruby/builds/59778573)
travis-ci has left #jruby [#jruby]
dinfuehr has joined #jruby
dinfuehr has quit [Ping timeout: 264 seconds]
robbyoconnor has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:eec8d16 by Charles Oliver Nutter): The build was broken. (http://travis-ci.org/jruby/jruby/builds/59778911)
travis-ci has left #jruby [#jruby]
Antiarc has quit [Quit: No Ping reply in 180 seconds.]
Antiarc has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #jruby
<headius> lovely...I think this is a thread safety bug fixed in openjdk 7
kares has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] lephyrius opened issue #2872: Could not generate DH keypair http://git.io/vfzKi
JRubyGithub has left #jruby [#jruby]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:b1cab0a by Chris Seaton): The build has errored. (http://travis-ci.org/jruby/jruby/builds/59785702)
travis-ci has left #jruby [#jruby]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (jruby-1_7:4752304 by Charles Oliver Nutter): The build has errored. (http://travis-ci.org/jruby/jruby/builds/59778573)
travis-ci has left #jruby [#jruby]
dinfuehr has joined #jruby
cprice404 has joined #jruby
zorak8 has quit [Ping timeout: 272 seconds]
arturaz has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:1502275 by Brandon Fish): The build passed. (http://travis-ci.org/jruby/jruby/builds/59823242)
travis-ci has left #jruby [#jruby]
skade has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (jruby-1_7:4752304 by Charles Oliver Nutter): The build has errored. (http://travis-ci.org/jruby/jruby/builds/59778573)
travis-ci has left #jruby [#jruby]
yfeldblum has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #jruby
marr has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
havenwood has quit [Remote host closed the connection]
skade has joined #jruby
elia has joined #jruby
vtunka has joined #jruby
mister_solo has joined #jruby
vtunka has quit [Client Quit]
benlovell has joined #jruby
mister_solo has quit [Ping timeout: 255 seconds]
mister_solo has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
pitr-ch has joined #jruby
yfeldblum has joined #jruby
benlovell has quit [Ping timeout: 276 seconds]
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #jruby
benlovell has joined #jruby
dinfuehr has quit [Ping timeout: 256 seconds]
dinfuehr has joined #jruby
shellac has joined #jruby
vtunka has joined #jruby
vtunka has quit [Ping timeout: 256 seconds]
colinsurprenant has joined #jruby
<kares> chrisseaton: is there a need for all truffle dev to happen on the same branch (master) as 9K (it's quite hard to track stuff) ?
vtunka has joined #jruby
vtunka has quit [Ping timeout: 250 seconds]
colinsurprenant has quit [Quit: colinsurprenant]
pjammer has joined #jruby
chamila has joined #jruby
dinfuehr_ has joined #jruby
dinfuehr has quit [Read error: Connection reset by peer]
anaeem1 has joined #jruby
anaeem1 has quit [Client Quit]
<chamila> Hello all, I am trying to learn how to implement a jruby extension in java with modular level methods (eg - Oj.dump(), etc), can u suggest me a existing gem source where I can have a look and get a idea how can I do that?
<kares> ThreadContext is optional first arg, than always self than the actual method arguments https://github.com/jruby/jruby/blob/master/core/src/main/java/org/jruby/javasupport/JavaUtilities.java#L48
rsim has joined #jruby
<chamila> Hi kares, thanks, is it enough to add a similar file to ext folder as in https://github.com/cdwijayarathna/GemTest, or is there any dipendencies to load the module?
<kares> chamila: it's not that simple - you need to build the .jar and load it with your ruby code - while it's possible to compile .java on demand during gem build it's not common as with MRI's C exts
<chamila> I did the loading parts with some classes defined on module in the above mentioned repo, now I need to add a module level methods to the same gem
a5i has joined #jruby
drbobbeaty has joined #jruby
<kares> in that case yes ... you seem to compile everything under ext
shellac has quit [Remote host closed the connection]
<kares> this is something you can try easily - thought you're asking on how to do module methods not all the details :)
<chamila> kares: yeah, until now I'm loading classes using BasicLoadService, do I have to include this there as well
<kares> well sure you still need to defineAnnotatedMethods on the module you want them ... at https://github.com/cdwijayarathna/GemTest/blob/master/ext/org/jruby/ext/FibsLibrary.java#L31-L39
shellac has joined #jruby
<chamila> kares: Is there similar thing available for JavaUtilities u sent?
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 1 new commit to master: http://git.io/vfgQS
<JRubyGithub> jruby/master 5491ae1 Benoit Daloze: [Truffle] Whitelist conditionvariable specs.
JRubyGithub has left #jruby [#jruby]
<chamila> that do the basic loading stuff
<kares> chamila: yes grep JavaUtilities in the package and you'll find it
<chamila> Ahh, okay, thanks, I'll try that
<chamila> kares : thanks
benlovell has quit [Ping timeout: 256 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 6 new commits to master: http://git.io/vfghT
<JRubyGithub> jruby/master a82a006 Chris Seaton: [Truffle] fcntl module used by Rubinius.
<JRubyGithub> jruby/master d715d31 Chris Seaton: [Truffle] Simple server test.
<JRubyGithub> jruby/master ce4af59 Chris Seaton: [Truffle] Rubinius::FFI::Library shim.
JRubyGithub has left #jruby [#jruby]
<chrisseaton> kares: we originally started on a separate truffle branch - headius decided it was best to merge it
<chrisseaton> kares: we've been experimenting with some feature branches for the bigger work recently, but some of the merges between them are horrific
<chrisseaton> kares: I guess there will be a release branch at some point soon, which will achieve the same thing
yfeldblum has quit [Ping timeout: 245 seconds]
vtunka has joined #jruby
<kares> chrisseaton: i see ... it's simply hard to follow progress (been trying that for a while now) since at this point I'm mostly interested in 9K commits but than most commits I tend to find are trufle specific
<kares> but if headius suggested a separate branch for all trufle commits with periodical merges of master is a no-no than he probably knows why
djellemah has quit [Quit: Leaving]
<kares> ... oh, I realize the ugliness of a separate truffle branch since eventually it needs to be merged both ways
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pitr-ch has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
djellemah has joined #jruby
rsim has quit [Quit: Leaving.]
<chrisseaton> kares: we prefix all Truffle work with [Truffle] so if you're reading a log you should be able to filter out
<chrisseaton> kares: I'll be honest though and say we're probably going to get even noisier - we have a new hire starting next Friday making it four of us working full time
<kares> chrisseaton: thanks ... using GitHub mostly :)
<kares> chrisseaton: woow - I thought graal/truffle should make it less of an effort to implement a language :) !
<kares> just trolling
<chrisseaton> kares: we're just compressing it into a short amount of time
<chrisseaton> plus eregon and I are also writing PhDs as we go
<kares> chrisseaton: is that another language :) ?
<chrisseaton> kares: try writing a truffle language yourself - lucasallan did Lua and got it running fibbonaci not far off luajit with just a few hours of work
<kares> yeah I know ... Ruby is quite hard compared to some
pierreatkillbill has joined #jruby
bbrowning_ is now known as bbrowning
<kares> I'm actually looking forward for a truffle Ruby ... it's just that there's seems to be a lot of work on master that is of 2 kinds
<chrisseaton> yeah I know - and we really don't want the impression we are swamping or taking over - 9k is at the tweaking phase, and we're at the green field phase
<chrisseaton> if the community wants us to use a different workflow we will - but merges are the worst
<headius> kares: imagine merges with the amount of activity happening
<headius> I'm still amazed merges from 1.7 usually work
<kares> headius: yeah I know ... but there might be some examples of even more activity on separate branches e.g. linux?
<headius> sure...they may have more patience for merges :-)
<headius> chrisseaton: it may make sense to branch your work as we approach 9k final, since we'll move more into maintenance at that point
<headius> rather than branching just for 9k maintenance
<chrisseaton> chrisseaton: we can work with that - just let us know when you want it to happen
<headius> kares: if we'd had time it would have been nice to make them separate modules atogether, but the rest of JRuby wasn't really set up for that yet
<headius> they're separate now, so it might be possible to do that
<kares> headius: have not thought of that ... soundz good!
<headius> kares: oh, one big thing you could do is exclude truffle/ from logs
benlovell has joined #jruby
<headius> jruby proper depends on nothing from there and can run without any of it present
nateberkopec has joined #jruby
benlovell has quit [Ping timeout: 240 seconds]
dinfuehr_ has quit [Remote host closed the connection]
<chrisseaton> headius: do you know jnr-unixsocket or was that Wayne Meissner? Trying to figure out why there is no getaddrinfo call
mister_solo has quit [Ping timeout: 264 seconds]
vtunka has quit [Quit: Leaving]
nirvdrum has joined #jruby
gazay has quit [Ping timeout: 252 seconds]
<headius> chrisseaton: well I know it, but I assume he just never thought it was needed
gazay has joined #jruby
<headius> addrinfo comes back as a struct anyway, right? mapping structs is a pain
<chrisseaton> yeah I think there might be some higher level way I'm supposed to do - as it's the one obvious missing call and it's pretty essential
<chrisseaton> do you know where he hangs out or what his handle is?
skade has joined #jruby
zorak8 has joined #jruby
<headius> he quit the internet
<headius> according to my gtalk client, I haven't seen him online in 11 weeks
<headius> we're on our own :-)
zorak8 has quit [Ping timeout: 272 seconds]
dinfuehr has joined #jruby
dinfuehr has quit [Read error: Connection reset by peer]
ahadding1 has quit [Ping timeout: 245 seconds]
benlovell has joined #jruby
pjammer has joined #jruby
zorak8 has joined #jruby
<chrisseaton> maybe I can reimplement it using the Java APIs anyway
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to truffle-head: http://git.io/vf24b
<JRubyGithub> jruby/truffle-head 8f883f5 Chris Seaton: Merge branch 'master' into truffle-head...
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 2 new commits to truffle-head: http://git.io/vf2BZ
<JRubyGithub> jruby/truffle-head c4e00b1 Matthias Grimmer: [Truffle] remove misplaced assertion
<JRubyGithub> jruby/truffle-head 1c56b3a Chris Seaton: Merge branch 'truffle-head' into truffle-head
JRubyGithub has left #jruby [#jruby]
ahadding1 has joined #jruby
benlovell has quit [Ping timeout: 272 seconds]
Aethenelle has joined #jruby
mister_solo has joined #jruby
mister_solo has quit [Ping timeout: 248 seconds]
gazay has quit [Quit: gazay]
bjfish2 has joined #jruby
<headius> chrisseaton: we do have fakey AddrInfo stuff in JRuby proper already
<chrisseaton> yeah - was trying to get my head around it - it's very dense
tcrawley-away is now known as tcrawley
zorak8 has quit [Ping timeout: 250 seconds]
<headius> it does make heavy use of jnr-constants, so having a native version wouldn't conflict
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:081148a by Chris Seaton): The build has errored. (http://travis-ci.org/jruby/jruby/builds/59864739)
travis-ci has left #jruby [#jruby]
pitr-ch has joined #jruby
<chrisseaton> Fixing that...
e_dub has quit [Quit: Leaving]
kares has quit [Ping timeout: 256 seconds]
benlovell has joined #jruby
arturaz has quit [Ping timeout: 255 seconds]
Aethenelle has quit [Quit: Aethenelle]
<chrisseaton> Is there a flag to tell JRuby to use lib from somewhere other than the complete jar?
codefinger has joined #jruby
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<chrisseaton> ah just JAVA_HOME
pjammer has joined #jruby
<bbrowning> headius: not sure if you saw, but the memory leak culprit in 1.7.20 builds appears to be the new ClassInitializer and InterfaceInitializer stuff
<bbrowning> they end up setting RubyModule instances as Java ThreadLocals which never get cleared when the runtime is torn down
<bbrowning> so runtimes never get GC'd
mrmargolis has joined #jruby
<bbrowning> the name seems to imply that the work here isn't finished? "unfinishedProxyClassCache"
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] lbianc opened issue #2873: Class not found exception on ppc64le http://git.io/vf2NU
JRubyGithub has left #jruby [#jruby]
mitchellhenke has joined #jruby
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<chrisseaton> the future is coming, people https://gist.github.com/chrisseaton/698bd36e2ddba92049fc
<chrisseaton> Does not involve any native compilation
benlovell has quit [Ping timeout: 256 seconds]
pjammer has joined #jruby
benlovell has joined #jruby
<bbrowning> chrisseaton: get that to work for any arbitrary C code and things will be interesting :)
enebo has joined #jruby
<bbrowning> chrisseaton: Like if you could run any language implemented in C on top of this w/o a specific JVM port ;)
<headius> bbrowning: yeah I started a rework of that stuff last night but dropped it to sleep
<headius> I will just get rid of that structure
<headius> it's basically just there in case class importing recurses back on the same class again
<bbrowning> ahh
<headius> so I'll just make it a map that's cleaned on the way out
Aethenelle has joined #jruby
zorak8 has joined #jruby
<headius> enebo: yo
<headius> updates from past few days
<enebo> ok
<headius> feels like there should be a teletype sound effect in the background
<headius> so I went ahead and committed the stupid crypto hack
<headius> I heard from one of the icedtea folks that their builds of openjdk actually just patch it to be unlimited all the time
<enebo> which crypto hack?
<headius> there's a reflection hack that you can use to enable unlimited-strength crypto on openjdk
<headius> without going through the download of two properies files
<enebo> headius: I thought there was concern with itar or something?
<headius> apparently not since icedtea is doing it
<headius> they have binaries available for download without export restriction stuff
<enebo> hmmm
<enebo> I am somewhat surprised Oracle can even ship the strong crypto with just property hack to enable it
<headius> I know
<enebo> but I guess we are not shipping Java itself so we are not exporting crypto
<chrisseaton> your windows installer does
<enebo> except for perhaps windows installers
<headius> heheh
<enebo> oh yeah hmm
<enebo> I wouldn’t mind stopping windows installer w/ JRE shipped
<headius> it's probably not necessary
<enebo> I wonder if anyone uses it who does not already have Java
<headius> most people would prefer to just get their own specific version of JVM, and nobody will update jre every time they update jruby
<chrisseaton> do you update that installer every time there is a OpenJDK security update?
<headius> yeah right
<enebo> heh
<enebo> chrisseaton: which is another reason I want to get rid of it
<headius> so let's do that then
<enebo> sounds good…we just reduced upload a bit for release bits
<enebo> + <jruby.home>${basedir}/../..</jruby.home>
<headius> I have no concern about doing it for 1.7 line as well
<enebo> dump:poms has random extra lines
<headius> if someone is upset that we dropped it we can pull the security card
<headius> enebo: the installer can prompt to go get java right?
<enebo> yeah I agree. It is not a horrible idea to have jvm-enabled installer if you are brand new to JRuby and a Ruby windows developer but that is splitting the hair
<enebo> headius: prompt? like a single message saying, go get it?
<enebo> headius: or provide a link?
<headius> well it's an installer for Java apps, I assume there's some sort of warning or bailout or something
<enebo> headius: it is in fact written in Java
<enebo> headius: that is partially tangential :)
<headius> to early for meta
<enebo> headius: but yeah I don’t remember. I think so
<headius> too too
<headius> ok
<headius> well, let's just not publish it for this next round and see if anyone cares
skade has quit [Quit: Computer has gone to sleep.]
<headius> the jre version
<headius> I don't really get the windows user obsession with installers, but whatever
<headius> I guess it's because Windows is so damn hard to navigate
<chrisseaton> if it's an MSI installer than I think it interacts well with the huge policy and admin systems large Windows IT departments have
<enebo> chrisseaton: although install4j is not an msi
<headius> there's that, indeed
<chrisseaton> I used Windows for the first time in ages to try to build Graal - and it was genuinely a sad experience
<headius> enebo: does it have an option for it?
<headius> chrisseaton: did you actually succeed?
<chrisseaton> not yet!
<headius> I've never attempted to build openjdk on Windows but it sounds horrific
<enebo> headius: perhaps? but our licensed copy is actually quite old (from codehaus days)
<headius> enebo: yeah that's pretty old
<enebo> I think it is install4j 4.x
<enebo> ah yeah they are on 6.x
<headius> looks like 6 is "very customizable" when it comes to detecting JDK, error handling, etc
<headius> I don't see anything about msi though
<enebo> 700$ for single dev license
<enebo> with no upgrades
<headius> at least one forum post says they have no plans to publish an MSI because the two are "different concepts"
<enebo> hmm
<headius> it must be weird in the world of installers if those two are considered "different concepts"
<enebo> ok well I say we limp this along and look at free msi installers at some point
<headius> anyway, every IT department I know either handles non-MSI stuff or wouldn't be installing Java, much less JRuby
<chrisseaton> When I was a teenager I remember desperately wanting something like InstallShield to make my apps look more professional :)
<chrisseaton> That blue gradient background during install meant you were a proper developer back then
<headius> chrisseaton: I published a piece of shareware for some years in the 90s using a free installer
<headius> if I had a few beers I might remember what the installer was called
<headius> the software was Hack-It...as far as I know it still works and I still get people trying to register it
<headius> enebo: ok, so back to biz
subbu has joined #jruby
<headius> I'm only afraid enough of the crypto hack to get a thrill, like riding a roller coaster
<headius> removing jre from installers mitigates the last concern I think
<headius> so there it is...moving on
<headius> all builds have been green at some point during the past few days :-)
<headius> they probably aren't right now
<headius> failure on 1.7 last night looked like a JDK6 bug and I haven't done anything about that yet
<headius> some thread-safety issue deep inside jsse
havenwood has joined #jruby
<headius> bbrowning found a memory leak in 1.7.20 related to recent JI fixes and work, so I'll be working on that and greening up build today
<enebo> headius: ok but pre2 first then 1.7.20 since both will not happen in 1 day
<headius> some person called gazay has been around on and off reducing rails failures, so you may see a few of those bugs reported
<enebo> headius: and I have to pick Valerie up at 1:30 today
<headius> ok
<enebo> headius: so I plan on building bits and having it ready
<enebo> headius: I just hope nothing is found :)
<headius> the JI work is the same in 1.7.20 and 9k so I will do it in 1.7 and merge
<headius> but I'll make sure 9k is green first
<enebo> headius: ok. I will then probably mostly just make sure dist bits are consistent and windows more or less works
<headius> yeah cool
<headius> I'll keep you posted and try to do the minimal fix for bbrowning issue
<headius> bbrowning: how fast can you turn around confirmation once I get fix in?
<bbrowning> headius: 1.5 hours or so, probably? have to build jruby, build TB, run TB3 integs
<bbrowning> it takes about 30 minutes into the integs for the OOM to start showing up
<headius> ok
<headius> I'll work quickly, like a MASH doctor
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo pushed 1 new commit to master: http://git.io/vfalC
<JRubyGithub> jruby/master d77456d Thomas E. Enebo: Remove JRE installer media entries from windows installer
JRubyGithub has left #jruby [#jruby]
<bbrowning> you don't have to rush on my behalf
<headius> well, I'm rushing for pre2
<headius> and I'm not rushin' cuz I'm not Russian
baroquebobcat has joined #jruby
<enebo> bbrowning: it’s always about you
benlovell has quit [Ping timeout: 248 seconds]
<bbrowning> enebo: hey you asked to to test against 1.7.20 :)
<enebo> bbrowning: :)
<enebo> bbrowning: you can’t spell bbrowning without I
camlow325 has joined #jruby
<Aethenelle> gonna be in san jose next week if anyone wants to meetup...
mkristian has joined #jruby
e_dub has joined #jruby
rcvalle has joined #jruby
<nirvdrum> enebo lives!
<mkristian> enebo, your psych problem is a new one but it is due to fact that gem install uses the jruby from the build which has no psych installed but needs psych to install the psych gem
<enebo> mkristian: yeah i noticed it uses itself
<enebo> mkristian: we talked about an ENV var for working around this (which I guess would only be used for dist’ing
<mkristian> enebo, this is a local branch of yours ? do not see 9.0.0.0.pre2 anywhere
<enebo> mkristian: I only changed VERSIONS and a dump:poms so other than a few random line changes from that tool it is only a version update commit
<enebo> mkristian: I do not push that commit because I am only testing that disting works
kares has joined #jruby
<mkristian> enebo, give me an hour to find a way - otherwise we use jruby-1.7.12 for installing psych
<enebo> mkristian: ok
travis-ci has joined #jruby
<travis-ci> jruby/warbler (2.x-dev:c121f66 by Joe Kutner): The build failed. (http://travis-ci.org/jruby/warbler/builds/59894040)
travis-ci has left #jruby [#jruby]
kares has quit [Client Quit]
kares has joined #jruby
<mkristian> enebo, I never got to this ENV or build.properties settings. will do it now
<enebo> mkristian: ok
<mkristian> enebo, ok - will change me VERSION and go from there
<enebo> mkristian: yeah. I think you will see a couple of extra lines written out to poms here and there
<enebo> mkristian: seems like minor difference between pom.rb and generated poms
skade has joined #jruby
mrmargolis has quit [Ping timeout: 256 seconds]
<headius> Aethenelle: ahh nice...I wish I were going to be out there too :-)
<nirvdrum> I suspect if there were ruby-build/RVM/ruby-install on Windows, you'd see less of a desire for a JRuby installer. I think there's one project kinda trying to do it, but I'm not sure where it's at.
<Aethenelle> headius: the week after is near philadelphia...
<mkristian> mkristian, I do see version changes and a one or two extra <jruby.home> lines
mrmargolis has joined #jruby
<enebo> nirvdrum: there is one but I cannot remember its name
donValentin has joined #jruby
donV has quit [Ping timeout: 265 seconds]
mitchellhenke has quit [Read error: Connection reset by peer]
mitchellhenke has joined #jruby
<chrisseaton> I think the last truffle-core failure might have been a fluke - I'll see how it goes again
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] kares pushed 1 new commit to jruby-1_7: http://git.io/vfa5U
<JRubyGithub> jruby/jruby-1_7 f7b8a8a kares: deprecation warning when using the old `__jsend!` internal method (no longer in 9K)
JRubyGithub has left #jruby [#jruby]
<rtyler> mkristian: YO
<rtyler> mkristian: while you were out yesterday Dirk got pwnt by that "+" in the jar filename issue again; what's left on your plate for 1.7.20?
lanceball is now known as lance|afk
subbu is now known as subbu|afk
pietr0 has joined #jruby
mrmargolis has quit [Read error: Connection reset by peer]
mrmargolis has joined #jruby
<headius> kares: got a moment to review this change?
<kares> headius: yy
<headius> pushing in a moment
<headius> sorry, I just realized a problem with it
<headius> it will be a while
bbrowning is now known as bbrowning_away
<kares> ok - np
<tarcieri> _____ ____ ___ ____ _ __ ___ _ _
<tarcieri> | ___| _ \|_ _| _ \ / \\ \ / / | | |
<tarcieri> | |_ | |_) || || | | |/ _ \\ V /| | | |
<tarcieri> | _| | _ < | || |_| / ___ \| | |_|_|_|
<tarcieri> |_| |_| \_\___|____/_/ \_\_| (_|_|_)
<tarcieri>
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:d77456d by Thomas E. Enebo): The build passed. (http://travis-ci.org/jruby/jruby/builds/59894665)
travis-ci has left #jruby [#jruby]
zorak8 has quit [Ping timeout: 252 seconds]
subbu|afk is now known as subbu
drbobbeaty has quit [Read error: Connection reset by peer]
drbobbeaty has joined #jruby
elia has quit [Quit: Computer has gone to sleep.]
zorak8 has joined #jruby
zorak8 has quit [Max SendQ exceeded]
zorak8 has joined #jruby
shellac has quit [Ping timeout: 276 seconds]
mkristian has quit [Ping timeout: 276 seconds]
bbrowning_away is now known as bbrowning
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian pushed 1 new commit to master: http://git.io/vfVZZ
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> jruby/master ae2428c Christian Meier: do not use local jruby for executing ruby code during build...
mkristian has joined #jruby
temporalfox has quit [Quit: Textual IRC Client: www.textualapp.com]
temporalfox has joined #jruby
<mkristian> enebo, I pushed a fix which will not use the jruby from the build - to get this work without psych is not quick fix it at all possible
drbobbeaty has quit [Read error: Connection reset by peer]
drbobbeaty has joined #jruby
<enebo> mkristian: yeah ok. fwiw, I prefer using stable older version anyways
<enebo> mkristian: thanks. I will try another build
subbu is now known as subbu|away
<mkristian> enebo, if it works then let's keep it that way until someone ask for it :)
<enebo> mkristian: ok :)
fivebats has quit [Quit: quit]
e_dub has quit [Quit: ZZZzzz…]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (jruby-1_7:f7b8a8a by kares): The build failed. (http://travis-ci.org/jruby/jruby/builds/59903607)
travis-ci has left #jruby [#jruby]
chamila has quit [Ping timeout: 246 seconds]
subbu|away is now known as subbu
<enebo> mkristian: I still see this error
<enebo> <jruby.plugins.version>1.0.9</jruby.plugins.version>
rjnienaber has quit [Quit: Page closed]
<enebo> mkristian: I actually se many of this tag in various poms with various versions
kares has quit [Ping timeout: 246 seconds]
<codefinger> what does this error imply: https://travis-ci.org/jruby/warbler/jobs/59909271#L551-L561 I see it locally if I accidentally leave my JDK at version 7. But travis is supposed to be using 8.
travis-ci has joined #jruby
<travis-ci> jruby/warbler (2.x-dev:5bc5567 by Joe Kutner): The build is still failing. (http://travis-ci.org/jruby/warbler/builds/59909269)
travis-ci has left #jruby [#jruby]
zorak8 has quit [Quit: Leaving]
<headius> codefinger: not coming up for me, can you gist it please?
lance|afk is now known as lanceball
<codefinger> it occurs on a handful of specs that use jrubyc (from within warbler)
lanceball is now known as lance|afk
<codefinger> i'd have to play around somemore, but it seems i can reproduce it by running `rvm install jruby-9k` with JDK7, and then running `jruby ...` with JDK8. Is that possibly a cause?
<codefinger> maybe that's wrong, i just got the same on jdk8. too many variables...
<bbrowning> codefinger: perhaps StandardASMCompiler doesn't exist in 9k?
<bbrowning> I don't see it
yipdw_ is now known as yipdw
yipdw has joined #jruby
yipdw has quit [Changing host]
<bbrowning> codefinger: so I'd expect this to fail any time it's run under jruby 9k, regardless of JVM version
<codefinger> warbler has a little jar in it. i think i may need to recompile that against jruby-9k
<headius> yeah that class is gone in 9k
<bbrowning> so warbler provides StandardASMCompiler in 9k?
<headius> ahh pre1
<headius> I fixed that post-pre1
<headius> codefinger: I have not done a great deal of testing of the new AOT impl...looks like you're hitting that here
<headius> if you run with a snapshot you should at least get past that
<codefinger> cool, i'll give it a try
<codefinger> is pre2 close to dropping?
<headius> very
x1337807x has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (jruby-1_7:f7b8a8a by kares): The build failed. (http://travis-ci.org/jruby/jruby/builds/59903607)
travis-ci has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius created test-proxy-leak (+1 new commit): http://git.io/vfV7M
<JRubyGithub> jruby/test-proxy-leak 2bdfb5a Charles Oliver Nutter: Eliminate proxy leak by adding pre/post to unfinished proxy check.
JRubyGithub has left #jruby [#jruby]
<headius> enebo: review plz ^
<headius> bbrowning: test plz ^
<headius> lunch break!
<bbrowning> testing
baroquebobcat has quit [Quit: baroquebobcat]
baroquebobcat has joined #jruby
djbkd has joined #jruby
<enebo> headius: I am mostly confused by the commit message vs the link showing what changed
<enebo> headius: I do not see any pre/post stuff unless this is indirect effect
e_dub has joined #jruby
<headius> it's there
lance|afk is now known as lanceball
subbu is now known as subbu|lunch
<headius> bottom of JavaSupport.createProxyClassForClass
<headius> I moved the creation of the actual proxy object earlier in the process and move the "unfinished" pre/post logic here
<headius> this logic (and commits before it) replaces some Bill Dortch code for thread-local recursion on a given class while setting up proxy
<enebo> oohh…beginProxy and endProxy
mkristian has quit [Ping timeout: 248 seconds]
subbu|lunch has quit [Ping timeout: 264 seconds]
<enebo> yeah this seeks reasonable to make locked entry and remove it
<enebo> gotta go to airport
mkristian has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian pushed 1 new commit to master: http://git.io/vfwv0
<JRubyGithub> jruby/master 46f43bb Christian Meier: remove more jruby.home properties from build...
JRubyGithub has left #jruby [#jruby]
cremes has quit [Quit: cremes]
<headius> bbrowning: I will wait to hear from you before I do anything else with this
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cremes has joined #jruby
<bbrowning> headius: ok - integs are running now so should know something in the next 30 mins or so
<headius> ok
havenwood has quit []
<headius> I'm going to drink my coffee-lunch and peek at travis failures
havenwood has joined #jruby
mkristian has quit [Ping timeout: 244 seconds]
mkristian has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (test-proxy-leak:2bdfb5a by Charles Oliver Nutter): The build has errored. (http://travis-ci.org/jruby/jruby/builds/59920356)
travis-ci has left #jruby [#jruby]
<headius> codefinger: are you the jruby guy at heroku now?
<codefinger> i am
<codefinger> i'm basically responsible for all the jvm langauges
<codefinger> so don't create any new ones!
e_dub has quit [Quit: ZZZzzz…]
<codefinger> SNAPSHOT fixed that error bte!
<codefinger> s/bte/btw/
mkristian has quit [Ping timeout: 244 seconds]
e_dub has joined #jruby
<headius> ok good
elia has joined #jruby
<bbrowning> headius: with your leak fix branch all TB3 integ tests are green
<bbrowning> no OOMs hit
<bbrowning> I doubt we exhaustively exercise java integration, but we do at least use it some and it all worked.
e_dub has quit [Quit: ZZZzzz…]
<headius> bbrowning: excellent, thank you
<headius> I'm on a roll today
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
e_dub has joined #jruby
<codefinger> headius: i have another jrubyc question. can't get the major version in a class file below 51. expected? https://gist.github.com/jkutner/b181846c804f81e12b49
<codefinger> (using 9k SNAPSHOT again)
yfeldblum has joined #jruby
<headius> expected... 9k depends on Java 7+
<codefinger> coll
<codefinger> cool
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish pushed 1 new commit to master: http://git.io/vfw8g
<JRubyGithub> jruby/master e371995 Brandon Fish: [Truffle] Add File.symlink POSIX node.
JRubyGithub has left #jruby [#jruby]
subbu|lunch has joined #jruby
subbu|lunch is now known as subbu
chamila has joined #jruby
<headius> man, if we could use java 8 we could use lambdas
<headius> that would be so slick
<headius> and it would totally kill merging from 1.7 because I can see using lambdas everywhere
<nirvdrum> Keep in mind the Ruboto problem :-/
<headius> there is that :-\
<nirvdrum> But I sure would love to use default methods.
<headius> we just need a substrate vm build for android
<headius> android could adopt java 8 syntax if they convert the lambda bootstraps into lazy static init of inner classes
<nirvdrum> I've advocated in the past for keeping a long-term 1.7 branch around for Android, but I suspect limiting to 1.9 support would be problematic for people as the ecosystem embraces 2.0+ features.
<headius> nirvdrum: yeah, 1.9 is a little far behind now
<nirvdrum> There is retrolambda.
<nirvdrum> I'm not sure if there are similar tools for other Java 8 features.
<nirvdrum> And the classlib would still be problematic.
<headius> I just found that too
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:e371995 by Brandon Fish): The build was broken. (http://travis-ci.org/jruby/jruby/builds/59928855)
travis-ci has left #jruby [#jruby]
<headius> we could get rid of joda dependency too
<headius> java.time is basically joda redone
<headius> sigh
<headius> I wish Google and Oracle would shake and make up
<nirvdrum> Harmony being dead would remain problematic, too, I think.
<headius> related: why would you make a blog with no dates on it
ivan\ has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
<headius> how old is this article? BEATS ME?
<headius> er !
<chamila> headius: https://www.saikoa.com/blog/201412 december 2014
<nirvdrum> It's a newer trend companies are employing to help look like the content is always fresh/accurate.
<nirvdrum> I do not like it.
<nirvdrum> The date removal is a more recent innovation in that field.
ivan\ has joined #jruby
havenwood has quit [Remote host closed the connection]
pjammer has joined #jruby
baroquebobcat has quit [Quit: baroquebobcat]
djbkd has quit [Remote host closed the connection]
mrmargolis has quit [Remote host closed the connection]
mrmargolis has joined #jruby
<headius> nirvdrum: agreed, I can't rely on any blog post I can't date
<headius> chamila: thank you
<headius> nirvdrum: it's about ethics in programming journalism
<headius> is travis-ci.org down?
<headius> donValentin: how eager are you to use 9k on Android?
<headius> bjfish2: somethign seriously busted in this build: https://travis-ci.org/jruby/jruby/builds/59928855
<headius> I can try restarting -Ptest and see if it was a glitch, after you look at the errors
<headius> previous master build was green
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 1 new commit to jruby-1_7: http://git.io/vfwiC
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> jruby/jruby-1_7 f7d09d0 Charles Oliver Nutter: Merge branch 'test-proxy-leak' into jruby-1_7
<bjfish2> headius could a truffle change make -Ptest fail?
baroquebobcat has joined #jruby
<headius> if some boot logic were broken by a change, sure
<headius> I have not looked at the commit
<headius> what I know is it worked before your commit and did not work after :-)
x1337807x has joined #jruby
camlow325 has quit []
<nirvdrum> Looking at the commit, I don't see how it could have broken anything. But I've been known to be wrong before.
pierreatkillbill has quit [Read error: Connection reset by peer]
<bjfish2> headius I don’t see builds for the 2 commits before mine and the last green build
<headius> bjfish2: that's weird
tychobrailleur has joined #jruby
<nirvdrum> mkristian marked them "[skip ci]"
<nirvdrum> And this is why I think that's a feature that shouldn't exist.
<nirvdrum> If you're that confident your changes aren't going to break a build, you have no need for CI at all :-)
<headius> lovely
<headius> ok
<headius> after I get this merge done I'll have a look
<headius> maybe my post-programming job should be firefigther
pierreatkillbill has joined #jruby
<nirvdrum> Heh.
<nirvdrum> I see the same failures locally.
<headius> that makes it easier
<headius> looking at the commits while I do a test build of my merge
<headius> ahh yes, removing jruby.home
<headius> so it comes up null somewhere now I bet
<headius> bjfish2: sorry for the blame
camlow325 has joined #jruby
<bjfish2> headius np, when I reverted this locally the tests ran fine: https://github.com/jruby/jruby/commit/46f43bb198566eda09e7db275a1d0acf0821f939
<headius> ok, I'll revert it and I pinged him on gitter
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 3 new commits to master: http://git.io/vfw97
<JRubyGithub> jruby/master a1cb409 Charles Oliver Nutter: Merge remote-tracking branch 'origin/jruby-1_7'...
<JRubyGithub> jruby/master c815260 Charles Oliver Nutter: Use jnr-ffi 2.0.3 to gain ppc64le support....
<JRubyGithub> jruby/master 6fb60a4 Charles Oliver Nutter: Revert "remove more jruby.home properties from build"...
JRubyGithub has left #jruby [#jruby]
<headius> ^^ that contains merged JI leak fix from master, bbrowning...dunno if you ever saw OOM with 9k but kicking off a test would be nice
<headius> if only to confirm I didn't botch the merge
skade has quit [Read error: Connection reset by peer]
skade has joined #jruby
<headius> wow, I didn't know Groklaw shut down over NSA concerns
<headius> am I the only person who doesn't think my emails are even remotely interesting to anyone?
<headius> tarcieri: yo
<nirvdrum> Certainly not the only one.
<nirvdrum> headius: Are you and enebo definitely attending Madison+?
djbkd has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<chamila> Is it possible to define a method in java extension which take 4 parameters?
<chamila> I'm getting "Invalid specific-arity number of arguments", looks like from org/jruby/internal/runtime/methods/InvocationMethodFactory.java
e_dub has quit [Quit: ZZZzzz…]
mrmargol_ has joined #jruby
<headius> nirvdrum: I'm hoping to speak
<headius> chamila: no, sorry, it only supports up to 3
e_dub has joined #jruby
<headius> more than they you have to do IRubyObject[] and check number of args yourself
<headius> they=that
<chamila> headius: so can I expose a method to take 4 parameters, by doing something like that from inside?
mrmargolis has quit [Ping timeout: 264 seconds]
<chamila> or are u suggesting that ruby method itself should take arguements as an array?
cremes has quit [Remote host closed the connection]
cremes has joined #jruby
a5i has quit [Quit: Connection closed for inactivity]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JRubyGithub has joined #jruby
<JRubyGithub> jruby/master 6550480 Christian Meier: remove more jruby.home properties from build
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> [jruby] mkristian pushed 1 new commit to master: http://git.io/vfrT3
nateberkopec has quit [Read error: Connection reset by peer]
nateberkopec has joined #jruby
chamila has quit [Quit: Page closed]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
kares has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius opened issue #2874: Possible autoload issue http://git.io/vfrIu
JRubyGithub has left #jruby [#jruby]
<bbrowning> headius: the TB3 integ suite doesn't run on 9k
<headius> oh ok
<bbrowning> I need to fork it at some point and get some subset working under 9k
<headius> it probably would have OOM the same
<headius> I was just wondering why you didn't tell me 9k failed
<headius> :-)
<bbrowning> most of it probably would work except for various dependencies that don't work on ruby 2.2
bbrowning is now known as bbrowning_away
<pjammer> Could not load FFI Provider: (NotImplementedError) FFI not available: null is this still a thing?
<pjammer> we just changed an instance on our AWS box and 2 rails apps won't start with this error.
<headius> pjammer: it shouldn't be
<headius> "an instance"?
<pjammer> m3.large to c3.2xlarge
<headius> I didn't know this was ever a thing
<pjammer> on AWS
<headius> gist me a full error
<pjammer> k thanks headius
travis-ci has joined #jruby
<travis-ci> jruby/jruby (jruby-1_7:f7d09d0 by Charles Oliver Nutter): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/59933250)
travis-ci has left #jruby [#jruby]
<pjammer> thanks.
<pjammer> all the gory
kares has quit [Ping timeout: 246 seconds]
mitchellhenke has joined #jruby
lanceball is now known as lance|afk
e_dub has quit [Ping timeout: 252 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish closed pull request #2870: [Truffle] Add MRI tests to Travis builds and update the jt tool. (master...truffle_mri_travis) http://git.io/vf0h0
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish reopened pull request #2870: [Truffle] Add MRI tests to Travis builds and update the jt tool. (master...truffle_mri_travis) http://git.io/vf0h0
JRubyGithub has left #jruby [#jruby]
tcrawley is now known as tcrawley-away
<lopex> chrisseaton: wow zippy is also pretty active
<lopex> I wonder where it all goes
<nirvdrum> I still need to check that out.
<lopex> php has seen all kinds of backends like hippy, hack, and others from facebook, but all seems to be go nowhere
<lopex> *going
<nirvdrum> Last I knew, HHVM couldn't run arbitrary PHP.
<lopex> I'm not surprised
<lopex> just wondering how much money went into that
Aethenelle has quit [Quit: Aethenelle]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:6550480 by Christian Meier): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/59941443)
travis-ci has left #jruby [#jruby]
<nirvdrum> I think they use it at the very least. Probably saved them a lot more than it cost.
<lopex> well, otoh, I'm surprised that's the case :)
<lopex> hardware wise ?
<nirvdrum> Yeah. I mean, I'm just speculating.
<lopex> but it seems to be a very narrow portion of code the benefit from
<nirvdrum> But at their scale, a 10% increase in performance has to be huge.
<lopex> it's almost like it would be worth rewriting in another lnaguage
<lopex> yeah
<nirvdrum> I think what they're doing makes sense. Rewriting would not be trivial. And my guess is they're able to hire a bit cheaper by drawing from the PHP pool.
<nirvdrum> Just as I think it makes more sense to make JRuby faster than to rewrite in Go :-)
<lopex> but the effort doesnt seem to be centralized
<lopex> lots of tools, approaches etc
<nirvdrum> Yeah.
<lopex> let's wait for rust hype
x1337807x has joined #jruby
<donValentin> Hi all!
<donValentin> headius: Using 9k on Ruboto would great!
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #jruby
<tarcieri> headius: ohai
<headius> tarcieri: yo
<tarcieri> so I tried all of those changes... and if anything it seems slower o_O
<headius> donValentin: what if that weren't possible until Android supports Java 8 features? :-)
<headius> really?
<tarcieri> worse, VisualVM is crashing and YourKit seems to make it even worse
<donValentin> headius: I have not heard of any plan for Android to ever support Java 8 features.
pipework is now known as |work
<tarcieri> headius: I wish Concurrent::ThreadPoolExecutor had a batch API for submitting work o_O
* tarcieri tries YourKit again...
|work is now known as pipework
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish pushed 1 new commit to master: http://git.io/vfr4V
<JRubyGithub> jruby/master 9f60295 Brandon Fish: [Truffle] Add Kernel#test to kernel.rb.
JRubyGithub has left #jruby [#jruby]
<tarcieri> headius: maybe I should try to completely eliminate any usage of blocks
<donValentin> headius: maybe even Java 8 features.
<headius> tarcieri: don't see why they couldn't add a batch API
subbu has quit [Ping timeout: 265 seconds]
<headius> donValentin: yeah, I think some things work, but not enough for us to switch to 8 *and* start using language features
<tarcieri> headius: I'll keep poking at it and see if I can figure out what the bottleneck is
<headius> ok, keep me posted
<headius> I can try it later too, but bugs right now
<tarcieri> headius: but so far, just reading data out of those arrays and putting it into the pool, I can't seem to get any faster than ~30,000 messages / s
<tarcieri> which was like... a few orders of magnitude slower than I was hoping
<tarcieri> perhaps I should go with my original plan of just reimplementing the whole thing as a Java extension to JRuby, heh
mrmargol_ has quit [Remote host closed the connection]
<lopex> tarcieri: not using blocks is enough of an excuse
<headius> tarcieri: I'm sure we can improve it
<donValentin> headius: We can use JRuby 1.7.x for many months as long as it is supported, but at some time we need to switch to 9k.
<donValentin> headius: JRuby 9k is still loading classes not available on Android: https://github.com/jruby/jruby/issues/2471
<pjammer> headius sorry to bug but anything jump out in that gist? do FFI providers just stop working?
<headius> pjammer: what version of JRuby?
<pjammer> 1.7.9; coworker tried it on 1.9 too same thing
<headius> oh I see
<headius> on 1.9?
<headius> what do you mean by 1.9
<headius> 1.7.19?
travis-ci has joined #jruby
<pjammer> his words. going to see what he meant.
<travis-ci> jruby/jruby (master:6550480 by Christian Meier): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/59941443)
travis-ci has left #jruby [#jruby]
yfeldblum has quit [Remote host closed the connection]
<headius> what changed in the OS when you upgrade your instance?
<pjammer> but on my 1.7,9 and i rebuilt it on rvm
<headius> this would usually be caused by a problem loading the native part of FFI
<pjammer> is that libffi?
<headius> try passing -w, -d, -Xnative.verbose=true to get some logging
<pjammer> i asked our company that actually did the change, but they went from a smaller instance to a bigger one.
<headius> the native part = libffi plus our JNI wrapper around it
Aethenelle has joined #jruby
yfeldblum has joined #jruby
<pjammer> headius when you say passing -w... you mean on trinidad in it's config when it boots up?
<pjammer> sorry this is new to me.
djbkd has quit [Remote host closed the connection]
<pjammer> just for completeness: dpkg --get-selections | grep ffi
<pjammer> libffi6:amd64install
<headius> pjammer: passing to JRuby, however you start it
<pjammer> thanks.
<headius> pjammer: oh! I bet I know what it is!
<headius> check and see if the new instance is something like SELinux or a secure variant of something else
<headius> our FFI impl is shipped inside the JRuby jar, so it has to unpack itself to /tmp to run
<headius> on a secure linux env, /tmp is disallowed from loading executable code
<pjammer> there is a butt load of bundler and jffi there already
<pjammer> jffi2438405629483406191.tmp
<pjammer> but the OS is ubuntu
<headius> yeah we fixed a bug where it was leaving those tmp files behind
<pjammer> getting rid of those won't help would it
<headius> probably not
<pjammer> dang. lol
<headius> delete them and try again though
<headius> then see what's in the one dir
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish pushed 1 new commit to master: http://git.io/vfraP
<JRubyGithub> jruby/master 7d07f90 Brandon Fish: [Truffle] Adding Rubinius::ByteArray#set_byte method.
JRubyGithub has left #jruby [#jruby]
<pjammer> thanks. will try
mitchellhenke has quit [Quit: Computer has gone to sleep.]
subbu has joined #jruby
bjfish2 has quit [Quit: bjfish2]
<pjammer> headius is that file supposed to go away and come back even if webserver is stopped?
<pjammer> curious is all.
e_dub has joined #jruby
<tarcieri> I don't have that particular code checked in yet...
<tarcieri> but that's the sampler profile in VisualVM
<headius> pjammer: what do you see in the dir?
<headius> or the file or whatever
<headius> like `file jffi1234...`
<headius> tarcieri: hmmm
<headius> you must be using java_send or java_method somewhere?
<headius> getMethod is only used for those
<tarcieri> headius: I'm guessing this is probably in concurrent-ruby somewhere...
<headius> ah
<headius> that could be
<tarcieri> like, this is just a tight loop trying to feed data to a ThreadPoolExecutor
<headius> right
<tarcieri> like, Celluloid does a bunch of crazy crap
<headius> looking
<tarcieri> and in a similar usage pattern, I get 78814.2 (±5.3%) i/s - 394174 in 5.020000s with Celluloid
<headius> ugh.
<tarcieri> same hardware
<tarcieri> heh
<headius> I think I found it
<tarcieri> nice
<headius> oh jeez
<headius> every submit they're doing executor.java_method
<tarcieri> :(
<headius> creating an array of types for the call, looking up method via reflection, building a Method object around it
<tarcieri> yeah like, I started doing this in hopes that I could make something faster than Celluloid
<headius> and then they call it and throw it away
<tarcieri> :(
<headius> gimme a sec
enebo has quit [Quit: enebo]
<headius> here's a patch, I'm confirming it doesn't break
mitchellhenke has joined #jruby
a5i has joined #jruby
<headius> there's some weird stuff in here
<headius> tarcieri: I gotta run but we should continue this tomorrow
<headius> see if that patch works
<tarcieri> sweet
<tarcieri> I'll commit my changes that get rid of all of the blocks
<tarcieri> and replace them with nice imperative loops that Rubyists hate ;)
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<lopex> embrace it with composition
e_dub has quit [Quit: ZZZzzz…]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
x1337807x has joined #jruby
rcvalle has quit [Quit: rcvalle]
djbkd has joined #jruby
cultureulterio-1 has quit [Quit: cultureulterio-1]
x1337807_ has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:9f60295 by Brandon Fish): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/59948917)
travis-ci has left #jruby [#jruby]
<headius> pjammer: file a bug for this and report back about the new instance's OS
<headius> nite all
<nirvdrum> Later.
x1337807_ has quit [Client Quit]
Aethenelle has quit [Quit: Aethenelle]
x1337807x has quit [Ping timeout: 256 seconds]
x1337807_ has joined #jruby
codefing_ has joined #jruby
codefinger has quit [Read error: Connection reset by peer]
camlow325 has quit [Remote host closed the connection]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:9f60295 by Brandon Fish): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/59948917)
travis-ci has left #jruby [#jruby]
pierreatkillbill has quit [Ping timeout: 250 seconds]
marr has quit [Read error: Connection reset by peer]
subbu has quit [Ping timeout: 255 seconds]
donValentin has quit [Quit: donValentin]
djbkd has quit [Quit: My people need me...]
<pjammer> has anyone ever had Could not load FFI Provider errors?