Antiarc has quit [Read error: Connection reset by peer]
Antiarc has joined #jruby
Antiarc has quit [Read error: Connection reset by peer]
Antiarc has joined #jruby
Antiarc_ has joined #jruby
Antiarc has quit [Ping timeout: 258 seconds]
jmalves has joined #jruby
jmalves has quit [Ping timeout: 258 seconds]
Antiarc_ has quit [Ping timeout: 260 seconds]
Antiarc has joined #jruby
Antiarc has quit [Ping timeout: 260 seconds]
Antiarc has joined #jruby
ur5us has quit [Ping timeout: 260 seconds]
jmalves has joined #jruby
jmalves has quit [Ping timeout: 256 seconds]
jmalves has joined #jruby
<jmalves>
@rg[m] the idea is to not allow other threads to enter for example the "synchronized" methods in that object. I could refactor ofc the java class to use an explicit mutex but I was wondering if this is possible to do from ruby without having to change the java class.
jmalves has quit [Remote host closed the connection]
jmalves has joined #jruby
<headius[m]>
Jason Rogers: did anyone reply to you?
<headius[m]>
could be that something we're doing uses more stack than it should but 23M is extreme
<headius[m]>
if you haven't already I'd open an issue and give us something to repro
<headius[m]>
jmalves: I think I missed this conversation
<jmalves>
Hey headius! My question was if is there a way to do the equivalent of `synchronized (object) { }` in ruby?
<headius[m]>
without an explicit Ruby Mutex object, I assume
<headius[m]>
this would basically add the functionality
<headius[m]>
it would probably make sense to also add "wait" and "notify"
<jmalves>
Ok right
ur5us has quit [Ping timeout: 260 seconds]
<headius[m]>
so weird, I must have used "synchronized" thousands of times in Java and yet I just had to double check it's synchronized(object) and not synchronize(object)
<jmalves>
Unrelated but I have the same thing with "git --ammend" vs "git --amend" never remember which is the correct one :X