boc_tothefuture[ has quit [Quit: Idle for 30+ days]
ur5us has quit [Ping timeout: 264 seconds]
<kares[m]>
I am close to finishing java_class refactoring but I managed to hit another threading issue with an unfinished Java proxy (there's a few more to eager to initialize such as java.lang.Class for JavaClass compatibility). confirmed it's a bug with the 'emulated' ClassValue map + unfinished proxy tracking -> there's still a chance ending up with 2 proxies for the same class.
<kares[m]>
'normal' Java ClassValue backend works, I wonder if we can just flip the switch at this point?
<nonlandi[m]>
<headius[m] "that is the right place for the "> Thank you for the update! :)
ur5us has joined #jruby
ur5us has quit [Ping timeout: 240 seconds]
drbobbeaty has joined #jruby
<enebo[m]>
kares: I think so. You still plan on fixing the bug? It sounds like a) we could determine whether there is enough warmup/startup impact of having that on by default and it not much then just only run with that b) you fix the bug and we determine whether to flip it off
<enebo[m]>
kares: We would like to get everything for 9.3 in as early as possible too to figure out if any other issues are lurking. So landing sooner and fixing that bug later seems like a reasonable option to me
<kares[m]>
been looking at it today morning - got a vagua understanding but not sure why it happens with a class map but not using class-value
<kares[m]>
at this point I am not sure whether it is present in current version - likely - it's just that the class proxy initialization is different due the JavaClass deprecation that might expose this.
<kares[m]>
really want to fix this before landing - I do not like that we would have 2 java.lang.Class proxy instances around in some cases ...
<enebo[m]>
kares: ok
<enebo[m]>
kares: I am a little confused though. if we enable the indy support you will not have two proxy instances. This would allow the rest of your work to be tested until you figure out the non-indy proxy problem. Feels like there would be some value to getting the rest of your refactoring on master?
<enebo[m]>
kares: If you are close I guess I don't see there being a lot of value but I am just throwing it out there
<kares[m]>
that's what I am seeing atm ... yes - with a proper ClassValue backend the identity tests pass
<enebo[m]>
kares: when I said "tested" I mean in potentially wider circulation from anyone who runs their projects against jruby-head on CI (as an example). Just in case that was not clear
<headius[m]>
definitely need to fix but there is no reason the non-ClassValue version couldn't be made safe
<headius[m]>
kares: may not be any value in keeping the non-Java7 version around but did you try using computeIfAbsent in the Map-based one?