ChanServ changed the topic of #jruby to: Get 9.0.1.0! http://jruby.org/ | http://wiki.jruby.org | http://logs.jruby.org/jruby/ | http://bugs.jruby.org | Paste at http://gist.github.com
subbu_ss is now known as subbu
eregon_ has joined #jruby
subbu_ss has joined #jruby
clayton- has joined #jruby
eregon has quit [Quit: No Ping reply in 180 seconds.]
subbu has quit [Ping timeout: 264 seconds]
clayton has quit [Ping timeout: 264 seconds]
clayton- is now known as clayton
knu_ has joined #jruby
cajone has quit [*.net *.split]
rcvalle has quit [*.net *.split]
knu has quit [*.net *.split]
talevy has quit [*.net *.split]
talevy has joined #jruby
talevy has quit [Changing host]
talevy has joined #jruby
camlow325 has quit []
rcvalle has joined #jruby
cajone has joined #jruby
CustosL1men has quit [Max SendQ exceeded]
CustosL1men has joined #jruby
subbu_ss is now known as subbu
baroquebobcat has quit [Quit: baroquebobcat]
cajone has left #jruby [#jruby]
tcrawley-away is now known as tcrawley
tcrawley is now known as tcrawley-away
<GitHub98> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/vZbuB
<GitHub98> jruby/master a5f8721 Kevin Menard: [Truffle] Use ByteList#unsafeBytes in Regexp#match_start to save on unnecessary allocations.
mdedetrich has joined #jruby
jensnockert has joined #jruby
rcvalle has quit [Quit: rcvalle]
havenwood has joined #jruby
jensnockert has quit [Ping timeout: 256 seconds]
brauliobo has quit [Ping timeout: 256 seconds]
cajone has joined #jruby
havenwood has quit [Max SendQ exceeded]
CustosL1men has quit [Max SendQ exceeded]
CustosL1men has joined #jruby
<travis-ci> jruby/jruby (master:a5f8721 by Kevin Menard): The build was fixed. (https://travis-ci.org/jruby/jruby/builds/80553135)
havenwood has joined #jruby
CustosL1men has quit [*.net *.split]
talevy has quit [*.net *.split]
talevy has joined #jruby
talevy has quit [Changing host]
talevy has joined #jruby
CustosL1men has joined #jruby
temporalfox has quit [Read error: Connection reset by peer]
temporalfox has joined #jruby
cpuguy83 has quit [Quit: ZNC - http://znc.in]
cpuguy83 has joined #jruby
yfeldblum has quit [Remote host closed the connection]
mdedetrich has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mdedetrich has joined #jruby
colinsurprenant has joined #jruby
bb010g has joined #jruby
dinfuehr has joined #jruby
mdedetrich has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rsim has joined #jruby
rsim has quit [Ping timeout: 248 seconds]
colinsurprenant has quit [Quit: colinsurprenant]
pawnbox has joined #jruby
jensnockert has joined #jruby
mdedetrich has joined #jruby
pawnbox has quit [Remote host closed the connection]
nirvdrum has quit [Ping timeout: 255 seconds]
pawnbox has joined #jruby
jensnockert has quit [Ping timeout: 240 seconds]
rsim has joined #jruby
nirvdrum has joined #jruby
pawnbox_ has joined #jruby
pawnbox has quit [Ping timeout: 265 seconds]
nirvdrum has quit [Ping timeout: 246 seconds]
digitalextremist has quit [Remote host closed the connection]
rsim has quit [Ping timeout: 248 seconds]
rsim has joined #jruby
yfeldblum has joined #jruby
mdedetrich has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mdedetrich has joined #jruby
pawnbox_ has quit [Remote host closed the connection]
pawnbox has joined #jruby
skade has joined #jruby
CustosL1men has quit [Max SendQ exceeded]
jensnockert has joined #jruby
CustosL1men has joined #jruby
pawnbox has quit [Ping timeout: 246 seconds]
jensnockert has quit [Ping timeout: 256 seconds]
pawnbox has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 250 seconds]
havenwood has quit [Remote host closed the connection]
<GitHub144> [jruby] kares closed pull request #3325: "[2].to_enum.find_index(2.0)" returns 0 (to match MRI behavior) (master...fix_fixnum_equals) http://git.io/vZSOK
<GitHub13> [jruby] kares pushed 3 new commits to master: http://git.io/vZNLP
<GitHub13> jruby/master 2eefaef Alex Dowad: New spec: Enumerable#find_index should use #== semantics for testing equality...
<GitHub13> jruby/master df012fa Karol Bucek: Merge pull request #3325 from alexdowad/fix_fixnum_equals...
<GitHub13> jruby/master 4eee14a Alex Dowad: RubyFixnum.equals performs conversion on Float arguments...
<GitHub10> [jruby-openssl] kares pushed 2 new commits to master: http://git.io/vZNLS
<GitHub10> jruby-openssl/master 102c17d Rafał Rzepecki: Force US locale for date formatting...
<GitHub10> jruby-openssl/master c9b5af0 Karol Bucek: Merge pull request #72 from dividedmind/force-us-locale...
<GitHub44> [jruby-openssl] kares closed pull request #72: Force US locale for date formatting (master...force-us-locale) http://git.io/vZFdE
<GitHub0> [jruby] kares pushed 2 new commits to jruby-1_7: http://git.io/vZNtY
<GitHub0> jruby/jruby-1_7 0c4eb28 Elias Levy: Fix java_implements for multiple interfaces
<GitHub0> jruby/jruby-1_7 ffdf530 Karol Bucek: Merge pull request #3329 from eliaslevy/fix_interface_string_join...
e_dub has quit [Ping timeout: 260 seconds]
<projectodd-ci> Project jruby-master-test-slow_suites build #1984: FAILURE in 1 min 42 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-test-slow_suites/1984/
dinfuehr has quit [Remote host closed the connection]
e_dub has joined #jruby
<travis-ci> jruby/jruby-openssl (master:c9b5af0 by Karol Bucek): The build was broken. (https://travis-ci.org/jruby/jruby-openssl/builds/80575141)
temporal_ has joined #jruby
temporalfox has quit [Ping timeout: 268 seconds]
pawnbox_ has joined #jruby
pawnbox has quit [Ping timeout: 255 seconds]
jensnockert has joined #jruby
CustosL1men has quit [Max SendQ exceeded]
jensnockert has quit [Ping timeout: 246 seconds]
CustosL1men has joined #jruby
pawnbox_ has quit [Remote host closed the connection]
talevy has quit [*.net *.split]
pawnbox has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
talevy has joined #jruby
shellac has joined #jruby
pawnbox_ has joined #jruby
elia has joined #jruby
pitr-ch has joined #jruby
pawnbox has quit [Ping timeout: 240 seconds]
jensnockert has joined #jruby
<travis-ci> kares/jruby (jruby-1_7:a0fe3f1 by kares): The build was fixed. (https://travis-ci.org/kares/jruby/builds/80581495)
jensnockert has quit [Remote host closed the connection]
jensnockert has joined #jruby
dinfuehr has joined #jruby
jensnockert has quit [Ping timeout: 246 seconds]
skade has joined #jruby
elia has quit [Read error: Connection reset by peer]
elia has joined #jruby
<travis-ci> kares/jruby (jruby-1_7:aad352c by kares): The build is still failing. (https://travis-ci.org/kares/jruby/builds/80585906)
CustosL1men has quit [Read error: Connection timed out]
<GitHub170> [jruby] sudish opened issue #3332: JRuby 9.0.1.0 tries to access O_NONBLOCK under Windows http://git.io/vZNr1
CustosL1men has joined #jruby
shellac has quit [Quit: Computer has gone to sleep.]
CustosL1men has quit [Read error: Connection timed out]
CustosL1men has joined #jruby
<travis-ci> kares/jruby (jruby-1_7:aad352c by kares): The build was fixed. (https://travis-ci.org/kares/jruby/builds/80585906)
shellac has joined #jruby
<GitHub23> [jruby] kares pushed 15 new commits to jruby-1_7: http://git.io/vZNMb
<GitHub23> jruby/jruby-1_7 5b3b943 kares: [find-bugs] (private) inner classes that can be mate static
<GitHub23> jruby/jruby-1_7 47ef73b kares: [find-bugs] avoid some String instances of length == 1 in favor of chars
<GitHub23> jruby/jruby-1_7 f735a17 kares: [find-bugs] use System.arraycopy instead of manual array-copy (of stack-traces)
kares has joined #jruby
<GitHub76> [jruby] kares closed issue #933: Importing static inner class does not work as expected http://git.io/vZN9K
drbobbeaty has joined #jruby
<GitHub133> [jruby] kares opened issue #3333: handle non-public inner class retrieval http://git.io/vZNHA
mdedetrich has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mdedetrich has joined #jruby
dinfuehr has quit [Remote host closed the connection]
mdedetrich has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pawnbox_ has quit [Remote host closed the connection]
pawnbox has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<GitHub20> [jruby] kares pushed 1 new commit to master: http://git.io/vZNxE
<GitHub20> jruby/master 27e46d8 kares: Merge branch 'jruby-1_7'...
<GitHub91> [jruby] kares closed pull request #3330: Fix java_implements for multiple interfaces (master...fix_interface_string_join_9) http://git.io/vZdKm
shellac_ has joined #jruby
shellac has quit [Read error: Connection reset by peer]
shellac_ has quit [Client Quit]
jensnockert has joined #jruby
raeoks has joined #jruby
jensnockert has quit [Ping timeout: 244 seconds]
CustosL1men has quit [Ping timeout: 250 seconds]
robbyoconnor is now known as r0bby_
r0bby_ is now known as robbyoconnor
mkristian has joined #jruby
CustosL1men has joined #jruby
<projectodd-ci> Yippee, build fixed!
<projectodd-ci> Project jruby-master-test-slow_suites build #1985: FIXED in 24 min: https://projectodd.ci.cloudbees.com/job/jruby-master-test-slow_suites/1985/
mkristian has quit [Quit: This computer has gone to sleep]
raeoks has quit [Ping timeout: 272 seconds]
shellac has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
drbobbeaty has joined #jruby
jensnockert has joined #jruby
mdedetrich has joined #jruby
jensnockert has quit [Ping timeout: 252 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
raeoks has joined #jruby
raeoks has quit [Quit: Textual IRC Client: www.textualapp.com]
mdedetrich has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mdedetrich has joined #jruby
<GitHub31> [jruby] headius pushed 1 new commit to master: http://git.io/vZAuh
<GitHub31> jruby/master 443c18a Charles Oliver Nutter: Remove unused Join class.
jensnockert has joined #jruby
jensnockert has quit [Remote host closed the connection]
jensnockert has joined #jruby
pawnbox has quit [Remote host closed the connection]
bbrowning_away is now known as bbrowning
yfeldblum has quit [Ping timeout: 246 seconds]
cristianrasch has joined #jruby
<GitHub26> [jruby] eregon pushed 6 new commits to master: http://git.io/vZA6G
<GitHub26> jruby/master e5cdc2b Benoit Daloze: [Truffle] Remove unused indirect option for dispatch nodes.
<GitHub26> jruby/master d048964 Benoit Daloze: [Truffle] Binding cannot be allocated....
<GitHub26> jruby/master eb907ac Benoit Daloze: [Truffle] No need for a "self" field in Binding, the captured frame already contains it.
mdedetrich has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tcrawley-away is now known as tcrawley
temporal_ has quit [Quit: Textual IRC Client: www.textualapp.com]
temporalfox has joined #jruby
nirvdrum has joined #jruby
<travis-ci> kares/jruby (test-inner-classes:0d31f8b by kares): The build passed. (https://travis-ci.org/kares/jruby/builds/80615876)
<travis-ci> jruby/jruby (master:a2e6f8c by Benoit Daloze): The build was broken. (https://travis-ci.org/jruby/jruby/builds/80622502)
<GitHub178> [jruby] eregon pushed 1 new commit to master: http://git.io/vZASn
<GitHub178> jruby/master bb747c7 Benoit Daloze: [Truffle] Make sure all frames have their method and self != null.
mkristian has joined #jruby
lopex has quit [Read error: Connection reset by peer]
lopex has joined #jruby
halorgium has quit [Ping timeout: 246 seconds]
pitr-ch has quit [Ping timeout: 244 seconds]
shellac has quit [Read error: Connection reset by peer]
shellac_ has joined #jruby
<rtyler> moinmoin
pitr-ch has joined #jruby
CustosL1men has quit [Ping timeout: 250 seconds]
nirvdrum has quit [Ping timeout: 250 seconds]
halorgium has joined #jruby
<travis-ci> jruby/jruby (master:bb747c7 by Benoit Daloze): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/80626601)
colinsurprenant has joined #jruby
<headius> howdy howdy
colinsurprenant has quit [Read error: Connection reset by peer]
colinsurprenant has joined #jruby
Aethenelle has joined #jruby
mkristian has quit [Quit: This computer has gone to sleep]
enebo has joined #jruby
havenwood has joined #jruby
nirvdrum has joined #jruby
<nirvdrum> lopex: Have you seen http://www.daemonology.net/blog/2008-06-05-faster-utf8-strlen.html before? I just came across it. It looks interesting.
lance|afk is now known as lanceball
mkristian has joined #jruby
<headius> enebo: howdy
<enebo> headius: hola
<headius> so I ran into a bunch of issues working on kwargs last night
<headius> my first change was to go back to hash args just being a hash in the args list in IR, but make sure it's directly there (instead of a variable reference) and set the kwargs flag
<headius> then I discovered that nobody seems to use that flag, and there's logic based on it that started to fire which broke all sorts of stuff
<headius> specifically, some kinda-hacky logic I think is used for super + **hash
<headius> like explicitly storing null pairs in Hash as a sigil for **
<headius> I believe I have specs passing again but I had to modify that logic to additionally only run when there's > 0 pairs
<headius> anyway, I was hoping you could show me where that kwarg flag is ever set
<headius> if it's not set I'm not sure this other weird logic is used
<headius> and good morning :-)
mkristian has quit [Quit: This computer has gone to sleep]
nateberkopec has joined #jruby
pawnbox has joined #jruby
<GitHub197> [jruby] darrin-wortlehock opened issue #3334: jruby should not depend on bash http://git.io/vZxCK
shellac_ has quit [Ping timeout: 256 seconds]
baroquebobcat has joined #jruby
colinsurprenant has quit [Quit: colinsurprenant]
<GitHub115> [jruby] eregon pushed 1 new commit to master: http://git.io/vZxlF
<GitHub115> jruby/master 23b4350 Benoit Daloze: [Truffle] Proper implementation of Kernel#binding and Proc#binding....
baroquebobcat has quit [Ping timeout: 240 seconds]
<lopex> nirvdrum: I guess, I have it in my links
<lopex> nirvdrum: I went that unsafe version which turned out to have problems
brauliobo has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
colinsurprenant has joined #jruby
pawnbox has quit [Ping timeout: 246 seconds]
pawnbox has joined #jruby
brauliobo has quit [Ping timeout: 240 seconds]
brauliobo has joined #jruby
nateberkopec has quit [Read error: Connection reset by peer]
Aethenelle has quit [Read error: Connection reset by peer]
<GitHub16> [jruby] eregon pushed 1 new commit to master: http://git.io/vZxuu
<GitHub16> jruby/master 10dbca4 Benoit Daloze: [Truffle] Share calling/packing code in dispatch nodes.
nateberkopec has joined #jruby
<GitHub79> [jruby] eregon pushed 1 new commit to master: http://git.io/vZxoM
<GitHub79> jruby/master d5d1f22 Benoit Daloze: [Truffle] Properly type block and arguments in DispatchNode.
<travis-ci> jruby/jruby (master:10dbca4 by Benoit Daloze): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/80649497)
mkristian has joined #jruby
brauliobo has quit [Ping timeout: 246 seconds]
shellac has joined #jruby
baroquebobcat has joined #jruby
brauliobo has joined #jruby
mkristian has quit [Quit: This computer has gone to sleep]
CustosL1men has joined #jruby
tcrawley is now known as tcrawley-away
camlow325 has joined #jruby
CustosL1men has quit [Ping timeout: 240 seconds]
brauliobo has quit [Ping timeout: 240 seconds]
baroquebobcat has quit [Read error: Connection reset by peer]
baroquebobcat has joined #jruby
pietr0 has joined #jruby
pawnbox has quit [Remote host closed the connection]
Aethenelle has joined #jruby
<projectodd-ci> Project jruby-master-spec-ji build #2026: FAILURE in 39 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ji/2026/
nateberkopec has quit [Quit: Leaving...]
bb010g has quit [Quit: Connection closed for inactivity]
pawnbox has joined #jruby
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
<travis-ci> jruby/jruby (master:d5d1f22 by Benoit Daloze): The build was fixed. (https://travis-ci.org/jruby/jruby/builds/80653689)
mkristian has joined #jruby
havenwood has joined #jruby
brauliobo has joined #jruby
<GitHub100> [jruby] pitr-ch opened pull request #3335: [Truffle] improve j+tr Readme (master...master) http://git.io/vZpkV
<travis-ci> pitr-ch/jruby (master:8f77d27 by Petr Chalupa): The build has errored. (https://travis-ci.org/pitr-ch/jruby/builds/80669390)
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
mkristian has quit [Quit: This computer has gone to sleep]
colinsurprenant has quit [Quit: colinsurprenant]
colinsurprenant has joined #jruby
colinsurprenant has quit [Client Quit]
cremes has quit [Ping timeout: 256 seconds]
<GitHub19> [jruby] mzaccari opened issue #3336: resolv-replace.rb is failing when given an IPv6 address URI http://git.io/vZpBH
cremes has joined #jruby
elia has quit [Quit: Computer has gone to sleep.]
mkristian has joined #jruby
dfr has joined #jruby
bbrowning is now known as bbrowning_away
camlow32_ has joined #jruby
camlow32_ has quit [Remote host closed the connection]
shellac has quit [Ping timeout: 250 seconds]
camlow32_ has joined #jruby
camlow325 has quit [Ping timeout: 250 seconds]
skade has joined #jruby
pitr-ch has quit [Ping timeout: 252 seconds]
brauliobo_ has joined #jruby
brauliobo has quit [Ping timeout: 272 seconds]
subbu is now known as subbu|afk
mkristian_ has joined #jruby
donV has joined #jruby
mkristian has quit [Ping timeout: 255 seconds]
subbu|afk is now known as subbu
donValentin has quit [Ping timeout: 250 seconds]
colinsurprenant has joined #jruby
bbrowning_away is now known as bbrowning
elevy has joined #jruby
<elevy> howdy. q: http://ci.jruby.org/snapshots/maven/ doesn't seem to exist. what maven repo should one point to to get access to the snapshots?
<elevy> the Wiki points to that URL as the snapshot repo
colinsurprenant has quit [Quit: colinsurprenant]
colinsurprenant has joined #jruby
nateberkopec has joined #jruby
shellac has joined #jruby
subbu is now known as subbu|lunch
havenwood has joined #jruby
camlow32_ has quit [Remote host closed the connection]
camlow325 has joined #jruby
rsim has quit [Quit: Leaving.]
jensnockert has quit [Remote host closed the connection]
mkristian_ has quit [Quit: This computer has gone to sleep]
havenwood has quit [Ping timeout: 250 seconds]
havenwood has joined #jruby
jensnockert has joined #jruby
jensnockert has quit [Remote host closed the connection]
jensnockert has joined #jruby
jensnockert has quit [Remote host closed the connection]
yfeldblum has joined #jruby
digitalextremist has joined #jruby
jensnockert has joined #jruby
brauliobo_ has quit [Ping timeout: 240 seconds]
jensnockert has quit [Ping timeout: 265 seconds]
mkristian has joined #jruby
havenwood has quit [Ping timeout: 246 seconds]
elevy has left #jruby [#jruby]
tcrawley-away is now known as tcrawley
subbu|lunch is now known as subbu
digitalextremist has quit [Remote host closed the connection]
digitalextremist has joined #jruby
havenwood has joined #jruby
donValentin has joined #jruby
donV has quit [Ping timeout: 246 seconds]
digitalextremist has quit [Read error: Connection reset by peer]
digitalextremist has joined #jruby
pitr-ch has joined #jruby
shellac has quit [Quit: Computer has gone to sleep.]
havenwood has quit [Ping timeout: 265 seconds]
<GitHub141> [jruby] nirvdrum commented on commit 8e00e3e: Nice! http://git.io/vZhsD
<GitHub2> [jruby] eregon pushed 4 new commits to master: http://git.io/vZhs5
<GitHub2> jruby/master e422866 Benoit Daloze: [Truffle] Do not allow InternalMethod declaringModule to be null.
<GitHub2> jruby/master 881e24d Benoit Daloze: [Truffle] No InternalMethod null Visibility.
<GitHub2> jruby/master bc67d03 Benoit Daloze: [Truffle] Global cleanup of dispatch nodes....
<GitHub150> [jruby] nirvdrum commented on commit eb907ac: Maybe we no longer use them, but I thought there were cases where we needed to provide a different self. We have something similar for the yield helpers. http://git.io/vZhG4
elia has joined #jruby
Aethenelle has quit [Remote host closed the connection]
Aethenelle has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #jruby
skade has quit [Client Quit]
<GitHub58> [jruby] eregon commented on commit eb907ac: Yeah, calling a block might need to change self (instance_eval) but that's a non-issue as we just create a new frame with the right self. Binding captures the environment at a given point, and its self can only ever be the one that was captured at that point. http://git.io/vZhWE
subbu_ has joined #jruby
subbu_ has quit [Remote host closed the connection]
tcrawley is now known as tcrawley-away
mkristian_ has joined #jruby
elia has quit [Quit: Computer has gone to sleep.]
mkristian has quit [Ping timeout: 246 seconds]
samphippen has joined #jruby
havenwood has joined #jruby
<GitHub80> [jruby] headius created kwargs-opto (+1 new commit): http://git.io/vZh0s
<GitHub80> jruby/kwargs-opto ba0df56 Charles Oliver Nutter: First tweaks to make CallInstr know about kwargs structure....
yfeldblum has quit [Ping timeout: 246 seconds]
havenn has joined #jruby
shellac has joined #jruby
mkristian_ has quit [Quit: This computer has gone to sleep]
havenwood has quit [Ping timeout: 244 seconds]
mkristian_ has joined #jruby
mkristian__ has joined #jruby
<projectodd-ci> Yippee, build fixed!
<projectodd-ci> Project jruby-master-spec-ji build #2027: FIXED in 15 min: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ji/2027/
mkristian_ has quit [Ping timeout: 252 seconds]
mkristian__ has quit [Quit: This computer has gone to sleep]
jensnockert has joined #jruby
nateberkopec has quit [Quit: Leaving...]
<headius> you know, I'm going to change this travis rule that only runs tests for master, 1.7, and branches with test- prefix
<headius> I hate adding that prefix and almost always want my branch to run
<headius> asarih: hey side question...is mvn cache issue fixed yet?
<asarih> headius: ¡Hola! which issue is that?
jensnockert has quit [Remote host closed the connection]
<headius> chrisseaton, nirvdrum, pitr-ch: any concern with turning travis on for all branches?
<headius> we aren't spinning a ton of branches anyway
<headius> enebo: same question
nateberkopec has joined #jruby
<headius> I could also flip it to ignore branches with some sigil too
<headius> asarih: the threading issue with the cache getting corrupted
<headius> or at least that was the theory
<enebo> we do turn on all test- branches right now
<headius> enebo: yeah I want all branches to be on
<asarih> headius: ah. I recognize. sorry, but no real progress on that.
<headius> or all but explicitly marked not to test
jensnockert has joined #jruby
<enebo> headius: for all users?
<headius> enebo: I always just push simple branch name forgetting it won't test
jensnockert has quit [Remote host closed the connection]
<enebo> headius: this was the issue before
<enebo> or one issue
<headius> what do you mean?
<enebo> other peoples forks would run in our queue I believe
<enebo> beyond PRs
<headius> I don't think it runs in our queue and they'd have to connect their forked repo to travis
<enebo> At least I thought that was why we made test-
<enebo> asarih: why did we add test- if not for that reason?
<headius> ttheir builds would would notify us if they did that though
<headius> because of IRC settings etc
<asarih> enebo: not sure what you mean.
<enebo> well I don’t care then
<headius> I wonder if there's a way to tell travis to only build jruby/*
<enebo> if it is too noisy or slow we can change something again
<headius> asarih: we set an "only" in travis config for "master", "jruby-1_7", and /test-*/ branches
<headius> trying to remember reasons for that filtering
<headius> I'll see if it's in logs
<enebo> funny I thought asarih made that change but I am probably remembering wrong
<asarih> "only" dictates which branches are built, not which jobs within a build use caches.
<headius> asarih: a3d98f8fccdf16c03f60b49d58c306b07158fd5e
<headius> it was a commit by you but I remember us discussing it
<headius> asarih: yeah sorry, separate discussions
<asarih> ah
<asarih> ok
<headius> cache thing: gotcha, just looking forward to turning it on again
<headius> only thing: I don't want to filter anymore and trying to remember why we did
<asarih> headius: yes, I would like to. :-D
<colinsurprenant> hiya! another thread safety + volatility question
<headius> colinsurprenant: howdy!
<colinsurprenant> using: class Foo; attr_reader :bar; def initialize @bar = 1; end; end
<headius> or rather bonjour!
<colinsurprenant> ahah
<colinsurprenant> will: foo = Foo.new; Thread.new {foo.bar} deterministically always return 1 (the foor.bar return)?
<headius> colinsurprenant: it should, yes
<headius> instance variable writes should have a memory fence to guarantee visibility
<colinsurprenant> this is what I assume too
<headius> or rather, I would expect it to because I know we have memory fences there
<headius> should is a little soft :-)
<headius> maybe I should just say "yes"
<headius> if it doesn't that's a bug
<colinsurprenant> oh, ivars writes have an implicit memory fence???
<headius> yes
<colinsurprenant> it assumed this was more related to the fact that the ivar init was in the constructor
<headius> it's a sort of soft guarantee on Java 7 because there's no fence API but it does do a volatile operation after ivar write that should force a fence
<colinsurprenant> s/it/I
<headius> not really...right now we don't distinguish constructor from anything else so all ivar writes have a fence
<headius> we could soften that in constructor and only fence when it's done, but lose guarantees of visibility for threads started within the initialize
<colinsurprenant> ah, I didn’t know that. does that mean that we don’t need to explicitely memory fence ivars set/get across threads?
<headius> we'd still need to fence elsewhere because there's no way to specifiy whether you want volitility
<headius> colinsurprenant: if you mean "we" as in "people writing Ruby code", then yes
<colinsurprenant> :P
<headius> note this doesn't mean they're atomic...just ordered
<headius> if you want atomic you still need something more
<colinsurprenant> right
<colinsurprenant> so for example, setting @ivar = true in one thread will be volative and another thread checking for, @ivar value will have the correct memory content, without having to use explict mutex synchronization
<colinsurprenant> to force a memory barrier
<colinsurprenant> (sorry if I’m repeating myself)
<colinsurprenant> … because what I understoods from https://github.com/jruby/jruby/wiki/Concurrency-in-jruby is that “Updating an instance variable” is not a volatile operation
<headius> that probably could be updated
<headius> we haven't wanted to make that an explicit guarantee because we're not sure about the overhead
<headius> but we've been doing it for a few years now
<headius> I think they have to be volatile since there's no way to distinguish volatile and non-volatile vars
<colinsurprenant> and is that true only for Java >= 7 ?
<headius> we kept hoping someone in ruby-core would see the value of explicit volatility but they're still trying to see the value of parallel threads :-)
<headius> no, it should be true for Java 6+
<headius> it's just cheapest in 8
<headius> 6 and 7 use a separate synchronization to force barrier
<headius> wait no
<headius> that's only when Unsafe is unavailable
<headius> if Unsafe is available we use a volatile stamp plus Unsafe.getObjectVolatile
<headius> if you want to see the code it's StampedVariableAccessor versus SynchronizedVariableAccessor
<headius> you'll see the check for memory fence API there and fallback to putObjectVolatile
<headius> we had a user seeing torn writes to ivar table and he worked with JSR166 folks to come up with this
<colinsurprenant> lemme see … looking
tcrawley-away is now known as tcrawley
<colinsurprenant> awwww good good I SEE
<headius> :-D
<headius> as with all things threading we trust this because nobody's broken it
<headius> but given JVM memory model it should be right
camlow32_ has joined #jruby
camlow32_ has quit [Read error: Connection reset by peer]
camlow32_ has joined #jruby
lanceball is now known as lance|afk
<colinsurprenant> headius: thanks the help here!!
camlow325 has quit [Ping timeout: 246 seconds]
camlow32_ has quit [Remote host closed the connection]
<headius> colinsurprenant: thank you, it is good for me to review this occasionally
yfeldblum has joined #jruby
<headius> I will muse on updating wiki page...you're the first one to point out that discrepancy
<colinsurprenant> is the org.jruby.runtime.ivars also used for non instance variables and thus also hold true for the volatility?
<colinsurprenant> so for all variable assignment? foo = "bar"; Thread.new { if foo == “bar” … }
andrewvc has joined #jruby
<headius> local vars have no volatility guarantees, no
<andrewvc> noooooooooooo
<headius> they're just plain fields in a heap structure
<andrewvc> sorry @headius, I had long believed that for no real reason
<headius> normally it won't matter, but in the case of captures it does
<headius> obviously plain locals are just going to be in one thread's stack anyway
<enebo> and temps in IR too :)
<andrewvc> locals are just on the stack? I assumed they had to do something different to deal with closures
<headius> enebo: heh yeah, but those are only used as JVM locals
<enebo> the hidden killer
<headius> andrewvc: captured locals are on heap
<andrewvc> what's a captured local?
<headius> noncaptured are on machine stack
<headius> a = 1; loop { puts a }
<headius> a is captured by the loop closure
<andrewvc> ahhhhh
<headius> no volatility guarantees if that runs across threads
<andrewvc> so x = 1; Thread.new { x =2 }; puts x is a bad idea then
<headius> well there's no determinism there to finish the thread, but yes, you have the right idea :-)
<andrewvc> I mean, could you get a partial write somehow?
<andrewvc> Assuming determinism doesn't matter
<headius> more like go = false; Thread.new { do_something; go = true; expect_something_else }; 1 until go; do_something_else
<headius> in general it should still work fine but we don't make the same volatility guarantees
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<andrewvc> hmmm, so what's the worst case there?
shellac has quit [Read error: Connection reset by peer]
<headius> well if we were talking about Java and a non-volatile field "go", the worst case is that it never sees the true
<andrewvc> ah , got it
<headius> in practice in JRuby that is unlikely to happen until we can optimize "1 until go" in such a way that JVM could make that "mistake"
<headius> as it is now "until go" is going to be a memory load plus a volatile call to isTrue
<headius> er not volatile
<headius> virtual
<headius> hotspot won't optimize past that because there's a safepoint involved
<headius> (I believe)
<andrewvc> so, would an AtomicReference be the right way to go if you need a volatile local?
<andrewvc> using the 'concurrent' gem
<headius> or just an ivar
<andrewvc> yeah, but I hate leaking state across my classes
<headius> @go = false
<andrewvc> I assume the ivar is more performant than AtomicReference too
<headius> only because there's fewer indirections in the ivar
<headius> it's just self.get_var essentially
bbrowning is now known as bbrowning_away
<colinsurprenant> very good info <3
<headius> it shouldn't be much worse
<headius> extra object too
<andrewvc> thanks very much for this info @headius
<headius> class GoHolder; attr_accessor :go; end; will be about the same as AtomicReference if all you're doing is plain set and plain get
<andrewvc> mmmm, yeah, I think I'll start using small classes to encapsulate concurrent logic now that I know a bout the ivar stuff
<headius> which reminds me, we should add lazy set to AtomicReference
brauliobo_ has joined #jruby
<colinsurprenant> andrewvc: i like the idea (small classes to encapsulate concurrent logic)
<headius> yeah that would be my recommendation
shellac has joined #jruby
<headius> and treat AtomicReference as a specialized one-ivar class with atomic features
<headius> in practice it may be faster because it explicitly has only one var and doesn't have to juggle a possibly-growable table
<headius> would be worth measuring
<headius> growable ivar table is a PITA for concurrency
<andrewvc> Interesting, so AtomicReference may be preferable then over small classes
<andrewvc> that strikes me as leading to more maintainable code anyway
camlow325 has joined #jruby
<andrewvc> Concurrency is damn hard, at least I'm not the first person to get thread safety wrong http://cs.oswego.edu/pipermail/concurrency-interest/2013-March/010947.html
<headius> hah
<headius> yeah we need to do an audit of other variable types and make sure our guarantees still hold
<headius> I believe our thread locals are volatile since they're visible across threads
<headius> just realized we don't explicitly call that out on the wiki
brauliobo has joined #jruby
brauliobo_ has quit [Ping timeout: 244 seconds]
<andrewvc> interesting. hopefully most people aren't trying to read thread locals across threads
<colinsurprenant> I verified for the threadlocal yesterday or 2 days ago and everything is synchrinized in that code so yes, all access cross memory fence
camlow325 has quit [Remote host closed the connection]
elia has joined #jruby
havenn has quit [Ping timeout: 240 seconds]
Aethenelle has quit [Quit: Aethenelle]
brauliobo has quit [Ping timeout: 255 seconds]
brauliobo_ has joined #jruby
tcrawley is now known as tcrawley-away
<colinsurprenant> headius: would you like a PR against the wiki for the ivar volatility?
brauliobo_ has quit [Ping timeout: 244 seconds]
brauliobo_ has joined #jruby
enebo has quit [Quit: enebo]
elia has quit [Quit: Computer has gone to sleep.]
pawnbox has quit [Remote host closed the connection]
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
camlow325 has joined #jruby
<brauliobo_> chrisseaton: I can't build the truffle-head branch
<brauliobo_> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.15:test (default-test) on project jruby-truffle: Unable to generate classpath: org.apache.maven.artifact.resolver.ArtifactResolutionException: Unable to get dependency information for org.apache.maven.surefire:surefire-junit4:jar:2.15: Failed to retrieve POM for org.apache.maven.surefire:surefire-junit4:jar:2.15: Could not transfer artifact org.apache.maven.surefire:surefire-
<brauliobo_> junit4:pom:2.15 from/to central (https://repo.maven.apache.org/maven2): java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
<brauliobo_> [ERROR] org.apache.maven.surefire:surefire-junit4:jar:2.15
<brauliobo_> already cleaned the branch without success
<brauliobo_> have an idea what is this?
<chrisseaton> brauliobo_: sorry can't get to a computer now - will try tomorrow
<brauliobo_> chrisseaton: ok
havenwood has joined #jruby
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 246 seconds]
havenwood has quit [Ping timeout: 246 seconds]
Aethenelle has joined #jruby
elia has joined #jruby
shellac has quit [Ping timeout: 255 seconds]
cristianrasch has quit [Quit: Leaving]
elia has quit [Quit: Computer has gone to sleep.]
colinsurprenant has quit [Quit: colinsurprenant]
cajone has quit [Ping timeout: 246 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
baroquebobcat has joined #jruby
drbobbeaty has joined #jruby
Aethenelle has quit [Quit: Aethenelle]
cajone has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
baroquebobcat has quit [Quit: baroquebobcat]
baroquebobcat has joined #jruby
brauliobo_ has quit [Remote host closed the connection]
brauliobo_ has joined #jruby
baroquebobcat has quit [Read error: Connection reset by peer]
baroquebobcat has joined #jruby
nateberkopec has quit [Quit: Leaving...]
baroquebobcat has quit [Quit: baroquebobcat]
dinfuehr has joined #jruby