drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<chrisseaton> It's the Map interface methods - they are implemented to do the unboxing
<colinsurprenant_> ah. and it does deep unboxing too it seems
pietr0 has quit [Ping timeout: 264 seconds]
nateberkopec has quit [Quit: Leaving...]
jeremyevans has joined #jruby
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
marr has quit [Ping timeout: 256 seconds]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:7551aa7 by Charles Oliver Nutter): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64476171)
travis-ci has left #jruby [#jruby]
rcvalle has quit [Quit: rcvalle]
havenwood has quit [Ping timeout: 258 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum closed issue #2999: [Truffle] Argument values assigned to local variables not available in block http://git.io/vkCRq
JRubyGithub has left #jruby [#jruby]
colinsurprenant_ has quit [Quit: colinsurprenant_]
pjammer has joined #jruby
elia has quit [Read error: Connection reset by peer]
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
camlow32_ has joined #jruby
momomomomo has joined #jruby
camlow325 has quit [Ping timeout: 244 seconds]
camlow32_ has quit [Ping timeout: 250 seconds]
joast has quit [Quit: Leaving.]
Aethenelle has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:e0b1489 by Charles Oliver Nutter): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64477187)
travis-ci has left #jruby [#jruby]
colinsurprenant has joined #jruby
colinsurprenant has quit [Client Quit]
nateberkopec has joined #jruby
colinsurprenant has joined #jruby
momomomomo has quit [Quit: momomomomo]
nateberkopec has quit [Quit: Leaving...]
Aethenelle has quit [Quit: Aethenelle]
bjfish2 has quit [Quit: bjfish2]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/vk8UP
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> jruby/master fe2dad8 Kevin Menard: [Truffle] Allow writing long values to pointer locations.
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:4e32aae by Kevin Menard): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64485055)
travis-ci has left #jruby [#jruby]
nirvdrum has quit [Ping timeout: 276 seconds]
mrmargolis has joined #jruby
mrmargolis has quit [Read error: Connection reset by peer]
mrmargolis has joined #jruby
vikaton has quit []
djbkd has quit [Quit: My people need me...]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:fa71f85 by Chris Seaton): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64500408)
travis-ci has left #jruby [#jruby]
momomomomo has joined #jruby
subbu has joined #jruby
subbu has quit [Quit: Leaving]
mrmargolis has quit [Remote host closed the connection]
momomomomo has quit [Quit: momomomomo]
momomomomo has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:fe2dad8 by Kevin Menard): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64510874)
travis-ci has left #jruby [#jruby]
momomomomo has quit [Quit: momomomomo]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum closed issue #2942: [Truffle] Bad frame descriptor args in module_exec http://git.io/vU594
JRubyGithub has left #jruby [#jruby]
iamjarvo has joined #jruby
nirvdrum has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/vk8Kd
<JRubyGithub> jruby/master 0385b17 Kevin Menard: [Truffle] Re-added and tweaked some Fixnum lowering.
JRubyGithub has left #jruby [#jruby]
nirvdrum has quit [Ping timeout: 264 seconds]
e_dub has quit [Quit: Leaving]
iamjarvo has quit [Quit: Textual IRC Client: www.textualapp.com]
e_dub has joined #jruby
dinfuehr has quit [Remote host closed the connection]
cremes has quit [Ping timeout: 245 seconds]
camlow325 has joined #jruby
cremes has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:0385b17 by Kevin Menard): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64521797)
travis-ci has left #jruby [#jruby]
skade has joined #jruby
rsim has joined #jruby
mikemar10 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dinfuehr has joined #jruby
deobalds has joined #jruby
travis-ci has joined #jruby
<travis-ci> kares/jruby (jruby-1_7:67dbcbd by kares): The build has errored. (http://travis-ci.org/kares/jruby/builds/64235348)
travis-ci has left #jruby [#jruby]
travis-ci has joined #jruby
<travis-ci> kares/jruby (jruby-1_7:15e425e by kares): The build failed. (http://travis-ci.org/kares/jruby/builds/64389183)
travis-ci has left #jruby [#jruby]
colinsurprenant has quit [Quit: colinsurprenant]
havenwood has joined #jruby
camlow325 has quit [Remote host closed the connection]
travis-ci has joined #jruby
<travis-ci> kares/jruby (jruby-1_7:67dbcbd by kares): The build has errored. (http://travis-ci.org/kares/jruby/builds/64235348)
travis-ci has left #jruby [#jruby]
bb010g has quit [Quit: Connection closed for inactivity]
skade has quit [Quit: Computer has gone to sleep.]
mister_solo has joined #jruby
deobalds has quit [Quit: Computer has gone to sleep.]
skade has joined #jruby
mister_s_ has joined #jruby
mister_solo has quit [Ping timeout: 264 seconds]
elia has joined #jruby
travis-ci has joined #jruby
<travis-ci> kares/jruby (jruby-1_7:d8aa8af by kares): The build was fixed. (http://travis-ci.org/kares/jruby/builds/64530281)
travis-ci has left #jruby [#jruby]
mister_solo has joined #jruby
mister_s_ has quit [Ping timeout: 258 seconds]
marr has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] kares pushed 9 new commits to jruby-1_7: http://git.io/vk4lh
<JRubyGithub> jruby/jruby-1_7 fa690dc kares: context.nil instead of getRuntime().getNil()
<JRubyGithub> jruby/jruby-1_7 46c7d68 kares: mark select in RubyHash as 1_8 compat since there's a select19 for 1_9
<JRubyGithub> jruby/jruby-1_7 20e3382 kares: avoid (local) context ref over-head + refactor to context.nil esp. in anon-class methods...
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] kares closed issue #2907: Hash#take_while wrong behavior in 1.7.19 http://git.io/vJ1kM
JRubyGithub has left #jruby [#jruby]
simi has quit [Ping timeout: 272 seconds]
thsig has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
havenwood has quit [Ping timeout: 250 seconds]
vtunka has joined #jruby
drbobbeaty has joined #jruby
mister_solo has quit [Ping timeout: 265 seconds]
JRubyGithub has joined #jruby
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> [jruby] gsamokovarov opened pull request #3002: Don't warn on private attribute accessors to match CRuby (master...private-attrs-no-longer-produce-warnings) http://git.io/vk4gX
simi has joined #jruby
mister_solo has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jeremyevans has quit [Ping timeout: 246 seconds]
mister_solo has quit [Ping timeout: 265 seconds]
mister_solo has joined #jruby
mister_solo has quit [Remote host closed the connection]
mister_solo has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian pushed 1 new commit to master: http://git.io/vk4i1
<JRubyGithub> jruby/master 45f25bf Christian Meier: [build] add an alternative to the torquebox repo
JRubyGithub has left #jruby [#jruby]
mkristian has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] testors opened issue #3003: no TypeError when use FFI callback with invalid return type http://git.io/vk4Pf
JRubyGithub has left #jruby [#jruby]
mister_solo has quit [Remote host closed the connection]
mister_solo has joined #jruby
camlow325 has joined #jruby
<mkristian> travis seems to be working again
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian pushed 1 new commit to master: http://git.io/vk4XW
<JRubyGithub> jruby/master f50b495 Christian Meier: jruby-dist-bin200.tar.gz grew bigger
JRubyGithub has left #jruby [#jruby]
camlow325 has quit [Ping timeout: 246 seconds]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (test-search-extension-libraries:ee76b6f by Christian Meier): The build failed. (http://travis-ci.org/jruby/jruby/builds/64212732)
travis-ci has left #jruby [#jruby]
nateberkopec has joined #jruby
elia has quit [Read error: Connection reset by peer]
elia has joined #jruby
mister_solo has quit [Ping timeout: 264 seconds]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:f50b495 by Christian Meier): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64546898)
travis-ci has left #jruby [#jruby]
nateberkopec has quit [Quit: Leaving...]
drbobbeaty has joined #jruby
thsig has quit [Remote host closed the connection]
nirvdrum has joined #jruby
elia has quit [Quit: Computer has gone to sleep.]
nateberkopec has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 5 new commits to master: http://git.io/vkBZE
<JRubyGithub> jruby/master c69b44e Benoit Daloze: [Truffle] The parser detects invalid breaks, so we can assert.
<JRubyGithub> jruby/master 96f3e87 Benoit Daloze: Add spec for break in a block executed inside a while.
<JRubyGithub> jruby/master 2e67fd9 Benoit Daloze: [Truffle] Create a "break" ID for while too.
JRubyGithub has left #jruby [#jruby]
nateberkopec has quit [Quit: Leaving...]
thsig has joined #jruby
nateberkopec has joined #jruby
phlebas has joined #jruby
dabradley has quit [Ping timeout: 265 seconds]
elia has joined #jruby
dabradley has joined #jruby
dinfuehr_ has joined #jruby
dinfuehr has quit [Ping timeout: 246 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to truffle-head: http://git.io/vkB0q
<JRubyGithub> jruby/truffle-head 33768a5 Chris Seaton: Merge branch 'master' into truffle-head
JRubyGithub has left #jruby [#jruby]
dinfuehr_ has quit [Ping timeout: 245 seconds]
tcrawley-away is now known as tcrawley
pjammer has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:18e602d by Benoit Daloze): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64560175)
travis-ci has left #jruby [#jruby]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:18e602d by Benoit Daloze): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64560175)
travis-ci has left #jruby [#jruby]
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
vikaton has joined #jruby
skade has joined #jruby
travis-ci has joined #jruby
<travis-ci> kares/jruby (jruby-1_7:1a31e3d by kares): The build has errored. (http://travis-ci.org/kares/jruby/builds/64566078)
travis-ci has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 2 new commits to master: http://git.io/vkBXG
<JRubyGithub> jruby/master 3ee92de Chris Seaton: [Truffle] Remove RubyUnboundMethod class.
<JRubyGithub> jruby/master ba06032 Chris Seaton: [Truffle] Remove RubyMethod class.
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] deepj opened issue #3004: JRuby 9k doesn't call a rack method in Lotus::Controller tests but MRI yes http://git.io/vkByh
JRubyGithub has left #jruby [#jruby]
sholden has joined #jruby
travis-ci has joined #jruby
<travis-ci> kares/jruby (jruby-1_7:1a31e3d by kares): The build was broken. (http://travis-ci.org/kares/jruby/builds/64566078)
travis-ci has left #jruby [#jruby]
bjfish2 has joined #jruby
Aethenelle has joined #jruby
mister_solo has joined #jruby
nateberkopec has quit [Quit: Leaving...]
nateberkopec has joined #jruby
havenwood has joined #jruby
lance|afk is now known as lanceball
palacz has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:3ee92de by Chris Seaton): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64569259)
travis-ci has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 1 new commit to master: http://git.io/vkBhE
<JRubyGithub> jruby/master 7d8cdff Benoit Daloze: [Truffle] Fix FindBugs warnings.
JRubyGithub has left #jruby [#jruby]
colinsurprenant has joined #jruby
mister_solo has quit [Ping timeout: 240 seconds]
joast has joined #jruby
tcrawley is now known as tcrawley-away
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish pushed 1 new commit to master: http://git.io/vkRkm
<JRubyGithub> jruby/master 8af0669 Brandon Fish: [Truffle] Add test_monitor to mri test index.
JRubyGithub has left #jruby [#jruby]
colinsurprenant has quit [Quit: colinsurprenant]
subbu has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian pushed 1 new commit to master: http://git.io/vkRtK
<JRubyGithub> jruby/master 392d1e0 Christian Meier: [build] cleanup test/pom.rb
JRubyGithub has left #jruby [#jruby]
phlebas has quit [Ping timeout: 265 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> jruby/master 781a021 Chris Seaton: [Truffle] Empty out RubyArray into ArrayNodes.
<JRubyGithub> jruby/master 4fcc7df Chris Seaton: [Truffle] Empty out RubyHash into HashNodes.
<JRubyGithub> [jruby] chrisseaton pushed 3 new commits to master: http://git.io/vkRmw
<JRubyGithub> jruby/master 3956fba Chris Seaton: [Truffle] Empty out RubyString into StringNodes.
JRubyGithub has left #jruby [#jruby]
pitr-ch has joined #jruby
fuzzyhorns has joined #jruby
<fuzzyhorns> when im using visual vm, why can i never connect to a jruby application process? (sorry for dumb questions)
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:7d8cdff by Benoit Daloze): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64575880)
travis-ci has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 2 new commits to truffle-head: http://git.io/vkRCQ
<JRubyGithub> jruby/truffle-head 9ab30f1 Chris Seaton: Merge branch 'master' into truffle-head...
<JRubyGithub> jruby/truffle-head b221938 Chris Seaton: [Truffle] Fixes to interop after merge - result from RubyMethod having gone.
JRubyGithub has left #jruby [#jruby]
arturaz has quit [Ping timeout: 255 seconds]
<fuzzyhorns> what does 'jruby -S' do? i forget how to look up the flags
<headius> fuzzyhorns: hi there
<headius> -S looks in PATH and jruby's own bin/ for the command that follows
<headius> typically used to make sure you're running that command with the ruby/jruby you expect
<headius> for visualvm you may need to pass --manage to JRuby, and both processes should be running as the same user
<headius> --manage enables our mbeans and sets a JVM property to enable remove monitoring
<fuzzyhorns> oooh i was hoping to look at the mbeans so that sounds perfect
<fuzzyhorns> are they documented anywhere?
<headius> hmm, I don't think so
<headius> they're pretty self-explanatory though, I think I picked ok names :-)
<fuzzyhorns> ok well, when i connect i'll be able to see them :)
<headius> yup yup
Aethenelle has quit [Ping timeout: 272 seconds]
<fuzzyhorns> does —manage have any perf impact that would make it bad to use in prod, btw?
rsim has quit [Quit: Leaving.]
<headius> it doesn't in JRuby, and I don't think it does in the JVM...but it does open ports, so if you use it in production lookup how to restrict it to local addresses or something
colinsurprenant has joined #jruby
<headius> securing JMX monitoring ports is outside my expertise :-{)
<headius> :-)
colinsurprenant has quit [Client Quit]
<kares> fuzzyhorns: headius it also starts the RMI server which worries those doing real-time trading on Java :)
<headius> kares: that's true, good point
<kares> ... but it's not something "ordinary" people care about on production
<headius> I don't know if it does anything when not connected, but I'm sure there's some µs latency caused by periodic scheduling :-)
colinsurprenant has joined #jruby
<kares> headius: that's about what worries them the unpredictability of the schedules
vtunka has quit [Quit: Leaving]
<headius> kares: if you get a chance Gil Tene from Azul did a really interesting talk on how lmax improved latency using zing and other strageies
<headius> it was at goto chicago 2015 but I'm not sure video is up yet
<headius> I didn't even know lmax was a trading firm until his talk...I just associated it with the low-latency scheduler
<headius> that's LMAX in case the font doesn't make it clear
jeremyevans has joined #jruby
<fuzzyhorns> if i wanted to see how many threads have open database connections, what's the best place for me to peek into?
<headius> well that depends how, if at all, the connections are associated with the threads
<fuzzyhorns> yeah, my mental model is pretty sketchy there :/
<headius> you'd need to look at a heap dump most likely
<fuzzyhorns> mm, maybe it's better to just look at the db connection pool
<headius> see which RubyThread instances are live, look at thread-locals for acquired connections, or something
<fuzzyhorns> rather than from the thread side?
<fuzzyhorns> thread-locals?
<headius> yeah, connection pool, or look in heap for all *Connection" objects
<headius> there's no innate association between a thread and a connection...that's framework specific
<headius> so you'd have to know a bit about the framework and how it associates them
<headius> usually, I'd expect them to use a thread-local (e.g. Thread.current[:connection] = conn)
<fuzzyhorns> ah ok
<projectodd-ci> Project jruby-master-spec-ji build #1439: FAILURE in 16 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ji/1439/
dabradley has quit [Ping timeout: 276 seconds]
<kares> fuzzyhorns: the Ruby connection pool is still higher level, if you know what underlying java connection is used you can query those using the Object Query UI on VisualVM
<fuzzyhorns> when I see a jruby process though, that isn't an entire other instance of my app, is it? it's just a ruby thread object? again my mental model is too rough here
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 1 new commit to master: http://git.io/vkRzN
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> jruby/master a6f927d Benoit Daloze: [Truffle] Proper delegation to Cext's require.
<fuzzyhorns> kares: mm, in my case i think the ruby connection pool is handled by the oracle adapter we're using
<fuzzyhorns> (in a rails stack)
<kares> fuzzyhorns: in that case I also recommend -Xreify.classes=true so it's easier to find ActiveRecord::ConnectionAdapters::ConnectionPool ruby class
<kares> but you still have a native JDBC connection ... so maybe that is easier to locate
<headius> sigh
<headius> first bug of the day and it's a framework dependent on the behavior of the specific `sort` impl in MRI
<fuzzyhorns> kares: yeah i tried that at one point, but only for some dumps, does it help when viewing live too?
dabradley has joined #jruby
<kares> fuzzyhorns: yes ... otherwise you'll mostly see org.jruby.RubyClass instances on the Java class side
<kares> fuzzyhorns: for locating connections try: "select c from instanceof java.sql.Connection" http://visualvm.java.net/oqlhelp.html
<fuzzyhorns> sorry on my other q, so, does every jruby process mean a separate ruby interpreter? a separate app instance?
<fuzzyhorns> kares: ooh thank you!
<fuzzyhorns> could i also expose this live?
<kares> keep in mind those will be the native ones ... you will usually track those back to the AR pool
<fuzzyhorns> so many different pools, i get confused
<fuzzyhorns> so a connection in AR pool != 1:1 with actual db connection open at java level?
<kares> fuzzyhorns: there's one - sorry if I got you confused
<fuzzyhorns> ok, so really, i could monitor just from ruby side and have accurate picture?
<kares> each connection in AR pool maps 1:1 to a Java connection ... in most cases
<fuzzyhorns> haha "in most cases"
<kares> those you should not worry ... hopefull
<kares> y
<fuzzyhorns> yeah :|
<projectodd-ci> Project jruby-master-test-slow_suites build #1415: FAILURE in 29 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-test-slow_suites/1415/
<kares> happens e.g. when a JDBC connection is stale it will attempt to checkout a new one ... in the end it's still 1:1 as it drops the old
<kares> on a Ruby level it will seem as if nothing changed the same AR connection object
<fuzzyhorns> gotcha, tricky
<projectodd-ci> Project jruby-master-spec-compiler build #1415: FAILURE in 14 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-compiler/1415/
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius closed issue #3004: JRuby 9k doesn't call a rack method in Lotus::Controller tests but MRI yes http://git.io/vkByh
JRubyGithub has left #jruby [#jruby]
pjammer has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:8af0669 by Brandon Fish): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64578178)
travis-ci has left #jruby [#jruby]
cremes has quit [Remote host closed the connection]
Aethenelle has joined #jruby
donV has joined #jruby
cremes has joined #jruby
havenn has joined #jruby
havenwood has quit [Ping timeout: 265 seconds]
rcvalle has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/vkRHe
<JRubyGithub> jruby/master 4fb5c0f Kevin Menard: [Truffle] Added a bunch of Zlib constants.
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 1 new commit to master: http://git.io/vkRQ4
<JRubyGithub> jruby/master 3607ca6 Benoit Daloze: [Truffle] Remove (int,double) and (double,int) specializations....
JRubyGithub has left #jruby [#jruby]
camlow325 has joined #jruby
camlow325 has quit [Read error: Connection reset by peer]
camlow325 has joined #jruby
<subbu> headius, should I push my patch and see what travis thinks of it? Otherwise, I'll have to run tests, etc. later in the evening / weekend and push after.
<headius> oh I haven't seen it
enebo has joined #jruby
<headius> for the double-ensure?
<subbu> i haven't pushed it.
<subbu> yes.
<headius> yeah go for it
<subbu> ok.
<headius> I will run stuff locally because travis is broken for other reasons
<subbu> i haven't kept track of all the commands I need to run, so I am taking the lazy route.
<mkristian> subbu, I always look in .travis.yaml to find out what to run locally ;)
<subbu> mkristian, ah .. ok.
<subbu> headius, enebo pushed.
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] subbuss closed issue #2993: Many failures in Sequel tests on [RuntimeError] exception expected, not Class: <NoMethodError> Message: <"undefined method `[]' for nil:NilClass"> http://git.io/vkLiI
JRubyGithub has left #jruby [#jruby]
<subbu> headius, enebo the commit message has the full explanation
<subbu> sometimes my commit messages are much longer than the actual code changes ;)
<subbu> but I figure the explanations are useful.
<enebo> KLOCC
<subbu> KLOCC?
<mkristian> I had the feeling travis works better again and I added a second gems repo otto.takari.io to avoid the problems with the TB proxy
<enebo> 1000 lines of commit comments
<subbu> :)
dabradley has quit [Ping timeout: 245 seconds]
<jeremyevans> Just wanted to say thanks for all your help. I think all of the issues that had the Sequel tests failing in pre2 have now been addressed
<projectodd-ci> Project jruby-master-spec-ji build #1440: STILL FAILING in 28 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ji/1440/
palacz has quit [Read error: Connection reset by peer]
dabradley has joined #jruby
travis-ci has joined #jruby
<headius> subbu: excellent, thank you :-)
<travis-ci> jruby/jruby (master:392d1e0 by Christian Meier): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64579419)
travis-ci has left #jruby [#jruby]
baroquebobcat has joined #jruby
<subbu> headius, hopefully travis will agree.
<projectodd-ci> Project jruby-master-test-slow_suites build #1416: STILL FAILING in 22 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-test-slow_suites/1416/
<projectodd-ci> Project jruby-master-spec-compiler build #1416: STILL FAILING in 14 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-compiler/1416/
fuzzyhorns has quit [Quit: Leaving.]
havenn is now known as havenwood
mkristian has quit [Ping timeout: 240 seconds]
<subbu> headius, enebo it might benefit to do a walkthrough of all the exception building and interpret logic since it can help you guys understand what it is, but also more importantly, as I've discovered working at WMF, code review immensely helps in uncovering subtle issues.
<subbu> probably done in person one of these days.
<enebo> subbu: sounds good to me
skade has quit [Quit: Computer has gone to sleep.]
<subbu> headius, enebo ok .. thu / fri afternoon and tue/thu/fri mornings work.
<subbu> oh, builds have been red for a while now.
mkristian has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:3956fba by Chris Seaton): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64579952)
travis-ci has left #jruby [#jruby]
gaustin has joined #jruby
lanceball is now known as lance|afk
tcrawley-away is now known as tcrawley
fuzzyhorns has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] eregon pushed 1 new commit to master: http://git.io/vk0n7
<JRubyGithub> jruby/master 13d3bfb Benoit Daloze: [Truffle] Rename UndefinedPlaceholder to NotProvided for not provided arguments.
JRubyGithub has left #jruby [#jruby]
thsig has quit [Remote host closed the connection]
mister_solo has joined #jruby
<projectodd-ci> Project jruby-master-spec-ji build #1441: STILL FAILING in 16 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ji/1441/
<colinsurprenant> hey! question about jruby ext: my Library load method creates my RubyClass, now how can I retrieve my own RubyClass from a class method (meta = true) to instanciate myself ?
<colinsurprenant> I am currently doing runtime.getModule(“MyModule”).getClass(“MyClass”) but I do not think this is optimal
<projectodd-ci> Project jruby-master-test-slow_suites build #1417: STILL FAILING in 15 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-test-slow_suites/1417/
<projectodd-ci> Project jruby-master-spec-compiler build #1417: STILL FAILING in 16 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-compiler/1417/
camlow325 has quit [Ping timeout: 255 seconds]
elia has quit [Quit: Computer has gone to sleep.]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:a6f927d by Benoit Daloze): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64586332)
travis-ci has left #jruby [#jruby]
djbkd has joined #jruby
simi has quit [Ping timeout: 272 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to truffle-head: http://git.io/vk0PA
<JRubyGithub> jruby/truffle-head 3afa8a5 Jaroslav Tulach: Registering RubyLanguage using @TruffleLanguage.Registration annotation and providing base implementation of its methods.
JRubyGithub has left #jruby [#jruby]
deobalds has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to truffle-head: http://git.io/vk0DF
<JRubyGithub> jruby/truffle-head 2cb91dc Chris Seaton: Merge branch 'master' into truffle-head
JRubyGithub has left #jruby [#jruby]
lance|afk is now known as lanceball
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/vk0H6
<JRubyGithub> jruby/master ac481dd Kevin Menard: [Truffle] Avoid an extra buffer allocation for File.readlink.
JRubyGithub has left #jruby [#jruby]
<nirvdrum> enebo, headius: This is what one of the pointer variants of a posix method looks like: https://github.com/jnr/jnr-posix/commit/75063a29866f4741a1c1cd4f36074e864e8ec18c I mentioned this before and I think there was buy-in, but if you have concerns, please voice them sooner rather than later.
<nirvdrum> bjfish2: I updated File.readlink to pass the allocated buffer pointer straight through to jnr-posix in https://github.com/jruby/jruby/commit/ac481dd8e9e47165514eb57e0a44810c491c911d
camlow325 has joined #jruby
camlow325 has quit [Remote host closed the connection]
camlow325 has joined #jruby
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pjammer has joined #jruby
sholden has quit [Ping timeout: 272 seconds]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:4fb5c0f by Kevin Menard): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64592098)
travis-ci has left #jruby [#jruby]
<enebo> nirvdrum: I don’t remember but how to you crete te pointer?
<nirvdrum> It's a raw buffer created with FFI.
<nirvdrum> But since the new signature takes a long address, you could use something from Unsafe, too.
<enebo> nirvdrum: yeah I think ultimately it would be nice to have it tested in Java in jnr-posix since I don’t think it is clear how do use it
<nirvdrum> I'll add a new test.
<nirvdrum> I think that was me being forgetful.
<enebo> nirvdrum: as far as the need I can see why you would want this…I am just not sure if we can expose pointers in friendlier way
<enebo> nirvdrum: hey I will never point fingers on tests :)
<projectodd-ci> Project jruby-master-spec-ji build #1442: STILL FAILING in 26 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ji/1442/
<nirvdrum> enebo: I could probably change the signature to accept a jnr.ffi.Pointer instead.
<enebo> speaking of tests…is the redness of master being handled? I saw something about DOS or some flakiness
<nirvdrum> If that's preferable. It just means if you want to use Unsafe you'll need to wrap the argument with an FFI Pointer before making the call.
<enebo> nirvdrum: yeah I think my only weirdness to this is levels of abstraction but with that said a pointer to C-alloced thing is pretty reasonable when calling out to C
<enebo> nirvdrum: but jffi pointer might make it easier to document later as well. Especially since there is lots of Java code written using it
<nirvdrum> Okay. I'll change it up.
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to master: http://git.io/vk0At
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> jruby/master 74d26f9 Chris Seaton: [Truffle] Encapsulate Array constructors.
<nirvdrum> enebo: I don't suppose you know what the difference between allocate, allocateDirect, and allocateTemporary is all about, do you?
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<projectodd-ci> Project jruby-master-test-slow_suites build #1418: STILL FAILING in 14 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-test-slow_suites/1418/
<enebo> heh
<enebo> nirvdrum: I do not no
<nirvdrum> I guess I'll trace the source.
<enebo> I meant no but realize it looks like I was trying to type know
<nirvdrum> A couple javadoc comments would have gone a long way :-/
<enebo> polymorphicphoenetics
<chrisseaton> Travis could definitely go a long way to helping us prevent red-rot
<chrisseaton> It could say 'master has been broken for 72 hours now - it broken on this commit - it still needs to be fixed'
<projectodd-ci> Project jruby-master-spec-compiler build #1418: STILL FAILING in 19 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-compiler/1418/
<chrisseaton> nirvdrum: allocateDirect allocates native memory
<chrisseaton> nirvdrum: I think through copying the others will also work as native if you request it, but then of course you're copying
<nirvdrum> Okay. It looked like allocate() was backed by a byte[]. But I didn't look at it too deeply. And Temporary seemed closer to Direct.
<chrisseaton> I was using Unsafe partially because I didn't understand what the others were doing, or who was freeing the memory
<nirvdrum> That's the other part I'm not sure of. Are they smart pointers? I guess so, since I don't see a way to explicitly free them.
<chrisseaton> I think they are... but it's just a guess
<chrisseaton> And sometimes we take a long and store it in a Ruby variable, so that won't work for us
<chrisseaton> nirvdrum: your change the redline doesn't compile for me - do I need to update something?
<nirvdrum> mvn -U, probably.
<nirvdrum> It needs an updated jnr-posix.
pjammer has joined #jruby
<tarcieri> _____ ____ ___ ____ _ __ ___ _ _
<tarcieri> | ___| _ \|_ _| _ \ / \\ \ / / | | |
<tarcieri> | |_ | |_) || || | | |/ _ \\ V /| | | |
<tarcieri> | _| | _ < | || |_| / ___ \| | |_|_|_|
<tarcieri> |_| |_| \_\___|____/_/ \_\_| (_|_|_)
<tarcieri>
subbu is now known as subbu|lunch
baroquebobcat has quit [Quit: baroquebobcat]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to master: http://git.io/vkEUp
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> jruby/master 2d8876d Chris Seaton: [Truffle] Create helpers in RubyNode for creating arrays.
baroquebobcat has joined #jruby
pitr-ch_ has joined #jruby
pitr-ch has quit [Ping timeout: 276 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to master: http://git.io/vkEtL
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> jruby/master 65dfed0 Chris Seaton: [Truffle] Push some overrides from Array, Hash, String down into RubyBasicObject.
mkristian has quit [Ping timeout: 265 seconds]
<nirvdrum> enebo: How about this (with a test even!)? https://github.com/jnr/jnr-posix/commit/af2384021febf75d97fa36be350337a2c7af0b32
<enebo> nirvdrum: nice…intent is way clearer
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:3607ca6 by Benoit Daloze): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64592518)
travis-ci has left #jruby [#jruby]
<enebo> nirvdrum: the aalocateDirect is not so straight-forward but I look at that as a different issue
<nirvdrum> That's only used in a test.
<nirvdrum> It's expected the caller has a Pointer object somehow.
<enebo> nirvdrum: yeah I mostly just meant I look to tests in while learning how to use some methods
<nirvdrum> Ahh.
<enebo> nirvdrum: but this is really nice…way nicer than using a long
<nirvdrum> Yeah. I was just trying to divorce from one implementation. But really, all of jnr is based around FFI so it's not an unreasonable requirement.
<enebo> nirvdrum: I am half surprised we don’t have high level alloc in jnr-posix
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/vkEmj
<JRubyGithub> jruby/master 7509d73 Kevin Menard: [Truffle] Updated File.readlink for new jnr-posix call signature.
JRubyGithub has left #jruby [#jruby]
<enebo> nirvdrum: but probably because we have not made signatures like this
<nirvdrum> As jnr-posix fills out, you may find it worthwhile.
<nirvdrum> I think some of the Java fallbacks JRuby currently has should just be pushed into JavaPOSIX.
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to master: http://git.io/vkE3T
<JRubyGithub> jruby/master 703c6c9 Chris Seaton: [Truffle] Encapsulate the RubyHash constructor.
JRubyGithub has left #jruby [#jruby]
<nirvdrum> chrisseaton: You'll need to mvn -U again, I'm afraid.
<chrisseaton> rgr
<nirvdrum> Something, something, agile.
<enebo> nirvdrum: yeah. agreed. we have this conflict at times over things like process spawning being to semantically made in Ruby’s mold but we do get lazy at times and stick it in JRuby because we do not need to force a jnr-posix release
<fuzzyhorns> hmm, havin trouble connecting to jruby process in visualvm
<fuzzyhorns> any tips i might be missing?
<nirvdrum> enebo, chrisseaton: I could just be reading this wrong, but but it looks like NativeMemoryManager does the same exact thing for allocateDirect and allocateTemporary.
djbkd has quit [Remote host closed the connection]
mkristian has joined #jruby
<fuzzyhorns> every time i try to connect to jruby process visualvm crashes lol
<fuzzyhorns> https://github.com/jruby/jruby/wiki/JMXBeans im following these :/
vikaton has quit []
<fuzzyhorns> yay finally managed it
<fuzzyhorns> no mbeans though ;-;
deobalds has quit [Quit: Computer has gone to sleep.]
<projectodd-ci> Project jruby-master-spec-ji build #1443: STILL FAILING in 26 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ji/1443/
donValentin has joined #jruby
donV has quit [Ping timeout: 245 seconds]
<nirvdrum> chrisseaton: It looks like memory allocations > 256 bytes are automatically cleaned up via a finalizer. If you wanted to eagerly clean up, you can cast to a AllocatedDirectMemoryIO and call dispose. Unfortunately, the dispose method isn't defined in any common base class.
<nirvdrum> If the allocation is <= 256 bytes, it's managed in a magazine.
<nirvdrum> And you can't easily force a disposal.
<projectodd-ci> Project jruby-master-test-slow_suites build #1419: STILL FAILING in 25 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-test-slow_suites/1419/
<nirvdrum> My guess is the allocateDirect originally always allocated directly (no magazine) and allocateTemporary always used the magazine and at some point the determination was made dynamically based upon the buffer size and the two methods converged to have identical behavior.
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:edb6c79 by Subramanya Sastry): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64594899)
travis-ci has left #jruby [#jruby]
<projectodd-ci> Project jruby-master-spec-compiler build #1419: STILL FAILING in 26 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-compiler/1419/
<subbu|lunch> headius, enebo comparing the existing failing builds .. with my patch, the same mri tests are failing before/after => my fix looks good.
pjammer has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
elia has joined #jruby
subbu|lunch is now known as subbu
djbkd has joined #jruby
fuzzyhorns has quit [Quit: Leaving.]
<colinsurprenant> hey! got another question about extensions and type conversions:
<colinsurprenant> I have a wrapped Java class which contains a Map<String, Object> property, when I initialize that from a RubyHash, the (primitive type) key/values in the Map are all automagically converted to native Java object, I have yet to figure out where this takes place. but my question is, this Map can also contain non-primitive value of a Java class that is also wrapped as a Ruby object, I’d like to know what do I need to do for thi
<colinsurprenant> Java class to also be auto-magically :P converted ?
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] bjfish opened issue #3005: Parse error with LC_ALL=en_US.iso88591 http://git.io/vkE6z
JRubyGithub has left #jruby [#jruby]
<nirvdrum> enebo: ^ That looks like another variant of our lexer problem.
<Aethenelle> hrm... flexible array member support in FFI... can't really do that automagically can we?
<headius> man, this frozen hash thing is involved
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 2 new commits to master: http://git.io/vkEMM
<JRubyGithub> jruby/master 4757c64 Chris Seaton: [Truffle] Encapsulate RubyString constructor and remove old helpers.
<JRubyGithub> jruby/master 8370e02 Chris Seaton: [Truffle] New String helpers.
JRubyGithub has left #jruby [#jruby]
<headius> nirvdrum: fine by me on the additional readlink overload
<nirvdrum> headius: Cool. We have consensus!
<headius> enebo: I think the problem is that we don't actively duplicate class variables in a singleton class when cloning it, or something
<headius> I can't reproduce without Lotus's gnarly combinations of modules and included and inherited
<headius> so far
deobalds has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:13d3bfb by Benoit Daloze): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64601807)
travis-ci has left #jruby [#jruby]
<headius> I traced through module duping in MRI and they make copies of instance var table...and then I dug deeper and discovered they implement class vars using the same tables
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:ac481dd by Kevin Menard): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64610617)
travis-ci has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to truffle-head: http://git.io/vkESv
<JRubyGithub> jruby/truffle-head 3e37d1b Chris Seaton: Merge branch 'master' into truffle-head...
JRubyGithub has left #jruby [#jruby]
deobalds has quit [Quit: Computer has gone to sleep.]
<headius> ah-ha
<headius> I think I have it
<enebo> headius: I hope so
<headius> class vars in module methods are going on the module
<enebo> headius: I am also looking at other lotus bugs but they involve metaprogramming
<headius> so after the first Set is created and frozen, all subsequent uses of this module see that frozen Hash
<enebo> headius: they test with patterns like Class.new { include Some::Module } then the include/extend chain goes forth with dup() involved
<headius> these may be related
<headius> they use these class vars in many places
<projectodd-ci> Project jruby-master-spec-ji build #1444: STILL FAILING in 17 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ji/1444/
<enebo> headius: yeah I am wondering since I see classes which should be Foo::Bar -> foo/bar ends up as something completely different
<headius> well this particular Set is called "subclasses" and they appear to do a lot of other class registration in class vars
<headius> do you have an issue for yours?
<enebo> headius: I don’t know what is wrong so no
<enebo> headius: but tons of tests don’t pass
subbu has quit [Ping timeout: 240 seconds]
<enebo> headius: so I have something I can run but not figured out enough of a base cause to make an issue on it
<enebo> nirvdrum: that is a weird issue
<headius> finally have isolated repro of this behavior, at least
<enebo> ./lib/lotus/view/inheritable.rb: @@views ||= [ self ] + subclasses.to_a
<headius> oh shoot...MRI is the same for this
<headius> but I bet the dup is the missing bit
<enebo> yeah so this pattern is only used for three things in lotus/view but it is common
<headius> yup, that's it
<enebo> common in that these seem to be the vars which are wrong
<enebo> headius: man so we are just not dup’ing cvars?
<headius> update my gist
<headius> the original A module still gets the cvar
<enebo> yeah the dups stood out in their extended logic but I did not know why
<headius> so cvar assignment in module methods is always statically going to the containing module, even when dup'ed
<headius> heh, 1.7.20 is the same
<headius> so it's not IR-specific
<headius> just when I think I know how class variables work
<enebo> headius: yeah that was a bit frustrating. they use enough 2.0 logic where I could not test against 1.7
<headius> right...the other case couldn't test against 1.7 either but I reduced it to sort algorithm being different
<enebo> headius: but cvars are init’d in self class they are called from right?
<headius> and that fails in 1.7 too
<headius> enebo: I think this is the distinction between cvar decl and cvar assign
<enebo> so your cvar method would put it into B.class
bb010g has joined #jruby
<headius> in MRI they do go on the module but when you dup the module and call that module method it goes on the dup'ed one
skade has joined #jruby
<headius> we always put it on the original lexically-enclosing module
subbu has joined #jruby
<headius> so we're not doing something right when assigning cvar, in both old and new runtimes
<projectodd-ci> Project jruby-master-test-slow_suites build #1420: STILL FAILING in 25 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-test-slow_suites/1420/
<headius> this looks to be an old bug
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 1 new commit to master: http://git.io/vkEFh
<JRubyGithub> jruby/master 0f72afb Chris Seaton: [Truffle] Set up OM types for Array, Hash and String.
JRubyGithub has left #jruby [#jruby]
lanceball is now known as lance|afk
<projectodd-ci> Project jruby-master-spec-compiler build #1420: STILL FAILING in 25 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-compiler/1420/
pjammer has joined #jruby
<enebo> headius: ah crap
<enebo> headius: in IRBuilder we statically locate A in your snippet
<headius> that's what I figured
<enebo> classVarContainer(false)
<headius> damn you class vars
<enebo> headius: it sort of makes sense we would copy how 1.7 did it in IR too
<headius> yeah 1.7 probably just used cref always?
<enebo> So this is probably always either self or self.class
<enebo> I guess depending on context
dabradley has quit [Ping timeout: 264 seconds]
dabradley has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] MSNexploder opened pull request #3006: add recursion guard in Comparable. Fixes #1111 (master...fix_1111) http://git.io/vkEhD
JRubyGithub has left #jruby [#jruby]
<headius> I'll start walking through cvar assignment in MRI
<enebo> headius: hmmm so I think maybe it uses self and we can call IRRuntimeHelpers.findInstanceMethodContainer
<headius> I think that's right...my mental model of cvars eventually ended up that they basically scope like methods
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:74d26f9 by Chris Seaton): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64612725)
travis-ci has left #jruby [#jruby]
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<headius> heh
<headius> rb_cvar_set(vm_get_cvar_base(rb_vm_get_cref(GET_EP()), GET_CFP()), id, val);
<enebo> there cref and our cref mean something else now
<enebo> so their cref == our dynscope/frame
<headius> CFP is control frame pointer I believe
<enebo> yeah
<enebo> there frame is not all of our frame htough
<headius> what's EP?
<headius> oh, environment pointer
elia has quit [Quit: Computer has gone to sleep.]
<colinsurprenant> I will try to reformulate my question :P - any help appreciated
<enebo> well your snippet works with that change
<colinsurprenant> I have to Java objects with their respective JRuby wrappers: JavaContainerClass & JRubyContainerClass, JavaValueClass & JRubyValueClass. My JavaContainerClass has a Map<String, Object> property. Whenever I set primitive key/values from Ruby in this Map, from Java all key/values have the “primitive” Java classes and vice-versa - this is perfect. Now, if my Map contains a JavaValueClass value, (how) is it possible to have it
<colinsurprenant> auto-boxed as a JRubyValueClass when accessed from Ruby??
<headius> into the bowels of yarv
<colinsurprenant> to Java objects-> two Java objects
<enebo> ah and B has the cvar
<headius> colinsurprenant: JavaValueClass is a Java type?
<colinsurprenant> yes
<colinsurprenant> and JRubyValueClass is its JRuby wrapper
<enebo> headius: HELLS YES
<headius> I'm not sure there's a simple way right now
<enebo> all of lotus/view passes now with that change
<headius> enebo: is B right?
<headius> I didn't check where it's actually going in MRI
<enebo> headius: yeah B is right but zillions of tests now pass on lotus
<headius> well that's promising :-)
<enebo> JRUBY_OPTS=-X-C jrake test
<enebo> rake aborted!
<enebo> NameError: uninitialized class variable @@jars_lock in Jars
<enebo> booo
<mkristian> where is this happening ?
<headius> colinsurprenant: the coercion protocols in 1.7 and earlier are not really customizable...the primitive values get converted, and everything else is wrapped in natural Ruby proxy version of the class
<headius> so it will always come into Ruby as JavaValueClass
<enebo> mkristian: we are fixing some issue involving cvars and I saw this when I tried to run rake
<headius> I have code on the drawing board for 9k I need to land that allows somewhat better customization
vikaton has joined #jruby
<colinsurprenant> headius: ok, thanks. that’s what I wanted to know, so I’ll deal with it “manually”
<colinsurprenant> headius: great if that’s improved in 9k!
<headius> huh, it does go on B...that's unexpected
<headius> if the module isn't dup'ed they go on A
<headius> this seems wrong
<headius> I'm talking MRI behavior here
<enebo> mkristian: do not worry…I am convinced I still have a problem with my fix…the place where this is happening should not be blowing up
<mkristian> enebo, ok - just let me know if it persists. the code looks ok at first glance
<headius> man, I can't make heads nor tails out of MRI's cvar logic
<headius> environment pointers appear to be a linked list of some kind
<enebo> headius: only changed interp and it has some smallish cleanup but it should be a reasonable starting point
<headius> I just wish I could understand this logic
<subbu> headius, enebo what is going on .. i see some cvar chatter ..
<headius> wanna do this right finally
<headius> subbu: it's nothing broken in IR...apparently we've been assigning cvars inside module methods wrong for years
<enebo> subbu: well @@cvar logic is wrong on both 1.7 and master
<headius> or rather, it's nothing IR broke
mistergibson has joined #jruby
<subbu> and use of IRRuntimeHelpers.findInstanceMethodContainer .. but .. the cvar container code in IR builder has always felt like a hack.
<enebo> subbu: we statically determine the module but we cannot
<subbu> i couldn't make sense of the logic back then either.
<enebo> subbu: I saw your comment
<subbu> ok
<enebo> subbu: but your findInstanceMethodContainer logic seems like a reasonable choice offhand
<subbu> ok.
<subbu> so, if you guys can get rid of the ugly crap from IR builder .. then good. :)
<enebo> subbu: in this case IRBuilder would put it on A but we dup’d A so it should be putting it on the dup’d module
<enebo> subbu: so most concise example of what is wrong
kfpratt has quit [Remote host closed the connection]
<subbu> ah, ok.
<subbu> good example.
<enebo> DOH
<enebo> I updated cvar{decl,asgn} but not cvar
<enebo> ok so this might be fine all around
codefinger has joined #jruby
dabradley has quit [Ping timeout: 246 seconds]
bga571 has quit [Read error: No route to host]
<enebo> gah
<Aethenelle> nirvdrum: you get those instructions to work? They good enough for testing most of our platforms?
<enebo> now the problem may be that it is stuffing them in singleton classes
<nirvdrum> Aethenelle: Sorry, I haven't gotten to it yet. I'm just getting back to some jnr stuff today.
<nirvdrum> I just hadn't seen you around in a while, so I took the opportunity a few days ago to bug you :-)
<Aethenelle> nirvdrum: I can't complain... I still haven't gotten to it either... :P
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:2d8876d by Chris Seaton): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64615599)
travis-ci has left #jruby [#jruby]
<Aethenelle> yeah, I've been busy here at work getting gitlab installed and users/data xfered from our outdated github installation
<Aethenelle> anyone use virtualbox much? Is there a way to adjust the size of a vmdk in there or do I need to move it to vmware and back?
<headius> I'd would expect the latter, but I don't know
<headius> enebo: they do have logic that appears to skip singletons
<headius> in vm_get_cvar_base
<headius> while (CREF_NEXT(cref) &&
<headius> (NIL_P(CREF_CLASS(cref)) || FL_TEST(CREF_CLASS(cref), FL_SINGLETON) ||
<headius> CREF_PUSHED_BY_EVAL(cref))) {
<headius> cref = CREF_NEXT(cref);
<headius> }
<enebo> yeah and this logic is in getClassVarContainingModule instr but I think we should use self and not recorded module
<headius> I can follow this logic but the starting point is still hidden in that EP logic
<projectodd-ci> Project jruby-master-spec-ji build #1445: STILL FAILING in 26 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ji/1445/
<enebo> dup’ing a module is pretty obtuse to me
<enebo> but I can see why you would do it to make cvars work
<enebo> heh I have rake running through test:mri
<enebo> hmm
<projectodd-ci> Project jruby-master-test-slow_suites build #1421: STILL FAILING in 25 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-test-slow_suites/1421/
mister_solo has quit [Ping timeout: 245 seconds]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:65dfed0 by Chris Seaton): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64616831)
travis-ci has left #jruby [#jruby]
skade has quit [Read error: Connection reset by peer]
fivebats has joined #jruby
mkristian has quit [Ping timeout: 276 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 2 new commits to master: http://git.io/vkuBr
<JRubyGithub> jruby/master d44874c Chris Seaton: [Truffle] Pull up HashGuards.
<JRubyGithub> jruby/master 6991cfb Chris Seaton: [Truffle] Remove some redundant old array guards.
mikemar10 has joined #jruby
JRubyGithub has left #jruby [#jruby]
tcrawley is now known as tcrawley-away
enebo has quit [Quit: enebo]
mkristian has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/vkuzS
<JRubyGithub> jruby/master 368177a Kevin Menard: [Truffle] Implemented POSIX.utimes/File.utime.
JRubyGithub has left #jruby [#jruby]
<nirvdrum> chrisseaton: Sorry, you'll need to mvn -U again :-/
<chrisseaton> rgr
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton pushed 2 new commits to master: http://git.io/vkugb
<JRubyGithub> jruby/master ee0bb97 Chris Seaton: [Truffle] Tidy up RubyGuards.
<JRubyGithub> jruby/master 032cb72 Chris Seaton: [Truffle] !isNotProvided → wasProvided
JRubyGithub has left #jruby [#jruby]
<projectodd-ci> Project jruby-master-spec-ji build #1446: STILL FAILING in 28 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ji/1446/
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian pushed 1 new commit to jruby-1_7: http://git.io/vku6J
<JRubyGithub> jruby/jruby-1_7 0137667 Christian Meier: keep mkdir consistent when using uri-like paths...
JRubyGithub has left #jruby [#jruby]
dinfuehr has joined #jruby
bga57 has joined #jruby
<projectodd-ci> Project jruby-master-test-slow_suites build #1422: STILL FAILING in 27 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-test-slow_suites/1422/
<projectodd-ci> Project jruby-master-spec-compiler build #1421: STILL FAILING in 16 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-compiler/1421/
Aethenelle has quit [Quit: Aethenelle]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:7509d73 by Kevin Menard): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64617579)
travis-ci has left #jruby [#jruby]
7F1AA47CS has joined #jruby
<7F1AA47CS> jruby/truffle-head a43063a Chris Seaton: Merge branch 'master' into truffle-head
<7F1AA47CS> [jruby] chrisseaton pushed 1 new commit to truffle-head: http://git.io/vku1D
7F1AA47CS has left #jruby [#jruby]
20WABDABZ has joined #jruby
<20WABDABZ> [jruby] chrisseaton fast-forwarded master from 032cb72 to 9be6351: http://git.io/vku1S
20WABDABZ has left #jruby [#jruby]
<chrisseaton> weird user names
mkristian has quit [Quit: Ex-Chat]
subbu has quit [Ping timeout: 244 seconds]
<headius> spam bots probably
Aethenelle has joined #jruby
subbu has joined #jruby
dinfuehr has quit [Remote host closed the connection]
<chrisseaton> no I mean the CI messages
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:703c6c9 by Chris Seaton): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64618267)
travis-ci has left #jruby [#jruby]
mrmargolis has joined #jruby
fivebats has quit [Quit: quit]
bb010g has quit [Quit: Connection closed for inactivity]
<projectodd-ci> Project jruby-master-spec-ji build #1447: STILL FAILING in 27 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ji/1447/
<headius> chrisseaton: oh, I didn't even notice
<headius> yeah that is weird
<rtyler> I can't remember off the top of my head, should byebug work in jruby 1.7.x?
<headius> I don' tknow
<rtyler> any ruby debugger?
<headius> depends how they do their magic, but probably not
<rtyler> I've got this as a potential lead for my users: https://github.com/ruby-debug/ruby-debug-ide
<headius> most of the ones I know either use C APIs or the very unreliable set_trace_func
<rtyler> but that doesn't cover the gdb/cli style breakpointing
<headius> that one is designed to work on both jruby and MRI
<rtyler> does nobody debug jruby code? :P
<headius> ruby-debug used to work
<headius> I debug jruby code using JVM debuggers
<rtyler> from something like eclipse or intellij, or CLI?
<rtyler> I would be very interested in how The Pros debug jruby so I can work on docs for my users inside of Lookout
<rtyler> some of the gnashing of teeth against the move to jruby has been lack of clear (to them) debugging options
mrmargolis has quit [Remote host closed the connection]
<chrisseaton> there was jruby-debug wasn't there?
<chrisseaton> I reviewed that for my paper - seemed to work
<chrisseaton> I think it required some weird old and specific version of JRuby
<headius> there was, but I think it merged into ruby-debug and the various IDE folks collaborated to make it work
<rtyler> I could have sworn ruby-debug was EoL by 1.9.x
<rtyler> will look again
donValentin has quit [Quit: donValentin]
<projectodd-ci> Project jruby-master-test-slow_suites build #1423: STILL FAILING in 27 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-test-slow_suites/1423/
<projectodd-ci> Project jruby-master-spec-compiler build #1422: STILL FAILING in 27 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-compiler/1422/
colinsurprenant has quit [Quit: colinsurprenant]
baroquebobcat has quit [Quit: baroquebobcat]
djbkd has quit [Remote host closed the connection]
djbkd has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:8370e02 by Chris Seaton): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/64626309)
travis-ci has left #jruby [#jruby]
rcvalle has quit [Quit: rcvalle]
Aethenelle has quit [Read error: Connection reset by peer]
<nirvdrum> rtyler: I always use ruby-debug-ide with RubyMine. It works quite well.
<rtyler> yeah, I know a number of folks who use that at Lookout, but I'm not terribly interested in battling the IDE war and JRuby war at the same time :P
dinfuehr has joined #jruby
subbu has quit [Ping timeout: 245 seconds]
<nirvdrum> Then you will fail at both!
<rtyler> heh
<rtyler> NOOOOOOOOOOOOOOOOOOOOOOOOOOO
* rtyler pounds the sand in front of the half-buried statue of liberty
dinfuehr has quit [Ping timeout: 258 seconds]
* nirvdrum stabs jnr-constants
<nirvdrum> I suppose I should be happy constants for rlimit already exist. I'm just not entirely sure why the enum is named RLIMIT instead of RLimit.