Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jruby review - contention + cloning objects #1563

Merged
merged 10 commits into from
Jan 13, 2017

Conversation

kares
Copy link
Contributor

@kares kares commented Dec 23, 2016

this is some Java code cleanup along the line of some issues, notably:

  • Nokogiri's class-cache was synchronized yet read-only after initialization (un-wanted contention)
  • XPathFunction related internals used clone() on non-clonable objects thus always throwing
    -> caused an unnecessary slow-down (catch (CloneNotSupportedException e))

@jvshahid
Copy link
Member

lgtm

@kares
Copy link
Contributor Author

kares commented Dec 29, 2016

see JRuby 1.7 (still around and supported) was dropped, hoped for a Nokogiri release with these for 1.7
there's still likely to be at least one JRuby 1.7.x (patch) release.
any chance we can do a Nokogiri release for JRuby (there's very little change in Nokogiri 1.7.0) ?

@flavorjones
Copy link
Member

@kares Not sure what you're referring to when you say "jruby 1.7 was dropped." Definitely not the case, we still support it and still run CI on it.

I'm merging this now, so it will be in our next release, likely to be Nokogiri 1.7.1. Sound good?

@flavorjones flavorjones merged commit a60e9c8 into sparklemotion:master Jan 13, 2017
@flavorjones flavorjones added this to the 1.7.1 milestone Jan 13, 2017
@kares
Copy link
Contributor Author

kares commented Jan 13, 2017

Thanks Mike, have seen your tweet for the 1.7 release and it wasn't clear that you're not dropping JRuby 1.7 while dropping MRI < 2.1 ... now I see the -java gem does not have required_ruby_version => '>= 2.1.0'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants