<nirvdrum> This issue in particular isn't critical for now. It'll need to be addressed to get Rails booting, however.
<nirvdrum> Getting IRB up, however, would be really nice.
<chrisseaton> nirvdrum: yeah - I took a look - it didn't look pretty
marr has quit [Ping timeout: 245 seconds]
<nirvdrum> Heh. I'll be patient then :-)
<nirvdrum> And you keep rather late hours, eh?
<chrisseaton> I have a new baby
phrinx_ has joined #jruby
<nirvdrum> Ahh, fun.
<nirvdrum> Mine just started walking a few weeks ago. He enjoys yanking my ACM magazines off the bookshelf and playing with my mouse when I get up.
robbyoconnor has joined #jruby
phrinx has quit [Ping timeout: 258 seconds]
robbyoconnor has quit [Read error: Connection reset by peer]
<chrisseaton> nirvdrum: here's the problem - hub.com/jruby/jruby/blob/master/core/src/main/java/org/jruby/truffle/nodes/supercall/GeneralSuperReCallNode.java#L47 - we just use the current frame's arguments, even if it's a block with its own frame, and we really should be using the parent (or grandparent etc) frame
robbyoconnor has joined #jruby
phrinx has joined #jruby
phrinx_ has quit [Ping timeout: 244 seconds]
<nirvdrum> Interesting.
<nirvdrum> Were you able to attach a debugger? Or how did you track that down?
<chrisseaton> I just looked at it and thought about it - seeing super in a block looked strange, then it was obvious that might not be working
<chrisseaton> When I read Ruby code now all I see is Truffle nodes
tcrawley is now known as tcrawley-away
<nirvdrum> Heh.
bbrowning_away has joined #jruby
bbrowning_away is now known as bbrowning
thsig has quit [Remote host closed the connection]
JRubyGithub has joined #jruby
<JRubyGithub> jruby/master 9d954e0 Chris Seaton: [Truffle] Add option to panic on Java exceptions.
<JRubyGithub> [jruby] jrubyci pushed 4 new commits to master: http://git.io/C0Ikpw
<JRubyGithub> jruby/master 4864d4d Chris Seaton: [Truffle] Arity error should say minimum, not maximum.
<JRubyGithub> jruby/master a34440e Chris Seaton: [Truffle] Mock support for re-raise of an exception.
JRubyGithub has left #jruby [#jruby]
krainboltgreene has left #jruby ["Textual IRC Client: www.textualapp.com"]
<chrisseaton> The last three commits fix issues Truffle had with your example - we still aren't quite right as I haven't yet implemented re-raise.
thsig has joined #jruby
<nirvdrum> That assertion handling is nifty.
subbu has joined #jruby
<chrisseaton> The panic thing?
<nirvdrum> Yeah.
<chrisseaton> When you use panic you get an uber backtrace https://gist.github.com/chrisseaton/17a8b68838f770a648f4
<nirvdrum> Yeah, that looks quite helpful.
<chrisseaton> I might do a version of that for end users that includes just the locals in a more compact way
thsig has quit [Remote host closed the connection]
thsig has joined #jruby
johnsonch is now known as johnsonch_afk
zorak_ has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:7381eb9 by Chris Seaton): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/37556505)
travis-ci has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> jruby/master 1a27cb4 Subramanya Sastry: Distinguish between normal clone & ensure-block clone for closures....
<JRubyGithub> [jruby] jrubyci pushed 1 new commit to master: http://git.io/_YFoKg
JRubyGithub has left #jruby [#jruby]
diegoviola has joined #jruby
rcvalle has quit [Quit: rcvalle]
tlarevo has joined #jruby
diegoviola has quit [Client Quit]
e_dub has joined #jruby
subbu has quit [Ping timeout: 245 seconds]
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #jruby
havenwood has joined #jruby
ivan\ has joined #jruby
phrinx has quit [Remote host closed the connection]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] jrubyci pushed 3 new commits to master: http://git.io/sIqRgg
<JRubyGithub> jruby/master c555ad8 Chris Seaton: [Truffle] Remove debug code left in by mistake.
<JRubyGithub> jruby/master c03ac41 Chris Seaton: [Truffle Regexp#=~ seems fine now.
<JRubyGithub> jruby/master 45024c7 Chris Seaton: [Truffle] Nodes being used more than once in multiple assignment translation.
JRubyGithub has left #jruby [#jruby]
yfeldblum has quit [Remote host closed the connection]
thsig has quit [Remote host closed the connection]
ruber has joined #jruby
<ruber> For a typical Rails CRUD app what kind of memory usage efficienices can I expect using, say, Torquebox to replace a herd of Unicorns?
<ruber> Rough estimate will do :)
pgokeeffe has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:1a27cb4 by Subramanya Sastry): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/37557789)
travis-ci has left #jruby [#jruby]
josh-k has quit [Remote host closed the connection]
josh-k has joined #jruby
diegoviola has joined #jruby
josh-k has quit [Ping timeout: 272 seconds]
ivan\ has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
multibot_ has quit [Remote host closed the connection]
multibot_ has joined #jruby
yfeldblum has joined #jruby
diegoviola has quit [Quit: WeeChat 1.0.1]
ruber has quit [Quit: BitchX: it's all day strong, all day long]
ludyte has joined #jruby
ekinmur has joined #jruby
SynrG has quit [Read error: Connection reset by peer]
havenwood has quit [Remote host closed the connection]
SynrG has joined #jruby
ivan\ has joined #jruby
projectodd-ci has quit [Remote host closed the connection]
projectodd-ci has joined #jruby
DomKM has quit [Quit: Connection closed for inactivity]
tylersmith has quit [Read error: Connection reset by peer]
tylersmith has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:45024c7 by Chris Seaton): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/37559068)
travis-ci has left #jruby [#jruby]
ekinmur has quit []
ludyte has quit [Quit: ludyte]
pgokeeffe has quit [Ping timeout: 260 seconds]
e_dub has quit [Read error: Connection reset by peer]
e_dub has joined #jruby
robbyoconnor has quit [Quit: Konversation terminated!]
uberjar has joined #jruby
colinsurprenant has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> jruby/pedantic 8499cf8 Chris Seaton: Move the compliance option into a new category.
<JRubyGithub> [jruby] jrubyci created pedantic (+5 new commits): http://git.io/47gOOQ
<JRubyGithub> jruby/pedantic 9fe0120 Chris Seaton: Follow RubySpec for processing of switches in RUBYOPTS if strict compliance.
<JRubyGithub> jruby/pedantic 4453032 Chris Seaton: Add a compliance.strict option for maximum compliance with RubySpec.
JRubyGithub has left #jruby [#jruby]
colinsurprenant has quit [Client Quit]
colinsurprenant has joined #jruby
subbu has joined #jruby
<nirvdrum> chrisseaton: I'm running through the Truffle wiki again. FYI, the benchmark info is out of date. It might just be that the path moved. Dunno if it's deeper than that.
<chrisseaton> yeah - need to update that page, sorry
<chrisseaton> the benchmark graphs are also out of date btw
<chrisseaton> we might set up a public speed centre at some point
<nirvdrum> And those images are really hard to read. I thought GitHub would blow them up, but I guess not.
<chrisseaton> can you click on them?
<nirvdrum> No. I thought I used to be able to, but they do nothing right now.
<nirvdrum> I can copy & paste the image URL though.
<chrisseaton> we also have some bad regressions on master at the moment, so you won't be able to reproduce them (if you were going to try)
<nirvdrum> Okay. Well, I'll scrap that little project then.
<nirvdrum> I hadn't upgraded to graal 0.5 until a few minutes ago. I thought I'd see how things were looking.
<chrisseaton> The benchmarks went because I've made a new benchmark harness in a sparate repo, but haven't gotten around to releasing it yet
<nirvdrum> No worries.
<nirvdrum> I'll switch to figuring out how to get rubinius to compile.
uberjar has quit [Quit: .]
tlarevo has quit [Remote host closed the connection]
tlarevo has joined #jruby
robbyoconnor has joined #jruby
tlarevo has quit [Ping timeout: 246 seconds]
colinsurprenant has quit [Quit: colinsurprenant]
robbyoconnor has quit [Max SendQ exceeded]
robbyoconnor has joined #jruby
rsim has joined #jruby
pgokeeffe has joined #jruby
yfeldblu_ has joined #jruby
robbyoconnor has quit [Ping timeout: 260 seconds]
robbyoconnor has joined #jruby
zorak_ has quit [Ping timeout: 260 seconds]
rsim has quit [Quit: Leaving.]
yfeldblum has quit [Ping timeout: 272 seconds]
nirvdrum has quit [Ping timeout: 258 seconds]
pgokeeffe has quit [Ping timeout: 260 seconds]
pgokeeffe_ has joined #jruby
robbyoconnor has quit [Max SendQ exceeded]
robbyoconnor has joined #jruby
robbyoconnor has joined #jruby
robbyoconnor has quit [Changing host]
robbyoconnor has quit [Client Quit]
tlarevo has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> jruby/master d3aabe2 Subramanya Sastry: Use CompilerPass.run to process nested scopes.
<JRubyGithub> [jruby] jrubyci pushed 1 new commit to master: http://git.io/FJwRog
JRubyGithub has left #jruby [#jruby]
josh-k has joined #jruby
josh-k has quit [Remote host closed the connection]
ryez has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:d3aabe2 by Subramanya Sastry): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/37568221)
travis-ci has left #jruby [#jruby]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:d3aabe2 by Subramanya Sastry): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/37568221)
travis-ci has left #jruby [#jruby]
tylersmith has quit [Remote host closed the connection]
rsim has joined #jruby
subbu has quit [Ping timeout: 240 seconds]
diegovio1 has joined #jruby
diegovio1 is now known as diegoviola
qualiabyte has joined #jruby
qualiabyte has left #jruby ["Leaving"]
yfeldblum has joined #jruby
DomKM has joined #jruby
yfeldblu_ has quit [Ping timeout: 246 seconds]
nipra has quit [Quit: Leaving.]
yfeldblum has quit [Ping timeout: 260 seconds]
pgokeeffe_ has quit [Read error: Connection reset by peer]
robbyoconnor has joined #jruby
anaeem1_ has joined #jruby
josh-k has joined #jruby
josh-k has quit [Remote host closed the connection]
josh-k has joined #jruby
diegoviola has quit [Quit: WeeChat 1.0.1]
benlovell has joined #jruby
josh-k has quit [Ping timeout: 244 seconds]
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #jruby
benlovell has quit [Ping timeout: 250 seconds]
anaeem1_ has quit [Ping timeout: 272 seconds]
anaeem1_ has joined #jruby
ephemerian has joined #jruby
pchalupa has joined #jruby
rolfb has joined #jruby
noop has joined #jruby
anaeem1_ has quit [Remote host closed the connection]
benlovell has joined #jruby
yfeldblum has joined #jruby
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #jruby
marr has joined #jruby
anaeem1 has joined #jruby
anaeem1 has quit [Remote host closed the connection]
yfeldblu_ has joined #jruby
fridim_ has joined #jruby
yfeldblum has quit [Ping timeout: 258 seconds]
anaeem1_ has joined #jruby
anaeem1_ has quit [Remote host closed the connection]
anaeem1 has joined #jruby
elia has joined #jruby
anaeem1 has quit [Remote host closed the connection]
anaeem1 has joined #jruby
anaeem1 has quit [Remote host closed the connection]
<JRubyGithub> jruby/master 8ec4a4a Benoit Daloze: [Truffle] Allow the extra parameter of Module#constants.
<JRubyGithub> [jruby] jrubyci pushed 1 new commit to master: http://git.io/xNazOw
JRubyGithub has joined #jruby
JRubyGithub has left #jruby [#jruby]
robbyoconnor has quit [Ping timeout: 260 seconds]
pgokeeffe has joined #jruby
drbobbeaty has joined #jruby
robbyoconnor has joined #jruby
anaeem1_ has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:8ec4a4a by Benoit Daloze): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/37579100)
travis-ci has left #jruby [#jruby]
anaeem1_ has quit [Remote host closed the connection]
pgokeeffe has quit [Ping timeout: 244 seconds]
anaeem1_ has joined #jruby
postmodern has quit [Quit: Leaving]
shellac has joined #jruby
iamjarvo has joined #jruby
mister_solo has joined #jruby
thsig has joined #jruby
etehtsea has joined #jruby
vtunka has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
SynrG has quit [Remote host closed the connection]
nipra has joined #jruby
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #jruby
beawesomeinstead has quit [Quit: Connection closed for inactivity]
brettporter has quit [Remote host closed the connection]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rsim has quit [Quit: Leaving.]
mister_solo has quit [Ping timeout: 250 seconds]
robbyoconnor has quit [Max SendQ exceeded]
SynrG has joined #jruby
robbyoconnor has joined #jruby
rsim has joined #jruby
rsim has quit [Quit: Leaving.]
_elia has joined #jruby
elia has quit [Ping timeout: 260 seconds]
mister_solo has joined #jruby
drbobbeaty has joined #jruby
nipra has quit [Quit: Leaving.]
benlovell has quit [Ping timeout: 260 seconds]
_elia has quit [Quit: Computer has gone to sleep.]
Hobogrammer has quit [Ping timeout: 258 seconds]
statonjr has joined #jruby
elia has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> jruby/truffle-om 5e1cf40 Andreas Woess: [Truffle] object model integration - initial work
<JRubyGithub> jruby/truffle-om 9ad4bf1 Chris Seaton: [Truffle] Dependency on local install of OM jar.
<JRubyGithub> [jruby] jrubyci created truffle-om (+44 new commits): http://git.io/zBFecQ
<JRubyGithub> jruby/truffle-om 7667121 Andreas Woess: [Truffle] add a node for writing new object fields
JRubyGithub has left #jruby [#jruby]
elia has quit [Quit: Computer has gone to sleep.]
nipra has joined #jruby
nirvdrum has joined #jruby
benlovell has joined #jruby
elia has joined #jruby
mister_solo has quit [Ping timeout: 250 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] jrubyci pushed 1 new commit to truffle-head: http://git.io/IhIqfQ
<JRubyGithub> jruby/truffle-head 0e19718 Chris Seaton: Merge branch 'master' into truffle-head
JRubyGithub has left #jruby [#jruby]
mister_solo has joined #jruby
anaeem1_ has quit [Remote host closed the connection]
yfeldblu_ has quit [Remote host closed the connection]
mister_solo has quit [Ping timeout: 245 seconds]
elia has quit [Quit: Computer has gone to sleep.]
mister_solo has joined #jruby
ludyte has joined #jruby
tcrawley-away is now known as tcrawley
yfeldblu_ has joined #jruby
yfeldblu_ has quit [Ping timeout: 246 seconds]
toshe_tm has quit [Ping timeout: 250 seconds]
elia has joined #jruby
nirvdrum_ has joined #jruby
nirvdrum has quit [Ping timeout: 272 seconds]
mister_solo has quit [Ping timeout: 260 seconds]
thsig has quit [Ping timeout: 258 seconds]
thsig has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton deleted truffle-om at 6f89fe8: http://git.io/EeRlgg
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton deleted truffle-constants-specs at ba4cf5b: http://git.io/O8LLkA
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] chrisseaton deleted truffle-bytes-source at 1e927fc: http://git.io/5CW4Tw
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] jrubyci pushed 1 new commit to master: http://git.io/5jYv3Q
<JRubyGithub> jruby/master 467c5e3 Benoit Daloze: [Truffle] Keep the same terminology: ignoreVisibility instead of obscure fcall....
JRubyGithub has left #jruby [#jruby]
nirvdrum_ has quit [Ping timeout: 260 seconds]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:467c5e3 by Benoit Daloze): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/37598098)
travis-ci has left #jruby [#jruby]
yfeldblum has joined #jruby
nirvdrum_ has joined #jruby
rcvalle has joined #jruby
yfeldblu_ has joined #jruby
yfeldblum has quit [Ping timeout: 258 seconds]
yfeldblu_ has quit [Ping timeout: 272 seconds]
noop has quit [Quit: Leaving]
robbyoconnor has quit [Max SendQ exceeded]
robbyoconnor has joined #jruby
anaeem1 has joined #jruby
anaeem1 has quit [Remote host closed the connection]
johnsonch_afk is now known as johnsonch
pgokeeffe has joined #jruby
pgokeeffe has quit [Ping timeout: 258 seconds]
statonjr has quit [Quit: statonjr]
statonjr has joined #jruby
benlovell has quit [Ping timeout: 250 seconds]
mje113__ has joined #jruby
colinsurprenant has joined #jruby
colinsurprenant has quit [Remote host closed the connection]
colinsurprenant has joined #jruby
dudleyf has quit [Ping timeout: 246 seconds]
tcrawley is now known as tcrawley-away
subbu has joined #jruby
e_dub has quit [Quit: ZZZzzz…]
nirvdrum_ has quit [Ping timeout: 260 seconds]
yfeldblum has joined #jruby
ludyte has quit [Quit: ludyte]
justinmcp has quit [Ping timeout: 246 seconds]
justinmcp_ has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] jrubyci pushed 1 new commit to master: http://git.io/sZhLvw
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> jruby/master 527303f Benoit Daloze: [Truffle] Fix usage of flush_stdout on STDOUT to use the public module method....
yfeldblum has quit [Ping timeout: 260 seconds]
benlovell has joined #jruby
nirvdrum_ has joined #jruby
rolfb has quit [Quit: Linkinus - http://linkinus.com]
benlovell has quit [Ping timeout: 240 seconds]
colinsurprenant has quit [Quit: colinsurprenant]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:527303f by Benoit Daloze): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/37605522)
travis-ci has left #jruby [#jruby]
tlarevo has quit [Remote host closed the connection]
Aethenelle has joined #jruby
ludyte has joined #jruby
anaeem1 has joined #jruby
Aethenelle has quit [Quit: Aethenelle]
anaeem1 has quit [Remote host closed the connection]
benlovell has joined #jruby
Aethenelle has joined #jruby
benlovell has quit [Ping timeout: 240 seconds]
<headius> oif
<headius> in this day and age it should be easier to install linux on a mc
<headius> mac
anaeem1_ has joined #jruby
etehtsea has quit [Ping timeout: 244 seconds]
<Aethenelle> you installing directly on the hardware?
<Aethenelle> I wind up using VMs for linux and windows. Only time I have problems is when I try to do too much outside the VM
<headius> yeah, I wanted to do some perf testing on linux and I can't really do that in a vm
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] jrubyci pushed 1 new commit to master: http://git.io/RYjL9w
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> jruby/master 71cddf0 Subramanya Sastry: Novice error: Add hashCode() & equals() for comparison.
yfeldblum has joined #jruby
<subbu> headius, so ... i sent you an email last night .. so the problem as i said there .. is without cloning, JIT threshold=0 will not work.
JRubyGithub has joined #jruby
<JRubyGithub> jruby/non-indy-jit 0bf25c8 Charles Oliver Nutter: Merge remote-tracking branch 'origin/master' into non-indy-jit
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> [jruby] jrubyci pushed 1 new commit to non-indy-jit: http://git.io/10wQmw
colinsurprenant has joined #jruby
<headius> subbu: I'll have a look at the mail
<subbu> k
yfeldblum has quit [Ping timeout: 250 seconds]
<headius> subbu: yeah, I've always figured cloning was going to be necessary
<headius> threshold=0 *should* be no interpretation at all for anything that will jit
<subbu> ok .. ya .. i lost track of that reg. cloning.
<headius> threshold=0 with background JIT could race though
<headius> so that's also requires cloning
<headius> anyway...your second email says "by doing X and Y and Z"...is that something you changed or something I need to change?
<subbu> let me send you the diff.
<subbu> one sec.
<headius> ok
<headius> do you have concerns that kept you from pushing it?
<subbu> oh, because it basically means we run all JIT passes in interp ... but i can push it.
tcrawley-away is now known as tcrawley
<subbu> and all geb for all closures, not just lambdas
<subbu> *add geb
<subbu> mvn clean + rebuild to verify one last time.
<headius> oh right right
e_dub has joined #jruby
<headius> I understand
<headius> I thought you meant no JIT passes in the mention of "except JIT work"
<headius> ok
mister_solo has joined #jruby
<headius> what is currently the best way for me to determine if the IR is ready for interp?
<headius> if JIT passes must run after interp passes, I really just need a way to tell
<subbu> interp should run IR that is output from any of the passes .. as long as cfg is built.
<subbu> as i said, if it doesn't that is a bug.
<headius> ok...and if CFG is built, what's required to proceed on to JIT passes? Just prepareForCompilation?
<subbu> yes.
<subbu> so, should i send you this diff or should i push it for the non-indy-jit branch?
<headius> so...if there's a CFG already on IR I have not jitted yet, it should mean it has been prepared for interp
<headius> if not, I prepareForInterp before I do prepareForCompilation
<headius> just send the diff
<subbu> headius, no .. prepareForCompilation does all of it now. i fixed it up couple days back.
<subbu> just call prepareForCompilation.
<headius> ok
<subbu> look at initScope in IRScope that is now called from both.
<headius> and it's safe to run after interp has run
<subbu> yes. that is how it is right now ... it tries to rerun all the interp passes and works even if it has ... (without the -Xjit.threshold cli arg).
<subbu> but, for now, till we have cloning in place, you should debug JIT with that patch above.
<subbu> 8 failures with or without -Xjit.threshold=0
<subbu> and it has all 8 passes, including dce, and opt-dyn-scope.
<subbu> but you can remove those two if you want. i just added them back as a stress test.
<subbu> to verify my theory.
<subbu> i really want to get some of the code understanding offloaded to you and enebo at some point soon .. i always worry about being the bottleneck especially with my daytime workload at my day job.
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:71cddf0 by Subramanya Sastry): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/37610765)
travis-ci has left #jruby [#jruby]
subbu is now known as subbu|foooood
tcrawley is now known as tcrawley-away
<chrisseaton> subbu: can you write it down rather than explaining it person to person?
tcrawley-away is now known as tcrawley
zorak_ has joined #jruby
anaeem1_ has quit [Remote host closed the connection]
havenwood has joined #jruby
subbu|foooood is now known as subbu
<subbu> chrisseaton, perhaps in terms of general structure, approach, etc. ... i always end up prioritizing coding over wiki / docs / .. since i dont have that many hours to do this. but maybe writing it up is a useful investment of time since there is soemthing to refer back to.
<chrisseaton> subbu: you guys should write up a paper on it - I think don't there are any other dynamic JVM languages that use a full IR like this (does Nashorn? that must be simpler as JS is simpler). There's good venues for this sort of thing.
iamjarvo has joined #jruby
benlovell has joined #jruby
iamjarvo has quit [Max SendQ exceeded]
<chrisseaton> I find writing a paper is good motivation for writing stuff up - feels like it has a purpose rather than just doing it to document stuff
iamjarvo has joined #jruby
vtunka has quit [Quit: Leaving]
<dfr|work> hello all
<dfr|work> I guess I missed some messages yesterday, so feel free to follow up :)
<dfr|work> I was at an offsite >.<
<subbu> chrisseaton, yes, that used to work well in grad school :)
<subbu> it actually helped clean up code actually.
<chrisseaton> If you haven't published anything since then we can point you at some good venues and help you find related literature you might not know about.
benlovell has quit [Ping timeout: 255 seconds]
yfeldblum has joined #jruby
robbyoconnor has quit [Excess Flood]
yfeldblum has quit [Ping timeout: 258 seconds]
robbyoconnor has joined #jruby
tcrawley is now known as tcrawley-away
enebo has joined #jruby
<subbu> i am happy to read up related lit .. i occasonally glance at pldi proceedings and read anything that catches my eye, but i don't follow it that closely anymore.
<tarcieri> _____ ____ ___ ____ _ __ ___ _ _
<tarcieri> | ___| _ \|_ _| _ \ / \\ \ / / | | |
<tarcieri> | |_ | |_) || || | | |/ _ \\ V /| | | |
<tarcieri> | _| | _ < | || |_| / ___ \| | |_|_|_|
<tarcieri> |_| |_| \_\___|____/_/ \_\_| (_|_|_)
<tarcieri>
bbrowning is now known as bbrowning_away
colinsurprenant has quit [Quit: colinsurprenant]
tenderlove has joined #jruby
<subbu> chrisseaton, i am not sure about a paper however ... this all seems standard stuff ... just adapted to a different setting. but then, as i said, i haven't been following this field as closely for a while now.
<chrisseaton> Conventional wisdom is that there is no need to do this stuff on the JVM, as it should magically do it all for you. Your research result is that by moving these techniques into the VM language implementation you can achieve better performance.
<chrisseaton> Because language semantics are lost in the translation to JVM byte code.
pgokeeffe has joined #jruby
mjelen has quit [Ping timeout: 245 seconds]
pgokeeffe has quit [Ping timeout: 260 seconds]
shellac has quit [Ping timeout: 246 seconds]
<subbu> chrisseaton, interesting ... i don't take magical vm arguments very seriously mostly because langs are a diverse bunch, but i see what you are saying about conventional wisdom.
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] jrubyci pushed 5 new commits to master: http://git.io/U107nA
<JRubyGithub> jruby/master f51d47b Benoit Daloze: [Truffle] Remove cases using both isModuleMethod and visibility....
<JRubyGithub> jruby/master ae1e355 Benoit Daloze: [Truffle] Rename isModuleMethod to isModuleFunction....
<JRubyGithub> jruby/master 630d47b Benoit Daloze: [Truffle] Kernel.binding should not need self....
JRubyGithub has left #jruby [#jruby]
colinsurprenant has joined #jruby
<subbu> chrisseaton, but, perhaps worth considering (a paper) once we get this 9k beast out the door.
<subbu> and pointers to related lit is always welcome since you are more plugged in there.
tlarevo has joined #jruby
tylersmith has joined #jruby
phrinx has joined #jruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:3765605 by Benoit Daloze): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/37619587)
travis-ci has left #jruby [#jruby]
yfeldblum has joined #jruby
benlovell has joined #jruby
<Aethenelle> is there a way to get nokogiri to output a node's offset, in bytes, from the start of the doc?
bbrowning_away is now known as bbrowning
tlarevo has quit []
havenwood has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 246 seconds]
benlovell has quit [Ping timeout: 272 seconds]
havenwood has joined #jruby
Hobogrammer has joined #jruby
<Antiarc> I mostly doubt it - that would be a parser concern, which you won't really have access to once the doc is constructed
elia has quit [Quit: Computer has gone to sleep.]
tlarevo has joined #jruby
<headius> subbu: I agree...I may take some time this weekend to just read code
<headius> Nashorn does not have an IR, but they're seriously considering it
<subbu> headius, ok ... code reading might be helped by getting a general high level overview of it.
<headius> there are also no other (major) JVM languages that are mixed mode as far as I know
<headius> rhino had an interpreter but it was either on or off
<enebo> Rhino?
<enebo> oh heh
<enebo> I could not remember if it was mixed or not
<enebo> It could be made into one pretty easily
<headius> I patched it to be mixed at one point but I don't know if that ever got in
<enebo> headius: your patch was just to fall back and use interp if compiler failed right? You did not do call counting and stuff like that?
<enebo> headius: not saying that is not mixed mode but I am trying to remember
<headius> yeah, perhaps only mixed one direction :-) "OH NO! BACK OFF!"
<enebo> ok
<enebo> headius: so subbu and I can meet up this afternoon if you can
<enebo> CFG cloning is mostly working
<headius> that may be difficult...car's in the shop :-\
<enebo> oh yeah ouch
<headius> I hate cars
<enebo> I think I need to clone temp vars
<subbu> monday is good too .. it is a WMF holiday.
<enebo> they are getting cloned as normal ones
<headius> monday might work better...let me at least read over code a bit first
<enebo> IPCs not set either but JIT does not use them
<enebo> call specialization also lost but that is also not used by JIT
<subbu> sounds good.
<headius> I know clock's ticking, but at least I have one fewer trip :-D
colinsurprenant has quit [Quit: colinsurprenant]
<headius> we're close on the JIT...just maddeningly close to being done
<enebo> ah just missing some clone methods actually for variables
colinsurprenant has joined #jruby
trinode has quit [Quit: ZNC - http://znc.in]
colinsurprenant has quit [Client Quit]
<headius> grumble grumble using head jruby for gem installs during build grumble
<headius> I appreciate the smoke test but it makes working on the runtime rather painful
colinsurprenant has joined #jruby
<enebo> about same amount as debugging the runtime and loading kernel :)
<enebo> well perhaps not quite as much :)
<headius> indeed
<headius> but at least I can build :-)
<enebo> yeah
<headius> onward!
JRubyGithub has joined #jruby
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> [jruby] jrubyci pushed 1 new commit to non-indy-jit: http://git.io/bN8yFA
<JRubyGithub> jruby/non-indy-jit ec13ebf Charles Oliver Nutter: Merge remote-tracking branch 'origin/master' into non-indy-jit
<headius> some of the code in stdlib is truly mysterious
<headius> ok, I think this is a JIT pass breaking IR for the interpreter (or rather, interpreter can't handle the resulting IR)
subbu is now known as subbu|lunch
<headius> hmmm
e_dub has quit [Quit: ZZZzzz…]
<headius> and it's a doozie
yfeldblum has joined #jruby
<headius> the block there is too big to fit in JVM bytecode, so it gets kicked out...the resulting changes to the IR make interpreter fail
<headius> clone me a river!
zorak_ has quit [Ping timeout: 260 seconds]
<headius> meanwhile I'll try to figure out which pass it is
<headius> oh bother...it's either ACP or add var load/store
<headius> I'm not sure I can run without those at the moment...JIT really wants full protocol
yfeldblum has quit [Ping timeout: 250 seconds]
<headius> I think itls var load/store pass
<enebo> oh I was wondering about ability to just do linearizeCFG or if you need to call proto stuff
<enebo> headius: Is this failing from size?
<headius> yes
<headius> good guess :-)
<enebo> This is a big CFG :)
<headius> hahah
<headius> indeed it is
benlovell has joined #jruby
<enebo> if we had a BB as synth method thing it would compile which is interesting
<headius> the failure appears to be that it's choosing an absurdly wrong-sized scope: ThreeVarDynamicScope does not support ..
<enebo> haha wow
<headius> I don't have the dynscope optimization on right now either
<enebo> unless you are executing smoething in a block
<enebo> and it is not this method
<headius> there are nested blocks
<headius> the big block is the one that fails, but running passes over it hits the contained ones
<headius> wait...maybe there are no contained blocks
<headius> oh nuts, there's one
<headius> and it has three vars.... hmmmm
<enebo> I also see a second one with it has 2 vars
benlovell has quit [Ping timeout: 260 seconds]
<enebo> with a nested block in it
<headius> where's waldo
<enebo> headius: turning on ir debug should show this if it is happening in a pass
<enebo> I mean it will also show it by virtue of showing you which instr it explodes during too
<enebo> If it is really happening during interp
<headius> well, that's a start
<enebo> yeah it one reason why it is more enjoyable debugging the interp you get all the info you need (in a massive fucking file)
<enebo> You can tell I dislike the last bit
<enebo> headius: I did also add some debug stuff to require “jruby” for this
<headius> I: %t_not_conv_255 = load_lvar(make_switch_CLOSURE_1, not_conv(1:9))
<headius> I think those only come in via AddLocalVar... eh?
<enebo> headius: I think so yeah
<headius> that's a lot of tmp vars
<enebo> 1:9?
<headius> _255
zorak_ has joined #jruby
<enebo> oh yeah the temps
<enebo> not_conv is the ninth see var I thought it was in the block scope
<enebo> headius: You should be able to see result of that compiler pass above
<enebo> headius: If the temps look insane then they are but I suspect it does root scope first and you are seeing it as it nests so it will be higher
<headius> could be
<headius> it wouldn't surprise me though
<subbu|lunch> headius open dataflow/DataFlowProblem.java and there is probably a check there for if getCFG() == null ... check if this is the same sccope on which it is failing?
<enebo> headius: I think opt temp vars does not happen at this point
<subbu|lunch> tmps should be local to a scope
<enebo> heh yeah true
<headius> yeah this is definitely running my passes
<headius> the nil inits are here
<subbu|lunch> so, if you are seeing insanely high tmp var #s it is because opt-tmp-var didn't run on it.
<subbu|lunch> my suspicion.
<subbu|lunch> but misallocating binding size .. is very odd.
subbu|lunch is now known as subbu
<subbu> so headius is the wrong-size scope failure on the method or on a block?
robbyoconnor has quit [Ping timeout: 245 seconds]
<headius> good question
<headius> the first nested block has three locals
<headius> oh the error
<subbu> yes.
<headius> it's coming from closure 1 in that method... are closures numbered from 0 or 1? :-)
<headius> I'll gist what I have, but I'm still looking into it
<headius> added ir.debug output to that gist
<headius> huh
<headius> hmm
<headius> actually I think I'm wrong, I think it fails in the outer method
<headius> heh, I think it actually gets past the big block, right?
<headius> so loading vars out of dynscope after the each has run
<enebo> There is usually pass data showing the full CFG of the method as well which might also help
<subbu> since it is saying 1:9, it is trying to load from the outer scope.
<enebo> yeah
<subbu> which is od if it got past the big-block and isnow in the main method.
<subbu> because depth should have been zero there.
<enebo> without knowing which load_Var that is it could also be the next if search block
<enebo> which would be wrong since it should be 2:9
<subbu> but, it looks like it didn .. since the exception was in in scope: CLOSURE make_switch_CLOSURE_1
<enebo> which would explain the error well
<enebo> oh no it wound’t since it does not have 3 vars in the outer closure hmm
<subbu> it is executing CLOSURE_1 (which is the opts.each do ..end one)
<subbu> so, you could shed more light by output more inof in the error message .. by querying how many vars the scope has ... it is odd if make_switch is falsely reporting < 3 local vars.
<enebo> you think it is around here: pattern = notwice(o, pattern, 'pattern')
<enebo> sorry wrong name
<enebo> and it is a method
<enebo> :)
<subbu> but, i think headius is right ... it looks as if it went past the big closure ... but the error message is confusing me .. something is weird there.
<subbu> i dont understand what that load of 'not_conv' corresponds to in the ruby code.
<enebo> subbu: missing pop binding
<subbu> where?
<subbu> also note that initScope runs optimizeSimpleScope (which runs opt-dyn-scopes) in interp mode.
<subbu> ok, have to leave shortly.
mister_solo has quit [Ping timeout: 272 seconds]
<enebo> subbu: well if it went off the end of opts closure and hit a line with that load_var then it would still be looking at closure binding
<enebo> subbu: headius: seeing full CFG for this method would probably make this easier to see
<enebo> headius: I am also leaving to hang with subbu a couple of hours this afternoon so I will be going dark until I reach the coffee shop
<subbu> but, nothing to indicate where control is ...
<enebo> subbu: WHAT? :)
<subbu> i mean: what scope it is in ...
<enebo> subbu: true but seeing which line this load_store is on and what is above it may make it obvious
<subbu> since interp doesn't output debug falgs for when it exits a scope.
<enebo> subbu: like if there is a missing pop_binding
<subbu> %t_not_conv_255 = load_lvar(make_switch_CLOSURE_1, not_conv(1:9)) .. indicates it is still in the closure, not outside it.
<enebo> subbu: like it is loading it
<subbu> it is not a load_lvar(make_switch, not_conv(0:9))
<subbu> and the excp message.
<subbu> 2014-10-10T13:08:21.087-05:00: Interpreter: in scope: CLOSURE make_switch_CLOSURE_1[/Users/headius/projects/jruby/lib/ruby/2.1/optparse.rb:1157], caught Java throwable: java.lang.RuntimeException: ThreeVarDynamicScope only supports scopes with three variables; excepting instr: %t_not_conv_255 = load_lvar(make_switch_CLOSURE_1, not_conv(1:9))
<enebo> yeah so it thinks depth 1 is a three var scope
<subbu> but, what i meant with my earlier cryptic message was ... i am unable to correlated this load-lvar with the ruby line of code.
<subbu> right, which is the make_switch method.
<enebo> yeah me too
<enebo> subbu: which is why I think seeing the CFG might make it more clear
<subbu> alright, leaving now. my wmf-colleague will be there probably.
<enebo> yeah me too. see you in a bit
<subbu> so, see you in a bit.
enebo has quit [Quit: enebo]
subbu has quit [Ping timeout: 272 seconds]
dfr|work has quit [Remote host closed the connection]
e_dub has joined #jruby
benlovell has joined #jruby
tlarevo has quit [Remote host closed the connection]
tlarevo has joined #jruby
benlovell has quit [Ping timeout: 245 seconds]
ahadding1 has quit [Ping timeout: 272 seconds]
ludyte has quit [Quit: ludyte]
tlarevo has quit [Ping timeout: 250 seconds]
postmodern has joined #jruby
yfeldblum has joined #jruby
ludyte has joined #jruby
ahadding has joined #jruby
iamjarvo has joined #jruby
bbrowning has quit [Remote host closed the connection]
bbrowning has joined #jruby
enebo has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] jrubyci pushed 1 new commit to master: http://git.io/1K3b0g
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> jruby/master 259b4bd Thomas E. Enebo: temp locl replace var clone missing
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tcrawley-away is now known as tcrawley
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:259b4bd by Thomas E. Enebo): The build has errored. (http://travis-ci.org/jruby/jruby/builds/37634194)
travis-ci has left #jruby [#jruby]
colinsurprenant has quit [Quit: colinsurprenant]
dfr|work has joined #jruby
subbu has joined #jruby
nipra has quit [Quit: Leaving.]
benlovell has joined #jruby
anaeem1 has joined #jruby
thsig has quit []
robbyoconnor has joined #jruby
robbyoconnor has quit [Remote host closed the connection]
subbu has quit [Ping timeout: 244 seconds]
robbyoconnor has joined #jruby
benlovell has quit [Ping timeout: 255 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] jrubyci pushed 1 new commit to master: http://git.io/HuJeGg
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> jruby/master 2d6bff1 Thomas E. Enebo: Note to self: dont ride your bike for 30 minutes jump off and commit your code
ludyte has quit [Quit: ludyte]
colinsurprenant has joined #jruby
pgokeeffe has joined #jruby
bbrowning is now known as bbrowning_away
robbyoconnor has quit [Quit: Konversation terminated!]
pgokeeffe has quit [Ping timeout: 260 seconds]
fridim_ has quit [Quit: Leaving]
tlarevo has joined #jruby
subbu has joined #jruby
pchalupa has quit [Quit: Leaving]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:2d6bff1 by Thomas E. Enebo): The build failed. (http://travis-ci.org/jruby/jruby/builds/37637165)
travis-ci has left #jruby [#jruby]
elia has joined #jruby
tlarevo has quit [Ping timeout: 260 seconds]
elia has quit [Client Quit]
elia has joined #jruby
nipra has joined #jruby
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #jruby
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #jruby
tenderlove has quit [Ping timeout: 260 seconds]
nipra has quit [Quit: Leaving.]
benlovell has joined #jruby
tenderlove has joined #jruby
JRubyGithub has joined #jruby
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> [jruby] jrubyci pushed 1 new commit to master: http://git.io/2ghCdQ
<JRubyGithub> jruby/master 583bc54 Thomas E. Enebo: Stick a fork in rescueMap's eye...add rpc field to instr to eliminate need for map since all instrs need rpc anyways
iamjarvo has joined #jruby
nipra has joined #jruby
benlovell has quit [Ping timeout: 258 seconds]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:583bc54 by Thomas E. Enebo): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/37642219)
travis-ci has left #jruby [#jruby]
tlarevo has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tlarevo has quit [Ping timeout: 255 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] jrubyci pushed 1 new commit to master: http://git.io/aqcxRQ
<JRubyGithub> jruby/master 7a8bf5f Thomas E. Enebo: Clone all instrs in linearized instr list so that when JIT starts it cannot mangle anything in those instrs. Cannot see any measurable startup impact in this change
JRubyGithub has left #jruby [#jruby]
iamjarvo has joined #jruby
iamjarvo has quit [Client Quit]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:583bc54 by Thomas E. Enebo): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/37642219)
travis-ci has left #jruby [#jruby]
enebo has quit [Ping timeout: 245 seconds]
bbrowning_away is now known as bbrowning
<subbu> headius, based on in-person chats, enebo made the above fixes ... there is one last piece of data that ties interpreter to scope, but we talked about a soln. for that as well .. once that is done, interpreter will cut all ties ot scope once it gets going.
tcrawley is now known as tcrawley-away
mje113__ has quit [Quit: Connection closed for inactivity]
e_dub has quit [Quit: ZZZzzz…]
travis-ci has joined #jruby
travis-ci has left #jruby [#jruby]
<travis-ci> jruby/jruby (master:7a8bf5f by Thomas E. Enebo): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/37643911)
johnsonch is now known as johnsonch_afk
e_dub has joined #jruby
jmimi has joined #jruby
colinsurprenant has quit [Quit: colinsurprenant]
colinsurprenant has joined #jruby
anaeem1 has quit [Remote host closed the connection]
colinsurprenant has quit [Client Quit]
benlovell has joined #jruby
Aethenelle has quit [Quit: Aethenelle]
benlovell has quit [Ping timeout: 240 seconds]
bbrowning is now known as bbrowning_away
subbu_ has joined #jruby
tlarevo has joined #jruby
subbu is now known as Guest10650
Guest10650 has quit [Killed (asimov.freenode.net (Nickname regained by services))]
subbu_ is now known as subbu
ahadding has quit [Quit: Leaving]
tlarevo has quit [Ping timeout: 245 seconds]
ahadding_ has joined #jruby
marr has quit [Ping timeout: 244 seconds]
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #jruby
e_dub has quit [Quit: ZZZzzz…]
tenderlove has quit [Ping timeout: 260 seconds]
tylersmith has quit [Remote host closed the connection]
drbobbeaty has joined #jruby
pgokeeffe has joined #jruby
pgokeeffe has quit [Ping timeout: 246 seconds]
benlovell has joined #jruby
benlovell has quit [Ping timeout: 245 seconds]
tlarevo has joined #jruby
brettporter has joined #jruby
subbu has quit [Ping timeout: 255 seconds]
elia has quit [Quit: Computer has gone to sleep.]
tlarevo has quit [Ping timeout: 240 seconds]
brettporter has quit [Ping timeout: 260 seconds]
vyorkin has joined #jruby
rcvalle has quit [Quit: rcvalle]
vyorkin has quit [Client Quit]
e_dub has joined #jruby
vyorkin has joined #jruby
jmimi has quit [Quit: Leaving.]