Comments (10)
That warning can be safely ignored. There are several JRuby-specific optimizations within the gem that take advantage of JRuby's excellent Ruby/Java interop. That warning is during the translation from Ruby to Java at some of the interop points. The translation occurs correctly and the code works as expected. We just haven't determined if it is possible to turn that warning off. One of our team members, @lucasallan, is on the JRuby core team. Another of our team members, @chrisseaton, works on the JVM at Oracle. And we've recently begun working closely with @headius. I can assure you that this warning isn't a problem.
from concurrent-ruby.
Our customers are worried about it so I'll provide you fix soon anyway :)
from concurrent-ruby.
@maximchick If you can make that warning go away you'll be one of my best friends forever. Thank you!
from concurrent-ruby.
Can you please create new gem version containing this fix?
from concurrent-ruby.
Certainly. Is it OK if I create another release candidate build of 0.7.0 or do you need a 0.6.2 point release? If you are not aware, the 0.7.0 release candidate includes "fat binaries" with C and Java native extensions and has the ruby-atomic gem merged in.
from concurrent-ruby.
I'm not aware fat binaries are ok
from concurrent-ruby.
As soon as I verify the upgrade to RSpec 3.0 in PR #128 I'll build and release RC1. This will include a couple of other bug fixes, too. I'll get you the update today.
from concurrent-ruby.
@maximchick I've released 0.7.0 RC1 and pushed it to Rubygems. This is a pre-release that includes your PR and a couple of other bug fixes (in addition to the features of RC0). Your can pull the latest from Rubygems or download directly from the release page. For a full list of changes, please see the changelog.
Do you mind if I ask how you are using our gem? I'm very interested in learning about how our work is being used in production.
from concurrent-ruby.
I develop station server for "AeroExpress" trains from/to Moscow airports. This server manages dozens of NFC-readers and turnstile controllers via binary TCP/IP based protocols. Server is bundled as a JAR file and runs under Java 7.
from concurrent-ruby.
That's great to hear! I'm glad you've been able to put our work to good use.
On a side note: My wife and I visited Russia last summer. We took a river cruise on the MS Lev Tolstoy from St. Petersburg to Moscow. It was an amazing trip and both cities were incredible.
from concurrent-ruby.
Related Issues (20)
- why use wait_for_termination method will stuck the code HOT 2
- DaemonThreadFactory creating new Java thread factory each time it creates a new thread HOT 8
- `Concurrent::Promises::Future#value!` can return `nil` even when promise is not resolved yet HOT 6
- Version 1.2.2 crashes with Segmentation fault HOT 3
- Fiber.new causes SEGV when using Ruby 3.3.0 on Rails 7.1.2 in M1 Mac Docker environment HOT 5
- Segfault in lock_local_var.rb on aarch64 HOT 3
- [REDIRECT] Segfault on Ruby 3.3.0 on linux-aarch64? See https://bugs.ruby-lang.org/issues/20085
- `Promises.any_fulfilled_future` does not accept an Event HOT 3
- Repeated calls to `ResolvableEvent#resolve` with `raise_on_reassign = true` does not raise
- Semaphore doesn't raise exception when negative int passed to constructor HOT 3
- `Concurrent::Hash` default initialization is not fully thread-safe HOT 8
- Slow require 'concurrent' on windows HOT 3
- Remove Rubinius-related code
- Does not run the method when executed HOT 1
- test failure due to "uninitialized constant Concurrent::CAtomicReference" HOT 7
- CAtomicFixnum should probably be a private constant HOT 1
- support re-raising exceptions when shutting down a timertask HOT 4
- v1.2.0 release notes do not mention that RubyThreadLocalVar class was removed HOT 8
- NameError: uninitialized constant Concurrent::RubyThreadLocalVar HOT 1
- The Concurrent::Map default_proc is passed a Concurrent::Hash instead of the Concurrent::Map HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from concurrent-ruby.