halorgium has quit [Ping timeout: 260 seconds]
halorgium has joined #jruby
yfeldblum has joined #jruby
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #jruby
<lopex> headius: there's only 3 cases for Encoding.load(String) in jruby codebase https://github.com/jruby/jruby/search?l=java&q=%22Encoding.load%22&type=Code&utf8=%E2%9C%93
<lopex> I think it might be privatised ?
<lopex> those can refer to concrete instances
bb010g has joined #jruby
<travis-ci> jruby/jruby (master:1c0c1fd by Brandon Fish): The build has errored. (https://travis-ci.org/jruby/jruby/builds/97566349)
<GitHub151> [jruby] bjfish opened issue #3547: [Truffle] Array#pack issue http://git.io/v0dZC
brixen has quit [Ping timeout: 265 seconds]
camlow325 has quit []
brixen has joined #jruby
mdedetrich has joined #jruby
slash_nick is now known as slash_kick
drbobbeaty has joined #jruby
slash_kick is now known as slash_nick
slash_nick is now known as slash_kick
mdedetrich has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
n00bdev has joined #jruby
<n00bdev> did processing2 originally include the video and sound libraries with the installation?
<GitHub126> [jruby] enebo pushed 1 new commit to master: http://git.io/v0dXX
<GitHub126> jruby/master c95f224 Thomas E. Enebo: When constructing branches during IRBuilder add some simple direct equality...
bjfish2 has quit [Quit: bjfish2]
pawnbox has quit [Ping timeout: 260 seconds]
<travis-ci> jruby/jruby (master:c95f224 by Thomas E. Enebo): The build has errored. (https://travis-ci.org/jruby/jruby/builds/97591050)
mdedetrich has joined #jruby
projectodd-ci has quit [Remote host closed the connection]
projectodd-ci has joined #jruby
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 255 seconds]
n00bdev has quit []
yfeldblum has quit [Ping timeout: 260 seconds]
bb010g has quit [Quit: Connection closed for inactivity]
nirvdrum has quit [Ping timeout: 255 seconds]
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 246 seconds]
mdedetrich has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has joined #jruby
mdedetrich has joined #jruby
pawnbox has joined #jruby
yfeldblum has quit [Ping timeout: 265 seconds]
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #jruby
kares has joined #jruby
<GitHub89> [jruby] subbuss pushed 1 new commit to master: http://git.io/v0FCY
<GitHub89> jruby/master 4f73879 Subramanya Sastry: Remove some useless imports
pawnbox has quit [Ping timeout: 240 seconds]
n1ftyn8_ has quit [Ping timeout: 240 seconds]
<GitHub115> [jruby] kares pushed 4 new commits to master: http://git.io/v0FWe
<GitHub115> jruby/master e56675c kares: cleanup RubyFixnum/RubyFloat - un-used imports + avoid getRuntime where possible
<GitHub115> jruby/master 824d351 kares: RubyFloat's FORMAT static field is no longer used + some code formatting
<GitHub115> jruby/master a7265c6 kares: RubyFixnum's JAVA_COERCERS isn't used at all + some minor code cleanup
chrisseaton has quit [Ping timeout: 250 seconds]
jeregrine has quit [Ping timeout: 250 seconds]
asarih has quit [Ping timeout: 256 seconds]
asarih has joined #jruby
jeregrine has joined #jruby
chrisseaton has joined #jruby
n1ftyn8_ has joined #jruby
<GitHub22> [jruby] subbuss pushed 1 new commit to master: http://git.io/v0Fle
<GitHub22> jruby/master 3a0d0b7 Subramanya Sastry: Tweaks to prepare args to deal with lambda/proc combinations...
<travis-ci> jruby/jruby (master:4f73879 by Subramanya Sastry): The build has errored. (https://travis-ci.org/jruby/jruby/builds/97607206)
thedarkone2 has quit [Quit: thedarkone2]
<GitHub72> [jruby] enebo pushed 8 new commits to inline: http://git.io/v0FRc
<GitHub72> jruby/inline 418e532 Thomas E. Enebo: rename a local variable from ic to parentIC to make it a little clearer what...
<GitHub72> jruby/inline 140c876 Thomas E. Enebo: Do not register any startup interps as interesting scopes since we have not...
<GitHub72> jruby/inline 375bdc4 Thomas E. Enebo: Add helpful comments explaining why BB.clone is preservice ipc/rpc....
yfeldblum has joined #jruby
mdedetrich has quit [Read error: Connection reset by peer]
mdedetrich has joined #jruby
yfeldblum has quit [Ping timeout: 246 seconds]
mdedetrich has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
donV has quit [Quit: donV]
yfeldblum has joined #jruby
<travis-ci> jruby/jruby (master:aeea008 by kares): The build has errored. (https://travis-ci.org/jruby/jruby/builds/97607766)
donV has joined #jruby
rsim has joined #jruby
<travis-ci> jruby/jruby (master:3a0d0b7 by Subramanya Sastry): The build failed. (https://travis-ci.org/jruby/jruby/builds/97608337)
brauliobo has joined #jruby
brauliobo_ has joined #jruby
brauliobo has quit [Read error: Connection reset by peer]
pawnbox has joined #jruby
brauliobo_ has quit [Quit: Konversation terminated!]
temporalfox has quit [Remote host closed the connection]
temporalfox has joined #jruby
vtunka has joined #jruby
pawnbox has quit [Remote host closed the connection]
pitr-ch has joined #jruby
pitr-ch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pawnbox has joined #jruby
pitr-ch has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 265 seconds]
temporal_ has joined #jruby
temporalfox has quit [Read error: Connection reset by peer]
temporalfox has joined #jruby
temporal_ has quit [Ping timeout: 240 seconds]
pawnbox has joined #jruby
pawnbox has quit [Remote host closed the connection]
pglombardo has joined #jruby
pglombardo has quit [Ping timeout: 246 seconds]
<GitHub86> [jruby] eregon pushed 1 new commit to master: http://git.io/v0bG0
<GitHub86> jruby/master c3389c3 Chris Seaton: [Truffle] Update bench debug...
<travis-ci> jruby/jruby (master:c3389c3 by Chris Seaton): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/97638570)
skade has joined #jruby
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #jruby
pitr-ch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vtunka has quit [Quit: Leaving]
pitr-ch has joined #jruby
pitr-ch has quit [Client Quit]
yfeldblum has quit [Ping timeout: 260 seconds]
<GitHub127> [jruby] eregon pushed 1 new commit to truffle-head: http://git.io/v0bDz
<GitHub127> jruby/truffle-head cd849bb Benoit Daloze: [Truffle] Update Shape in read field node before dropping to uncached case.
pawnbox has joined #jruby
<GitHub184> [jruby] eregon pushed 1 new commit to truffle-head: http://git.io/v0bSm
<GitHub184> jruby/truffle-head 470b4d0 Benoit Daloze: Revert "[Truffle] Rolled back the truffle version."...
<travis-ci> jruby/jruby (truffle-head:470b4d0 by Benoit Daloze): The build has errored. (https://travis-ci.org/jruby/jruby/builds/97653356)
vtunka has joined #jruby
<GitHub27> [jruby] eregon pushed 1 new commit to master: http://git.io/v0b5W
<GitHub27> jruby/master a9cf20c Benoit Daloze: [Truffle] Do not use lsof(1) in integration-tests, it is not well supported in docker.
brixen has quit [Ping timeout: 256 seconds]
brixen has joined #jruby
<GitHub130> [jruby] eregon pushed 1 new commit to truffle-head: http://git.io/v0bAO
<GitHub130> jruby/truffle-head f2d9226 Benoit Daloze: Restore "[Truffle] Rolled back the truffle version."...
brixen has quit [Ping timeout: 272 seconds]
lance|afk is now known as lanceball
skade has quit [Quit: Computer has gone to sleep.]
brauliobo has joined #jruby
<travis-ci> jruby/jruby (master:a9cf20c by Benoit Daloze): The build has errored. (https://travis-ci.org/jruby/jruby/builds/97655596)
kares has quit [Ping timeout: 246 seconds]
bbrowning_away is now known as bbrowning
<travis-ci> jruby/jruby (truffle-head:f2d9226 by Benoit Daloze): The build passed. (https://travis-ci.org/jruby/jruby/builds/97658191)
nateberkopec has joined #jruby
tcrawley-away is now known as tcrawley
rsim has quit [Quit: Leaving.]
Aethenelle has joined #jruby
temporalfox has quit [Read error: Connection reset by peer]
temporalfox has joined #jruby
lazyatom has joined #jruby
<lazyatom> I'm trying to test refinements in Ruby 9.0.4.0, but hitting some issues. The basis are implemented in that version, right?
<lazyatom> sorry, JRuby
lazyatom_ has joined #jruby
lazyatom has quit []
lazyatom_ is now known as lazyatom
lanceball is now known as lance|afk
<GitHub139> [jruby] eregon pushed 2 new commits to truffle-head: http://git.io/v0Non
<GitHub139> jruby/truffle-head 01e9508 Benoit Daloze: [Truffle] Share code for the updateShape specializations.
<GitHub139> jruby/truffle-head a483b40 Benoit Daloze: [Truffle] Update Shape in MetaClassWithShapeCacheNode....
<GitHub14> [jruby] eregon pushed 1 new commit to truffle-head: http://git.io/v0Nij
<GitHub14> jruby/truffle-head 803b50d Benoit Daloze: [Truffle] Avoid name confusion in WriteHeadObjectFieldNode.
<headius> lopex: I forgot to push artifacts to central...on their way now
<headius> lazyatom: basics, yes...what are you having trouble with?
<headius> you are the first to report issues...we were kinda waiting for that to continue with the implementation
<headius> lazyatom: saw your gist in #ruby...I'm surprised that doesn't work
<headius> that seems like a pretty basic case
kares has joined #jruby
<lazyatom> headius: hi - thanks!
bjfish2 has joined #jruby
donV has quit [Quit: donV]
thedarkone2 has joined #jruby
<GitHub148> [jruby] lazyatom opened issue #3548: Refinements in method bodies aren't activated http://git.io/v0NxQ
<headius> very strange
<headius> I suspect it may have to do with refining Object or something
ITXpander has joined #jruby
Aethenelle has quit [Quit: Aethenelle]
<headius> subbu: I think your changes regressed the slicing tests again
<headius> <[[1, 2, 3], [4, 5, 6], [7, 8, 9], [10]]> expected but was
<headius> <[1, 4, 7, 10]>
<headius> I'll have a look today
<headius> the remaining issue I'm stuck on is still the lambda { return binding } not popping scope
e_dub has joined #jruby
<GitHub6> [jruby] mkristian closed issue #3413: JRuby failing SIGINT catching spec in rspec-core http://git.io/vWcbd
<subbu> headius, oh, did it? I tested it before pushing
<headius> hmm
<headius> test:mri:jit or just a one-off test?
<headius> it fails two the same way in test:mri:jit
<subbu> btw, do you think all those failures and erroring in travis .. are they related to the block call protocol changes? or something else?
<subbu> i did a one-off test.
<headius> I haven't looked at travis since we broke it
tjohnson has joined #jruby
<subbu> [subbu@earth bin] jruby -X-C -Xjit.threshold=2 /tmp/lambda.rb
<subbu> [[1, 2, 3], [4, 5, 6], [7, 8, 9], [10]]
temporalfox has quit [Read error: Connection reset by peer]
<subbu> ah, but .. I didn't try -X+C
temporal_ has joined #jruby
<headius> that's simple
<subbu> [subbu@earth bin] jruby -X+C -Xjit.threshold=0 /tmp/lambda.rb
<subbu> [1, 4, 7, 10]
<headius> threshold=0 would fire full
<subbu> there you go.
<subbu> i thought jit.threshold=2 would fire full build even with interp
<headius> after two calls, and in the background
<subbu> since that block runs 10 times .. but i guess i need to turn off background
<headius> so for that short test it probably never gets installed
<subbu> yes .. late night commits ftw! :(
<headius> hah
<headius> yeah no problem
<headius> it was a simple fix before, probably simple now too
<subbu> so, locally, with test:mri:jit .. my rake test always fails with "NameError: uninitialized constant MiniTest"
<subbu> i thought i had installed minitest.
<headius> not bootstrapped perhaps?
<headius> it should get installed for a normal build though
<headius> it's part of stdlib
<subbu> what command should I run?
<headius> just "rake test:mri:jit"?
<subbu> jruby -S rake test:mri:jit is what i run and get those failures.
<headius> that's weird
<subbu> is it java version issue?
<subbu> i am on 1.7
<headius> clean build or git clean -dxf to delete everything not from repo (will delete temp scripts too)
<subbu> i guess that is supported.
<headius> yeah should be fine
<headius> I run on 7 and 8 at various times
<subbu> yes, clean build.
<subbu> jruby -S rake spec:ruby:fast always fails with other errors for me.
<subbu> ok, pulling a fresh clone of jruby
<headius> yeah seems like something goofy in your env
temporal_ has quit [Remote host closed the connection]
<headius> you are on linux right?
<headius> what flavor
donV has joined #jruby
<subbu> yes. ubuntu
temporalfox has joined #jruby
<subbu> 14.04
<subbu> i used to be able to run everything .. at some point, something broke in my env and i got lazy and started using travis as my tester.
<headius> yeah that's what travis runs
<subbu> but, it doesn't work for debugging things.
<headius> if you get a chance later show me what fails
<headius> I run tests on 14.04 on a VM occasionally and have not had issues
<subbu> i am rebuilding jruby in a new dir with a fresh clone.
<subbu> hopefully that will do the trick.
<subbu> hmm. nope.
<subbu> let me start bash and run from there.
<subbu> in case something in my tcsh profile is wonky
<subbu> yes, starting bash fixes it.
<headius> hahah
<headius> JRuby: incompatible with tcsh
Aethenelle has joined #jruby
<subbu> i am sure i have some env vars from whenever that are messing with it. will investigate later.
<subbu> or maybe something on my classpath .. whatever. ok .. at least i am now getting tests running locally.
olleolleolle has quit [Ping timeout: 256 seconds]
<headius> ok cool
<headius> if you want to trade with me and look at the return issue I wouldn't argue :-)
olleolleolle has joined #jruby
<headius> I assume there's some pops getting dropped on the lambda return path
<subbu> will take a look.
<subbu> what is the test again?
<headius> def foo; a = 1; lambda { return binding }; end; eval 'a', foo
<headius> it should fail but it sees 'a' because only one scope gets popped
<headius> oh wait
<subbu> and there have been some non-deterministic failures in travis for a while now .. not sure if they are related to block call protocol or not .. maybe worth turning this off and isolating them.
<headius> eval 'a'
<headius> not with foo
<headius> it messes up current body's scope
<subbu> ok.
<subbu> those tests take long.. finished finally with 4f/2e.
vtunka has quit [Quit: Leaving]
<headius> ok
<headius> if you want to run the individual files with excluded tests...
<headius> EXCLUDES=test/mri/excludes jruby test/mri/runner.rb path/to/test/file
<headius> flags applied as necessary
<subbu> [subbu@earth ir] jruby -X-C /tmp/eval.rb
<subbu> TypeError: wrong argument type Proc (expected binding)
<subbu> eval at org/jruby/RubyKernel.java:978
<subbu> <top> at /tmp/eval.rb:6
<headius> oops
<subbu> so, it fails the same way for -X-C and -X+C ..
<headius> .call
<headius> on the end of the lambda
<subbu> ah, right.
<subbu> [subbu@earth ir] jruby -X-C /tmp/eval.rb
<subbu> [subbu@earth ir] jruby -X+C -Xjit.threshold=0 /tmp/eval.rb
<subbu> [subbu@earth ir]
<subbu> now, it runs both ways.
<headius> it should error
<headius> the eval shouldn't see "a"
<headius> bleh, I messed up the example
<headius> here..
<headius> jruby -e "def foo; a = 1; lambda { return binding }.call; end; foo; eval 'a'"
<headius> the call to foo leaves its scope on the stack
<headius> because the lambda's return skips popping the lambda's scope
<headius> (I believe)
blandflakes has joined #jruby
<subbu> sorry .. but .. :)
<subbu> [subbu@earth ir] jruby -X-C -e "def foo; a = 1; lambda { return binding }.call; end; foo; eval 'a'"
<subbu> NameError: undefined local variable or method `a' for main:Object
<subbu> <eval> at (eval):1
<subbu> eval at org/jruby/RubyKernel.java:978
<subbu> <top> at -e:1
<subbu> [subbu@earth ir] jruby -X+C -Xjit.threshold=0 -e "def foo; a = 1; lambda { return binding }.call; end; foo; eval 'a'"
<headius> yup, simple interp is ok
<subbu> ah, that is the error?
<headius> yeah
<subbu> interp is okay.
<headius> oh!
<subbu> alright. now i can look.
<headius> does threshold=0 error correctly too?
<headius> -X-C
<subbu> no, -X+c -Xthreshold=0 doesn't error
<headius> no, no error for me
<subbu> right. same.
<headius> you don't need those for the target script or -e, it always jits immediately
<subbu> so, now i know what should happen. will debug.
<subbu> oh, ok.
<headius> only need threshold=0 if there are other scripts required in, and -X+C doesn't really do anything right now
nirvdrum has joined #jruby
<headius> because not all IR can JIT (large bodies etc)
<subbu> makes sense.
<subbu> so, what is the no-background flag again? -Xjit.background=false ?
<headius> threshold=0 turns off background now
<subbu> ok.
<headius> because that's always what we want
camlow325 has joined #jruby
<subbu> nice .. -X-C -Xjit.threshold=0 also doesn't error so i can poke at just the interp code.
<headius> yeah
<headius> I blanced at the full IR and I see nonlocal_return without any pops
<headius> that's as far as I got
camlow325 has quit [Read error: Connection reset by peer]
<subbu> phew ... this is like a big context switch .. having to load all these jruby bits paged out onto the internet back into main memory :) .. haven't run these tests and scripts in a long time.
<headius> hah
camlow325 has joined #jruby
<headius> well I appreciate the help :-) I want to start playing with deeper tweaks now that ACP is working for blocks, but it needs to be working first
<headius> I'll fix the slice thing
camlow325 has quit [Read error: Connection reset by peer]
camlow325 has joined #jruby
<headius> ahh yeah I see the problem there right away
<headius> a lambda yielded to gets context block type reset to NORMAL
<headius> so it never enters the "isProc" block
camlow325 has quit [Read error: Connection reset by peer]
<subbu> yes, nonlocal return is not popping block state.
camlow325 has joined #jruby
<subbu> it is a bug in the acp pass code for blocks. i thought i reasoned that nonlocal returns didn't need it .. but clealry flawed reasoning :)
<headius> yeah that would do it :-)
camlow325 has quit [Read error: Connection reset by peer]
camlow325 has joined #jruby
<subbu> i missed the "if (IRRuntimeHelpers.inLambda(blockType)) return returnValue;" line at the start of IRRuntimeHelpers.initiateNonLocalReturn(..)
<subbu> so, another special case now needed for lambdas vs. blocks.
<subbu> ok, will fix it.
<subbu> let me look at break handling while at it and see if it changes anything.
<subbu> yup breaks have the same issue.
<subbu> headius, alright .. time to get breakfast .. and i'll take a look at this after. crappy special cases .. anyway this is basically affirming that we need two versions of code for lambdas and non-lambda versions of blocks.
<subbu> but, for now, i'll hack something in to get it to work .. but, the nonlocal return and break handling is different logic in the body of the block as well not just preamble.
subbu is now known as subbu|afk
<headius> subbu|afk: ok
pitr-ch has joined #jruby
<headius> subbu|afk: did your proc/lambda args changes fix anything or were they just intended to be better style?
<headius> I can't see any behavioral change other than the breaking one
subbu|afk is now known as subbu
<subbu> headius, well, i was mostly looking at code paths without call protocol and with call protocol and trying to make sure they were consistent.
<subbu> without trying to fix any specific tests.
<headius> ok
<headius> I may bifurcate these into lambda and non-lambda methods so that's more clear
<headius> and I will probably just revert your change and then do that
<subbu> makes sense.
<subbu> k
kares has quit [Quit: hali-hoo!]
skade has joined #jruby
lazyatom has quit [Quit: Connection closed for inactivity]
mysteriouspants has quit [Changing host]
mysteriouspants has joined #jruby
pitr-ch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bascule> _____ ____ ___ ____ _ __ ___ _ _
<bascule> | ___| _ \|_ _| _ \ / \\ \ / / | | |
<bascule> | |_ | |_) || || | | |/ _ \\ V /| | | |
<bascule> | _| | _ < | || |_| / ___ \| | |_|_|_|
<bascule> |_| |_| \_\___|____/_/ \_\_| (_|_|_)
<bascule>
pitr-ch has joined #jruby
<GitHub108> [jruby] subbuss pushed 1 new commit to master: http://git.io/v0Ajt
<GitHub108> jruby/master 11e3766 Subramanya Sastry: Push lambda non-local returns & breaks through local exceptions...
<subbu> headius, there you go ^
<GitHub77> [jruby] eregon pushed 1 new commit to truffle-head: http://git.io/v0xvk
<GitHub77> jruby/truffle-head 9580e60 Benoit Daloze: [Truffle] AllocateObjectNode for Queue.
<subbu> headius, i am going to turn off block call protocol on master till we get the rest of this greened so we at least know if any of the breakage is related to this or not.
<GitHub78> [jruby] subbuss pushed 1 new commit to master: http://git.io/v0xUo
<GitHub78> jruby/master ccc8e03 Subramanya Sastry: Turn off block call protocol till we get failures fixed
<projectodd-ci> Project jruby-master-spec-compiler build #725: FAILURE in 3 min 55 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-compiler/725/
<projectodd-ci> Project jruby-master-test-slow_suites build #2368: FAILURE in 4 min 35 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-test-slow_suites/2368/
<GitHub153> [jruby] subbuss pushed 1 new commit to master: http://git.io/v0xmJ
<GitHub153> jruby/master 3af83b3 Subramanya Sastry: Revert "Push lambda non-local returns & breaks through local exceptions"...
<subbu> headius, i'll have to look at this over the weekend ... this is a bit more trickier than I thought since I have other assumptions in the IR builder about nonlocal-return and breaks.
<subbu> so, reverted it.
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #jruby
<GitHub83> [jruby] subbuss pushed 1 new commit to master: http://git.io/v0x3A
<GitHub83> jruby/master 5100428 Subramanya Sastry: Enable dumps of full build IR & CFG in debug mode
e_dub has quit [Quit: ZZZzzz…]
lance|afk is now known as lanceball
<travis-ci> jruby/jruby (master:11e3766 by Subramanya Sastry): The build has errored. (https://travis-ci.org/jruby/jruby/builds/97719715)
<GitHub11> [jruby] subbuss pushed 1 new commit to master: http://git.io/v0xC5
<GitHub11> jruby/master a94de2e Subramanya Sastry: This time with feeling: enable dumps of full build IR & CFG in debug mode
<GitHub5> [jruby] chrisseaton opened issue #3549: [Truffle] Fix remaining language specs http://git.io/v0xl4
brauliobo has quit [Ping timeout: 246 seconds]
skade has quit [Quit: Computer has gone to sleep.]
<projectodd-ci> Project jruby-master-spec-ji build #2411: FAILURE in 5 min 2 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ji/2411/
<travis-ci> jruby/jruby (master:ccc8e03 by Subramanya Sastry): The build failed. (https://travis-ci.org/jruby/jruby/builds/97721868)
<projectodd-ci> Project jruby-master-spec-compiler build #726: STILL FAILING in 3 min 33 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-compiler/726/
<projectodd-ci> Project jruby-master-test-slow_suites build #2369: STILL FAILING in 4 min 46 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-test-slow_suites/2369/
pawnbox has quit [Remote host closed the connection]
brixen has joined #jruby
temporalfox has quit [Read error: Connection reset by peer]
temporalfox has joined #jruby
pawnbox has joined #jruby
e_dub has joined #jruby
pawnbox has quit [Ping timeout: 272 seconds]
<travis-ci> jruby/jruby (master:3af83b3 by Subramanya Sastry): The build failed. (https://travis-ci.org/jruby/jruby/builds/97724556)
brauliobo has joined #jruby
skade has joined #jruby
Petesta has joined #jruby
brauliobo has quit [Ping timeout: 240 seconds]
Petesta has left #jruby [#jruby]
skade has quit [Quit: Computer has gone to sleep.]
subbu is now known as subbu|lunch
Petesta has joined #jruby
<travis-ci> jruby/jruby (master:5100428 by Subramanya Sastry): The build failed. (https://travis-ci.org/jruby/jruby/builds/97726106)
Petesta has left #jruby ["Textual IRC Client: www.textualapp.com"]
skade has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
<GitHub1> [jruby] chrisseaton pushed 2 new commits to truffle-head: http://git.io/v0pUS
<GitHub1> jruby/truffle-head 6a940b8 Chris Seaton: Merge branch 'master' into truffle-head...
<GitHub1> jruby/truffle-head c8f51c0 Chris Seaton: [Truffle] Update Truffle version.
<travis-ci> jruby/jruby (master:a94de2e by Subramanya Sastry): The build failed. (https://travis-ci.org/jruby/jruby/builds/97728404)
yfeldblum has joined #jruby
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
temporalfox has quit [Read error: Connection reset by peer]
temporalfox has joined #jruby
subbu|lunch is now known as subbu
<travis-ci> jruby/jruby (truffle-head:c8f51c0 by Chris Seaton): The build was broken. (https://travis-ci.org/jruby/jruby/builds/97746992)
<chrisseaton> subbu: are you still around? your last commit went bad
<subbu> chrisseaton, i think it is one of headius' older commits that is sending code along the explicit block call protocol path even when it is turned off .. I figured he would notice it once he emerges from his coding cave :)
blandflakes has joined #jruby
<chrisseaton> oh sorry
<chrisseaton> headius: ^
brauliobo has joined #jruby
yfeldblum has quit [Ping timeout: 240 seconds]
lanceball is now known as lance|afk
pawnbox has joined #jruby
bbrowning has quit [Quit: Leaving]
pawnbox has quit [Ping timeout: 265 seconds]
<donV> Hi all!
<subbu> chrisseaton, am taking a look now .. i think headius never meant for the explicit block call protocol to be turned off .. I thought I would turn it off while we debug and fix the remaining failures and errors, but that broke the JIT.
rsim has joined #jruby
<GitHub77> [jruby] subbuss pushed 1 new commit to master: http://git.io/v0p1T
<GitHub77> jruby/master a968fc7 Subramanya Sastry: Re-enable the implicit call protocol paths in CompiledIRBlockBody...
<donV> Anybody got a way to get a list of the bucket at http://ci.jruby.org/ ?
<donV> It is a javascript page…
<subbu> headius, sorry for stepping on your toes .. but given that I cannot fix some of these failures till later in the weekend, I turned off explicit call protocol for blocks.
<subbu> and broke the JIT since I didn't realize you had turned off the old call paths.
tcrawley is now known as tcrawley-away
rsim has quit [Ping timeout: 240 seconds]
mg^ has quit [Quit: Leaving]
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<tenderlove> blah
<tenderlove> ^^^ production data in production mode
<tenderlove> headius, chrisseaton ^^^
<chrisseaton> tenderlove: interesting, thanks
<tenderlove> no problem.
<tenderlove> It differs from production that I'm not running a proxy in front
<tenderlove> I'm working on making a histogram for the types in N=2
<tenderlove> I didn't log method names though. :(
<chrisseaton> Do you know what the 1689 one is?
<chrisseaton> Must be some runtime code surely?
<tenderlove> it *must* be runtime code
<tenderlove> I don't know what it is yet
<tenderlove> one sec
<GitHub54> [jruby] chrisseaton pushed 1 new commit to truffle-head: http://git.io/v0p9x
<GitHub54> jruby/truffle-head 04a3410 Chris Seaton: Merge branch 'master' into truffle-head
<tenderlove> oh boy
<tenderlove> 15194331|488944|452316|Thin::Connection
<tenderlove> they're instances of Thin::Connection
<tenderlove> Thin::Connection must be monkey patching itself at runtime
<tenderlove> I'm doing the counts based on class serial number
<chrisseaton> tenderlove: or are they singleton classes on objects?
<tenderlove> chrisseaton: it could be that the singleton class on Thin::Connection is changing
<tenderlove> that would cause the class serial number to change
yfeldblum has joined #jruby
<tenderlove> :(
<tenderlove> clearly thin is doing something wrong
<chrisseaton> what was that design pattern that was popular a while ago where people created objects and then added methods every time?
<tenderlove> DCI
<tenderlove> (I thing)
<tenderlove> think
<chrisseaton> that was it
<chrisseaton> i did an experiment to change the way singletons were allocated to handle that without invalidations
pawnbox has joined #jruby
<tenderlove> oh?
<tenderlove> how did it work out?
<chrisseaton> it worked, but didn't commit it as it was very special case - don't think anyone uses DCI
<chrisseaton> it's one of those things i should write up into a paper at some point
pawnbox has quit [Ping timeout: 246 seconds]
e_dub has quit [Quit: ZZZzzz…]
<tenderlove> it would be nice if there was a more fine grain cache key, I suppose
brauliobo has quit [Ping timeout: 240 seconds]
<chrisseaton> you can also cache the set of methods an object has, and when you add a method you just move to an existing, cached new set of methods, rather than a new set
<chrisseaton> so if your sets end up being the same, even if you're doing stuff at runtime, your call sites can stay cached
<chrisseaton> it's like properties in hidden class systems
<tenderlove> ah, hmmm
<tenderlove> I see
<travis-ci> jruby/jruby (master:a968fc7 by Subramanya Sastry): The build was fixed. (https://travis-ci.org/jruby/jruby/builds/97765723)
<projectodd-ci> Yippee, build fixed!
<projectodd-ci> Project jruby-master-spec-ji build #2412: FIXED in 5 min 14 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ji/2412/
<tenderlove> 313640|17900
<tenderlove> sqlite> select distinct class_name from calls where cache_id = 17900;
<tenderlove> Array
<tenderlove> Set
<tenderlove> sqlite>
<tenderlove> the top bimorphic call site is with an Array and a Set
<tenderlove> I'm still working on making a graph though
bjfish2 has quit [Quit: bjfish2]
<chrisseaton> why are you looking at this? general interest? or have you determined that polymorphic call sites are a significant cost
<tenderlove> ah hah
<tenderlove> chrisseaton: general interest
<tenderlove> I want to learn more
blandflakes has joined #jruby
<travis-ci> jruby/jruby (truffle-head:04a3410 by Chris Seaton): The build was fixed. (https://travis-ci.org/jruby/jruby/builds/97769288)
<tenderlove> ^^^ that's the thing that's breaking the cache
<tenderlove> it's the source of the 1689
<projectodd-ci> Yippee, build fixed!
<projectodd-ci> Project jruby-master-spec-compiler build #727: FIXED in 3 min 38 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-compiler/727/
<projectodd-ci> Yippee, build fixed!
<projectodd-ci> Project jruby-master-test-slow_suites build #2370: FIXED in 7 min 18 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-test-slow_suites/2370/
<chrisseaton> tenderlove: what causes the invalidation in that? I don't see any method definitions
<tenderlove> unsure. I am *guessing* it just increments on the instance_eval
<tenderlove> regardless
<tenderlove> but I really have no idea why
<tenderlove> I added a trace to the place where the serial number gets incremented and got the backtrace
<tenderlove> it pointed here
<tenderlove> weird
<tenderlove> Object.new.instance_eval do end; RubyVM.stat
<tenderlove> just doing that over and over will increase the class serial number
<nirvdrum> 3x3 achieved!
<chrisseaton> yeah that must be a bug - there's no reason to increase the class serial number on just doing an instance_eval
<chrisseaton> and instance_eval seems like it would be pretty common in DSLs
<tenderlove> nirvdrum: lol
<chrisseaton> don't things like sinatra run their handler blocks in instance_eval on a request object?
<nirvdrum> tenderlove: You're probably aware, but MRI also bumps the global serial number for Object, BasicObject, and Kernel IIRC.
<tenderlove> yes
<tenderlove> anyway, at least I know where the 1600 types are coming from (-‸ლ)
awx_ has quit [Quit: WeeChat 0.4.3]
pawnbox has joined #jruby
<nirvdrum> My guess is because the singleton class is lazily instantiated. And instance_eval fetches the singleton class.
<tenderlove> ya
<tenderlove> my poking around seems to indicate that's the case
<nirvdrum> chrisseaton: We're probably subject to the same issue.
<tenderlove> if you call instance_eval on the same instance multiple times
<tenderlove> it only happens once
<chrisseaton> ah yes
pawnbox has quit [Ping timeout: 256 seconds]
rsim has joined #jruby
rsim has quit [Ping timeout: 240 seconds]
Aethenelle has quit [Quit: Aethenelle]