<headius[m]>
ahorek: I am surprised that worked, I guess we are not using any other non-Constant enums in those methods
<headius[m]>
I will comment on an improvement
<ahorek[m]>
I'm having trouble generating constants TCP_ESTABLISHED... ifdef doesn't work for enums https://godbolt.org/z/5cc8Ez any hint?
<ahorek[m]>
TCP_INFO does work on truffleruby, but they don't implement #inspect. Probably for the same reason.
<headius[m]>
They inherited their socket logic from the same ffi code that rubinius created and which I would like to make work in jruby
<headius[m]>
For enums we may need to add some new generator logic to jnr-constants
<headius[m]>
Yeah, it sounds like enum definitions are not seen by the preprocessor
_whitelogger has joined #jruby
zacts has joined #jruby
_whitelogger has joined #jruby
ur5us has joined #jruby
ur5us has quit [Ping timeout: 240 seconds]
<chrisseaton[m]>
headius: did we try `Unsafe#ensureClassInitialized` when we were looking at that class-loading issue in the JIT?
zacts has quit [Quit: leaving]
zacts has joined #jruby
zacts has quit [Quit: leaving]
zacts has joined #jruby
carla[m] has quit [Quit: Idle for 30+ days]
christian[m] has quit [Quit: Idle for 30+ days]
jean[m]2 has quit [Quit: Idle for 30+ days]
valentina[m] has quit [Quit: Idle for 30+ days]
taylorine[m] has quit [Quit: Idle for 30+ days]
raul[m] has quit [Quit: Idle for 30+ days]
walter[m] has quit [Quit: Idle for 30+ days]
zacts has quit [Quit: leaving]
<headius[m]>
<chrisseaton[m] "headius: did we try `Unsafe#ensu"> I did try that and a few other ways to initialize the jit class but it was chasing the wrong problem
<headius[m]>
sometimes it amazes me how much we can run without any native library support at all
<zacts>
back
<headius[m]>
yo
<headius[m]>
wow, running jruby tests on a JIT-less JDK is impressively slow
<chrisseaton[m]>
I think it's a bit more than just JIT-less - zero (I presume you're using that) also disables some other little trampolines and snippets and things that usually use assembly.
<headius[m]>
sure, I'm sure there's plenty of that too
<headius[m]>
nice, the baseline junit tests pass on apple arm64
<headius[m]>
the power of java
zacts has quit [Ping timeout: 240 seconds]
<headius[m]>
enebo: I'm going to spin a release of jnr-posix that use nio2 for better Java support and then merge that with my mac aarch64 PR... all the basic commands seem to be working fine, so there's not much more to do here until we get libffi support built
nikolaos[m] has joined #jruby
<headius[m]>
some of these java 9+ annotations are tough to deal with
<headius[m]>
er deprecations I mean
<headius[m]>
yeah I don't see a way to fix Package.getPackage right now