atomic 1.1.10-java → 1.1.11-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 738066c1096967b314d8c48b754c77a568219f66
4
- data.tar.gz: 1a37ca7292dc006ee3453cc0ae60ec9de55ec260
3
+ metadata.gz: be3ba9df68fd430106d0d56c8001023d091071f7
4
+ data.tar.gz: be498d0dfe908306b62f94ef973280abbc6c0b5d
5
5
  SHA512:
6
- metadata.gz: 6cdbc70e21db82e5f56e8df3c7e51501e0fca5e80b41b86561b39b27d59588fa4090cb23b2bb0f5e007c16af77ffa1c94cc8761d7a5152670e6f74727340d867
7
- data.tar.gz: 9d3f6fb503ccabf831df2ae439d8d9dc0a618535e30e3394eda0b683279020fc16e0b38d693df678c633960dae0939e90a33734714f892bac5b177f7e35683da
6
+ metadata.gz: adfa24066134dbf54f0c266aad8b4faa377e5fca8b09e3ab2f0d310a26453a4ccbce9f9db56952233db9736cd96e3e8765c7236f68080fb0cc670cc7058e9946
7
+ data.tar.gz: f4ca841c084947e058865e27e92324e59229dbd447babcd318fbc8ec0ccafc39c4afc721a224f73c50a9d08f6cbd63e0408b279387907dd680b078a17cd4959e
data/atomic.gemspec CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = %q{atomic}
7
- s.version = "1.1.10"
7
+ s.version = "1.1.11"
8
8
  s.authors = ["Charles Oliver Nutter", "MenTaLguY", "Sokolov Yura"]
9
9
  s.date = Time.now.strftime('%Y-%m-%d')
10
10
  s.summary = "An atomic reference implementation for JRuby, Rubinius, and MRI"
data/ext/extconf.rb CHANGED
@@ -17,6 +17,8 @@ dir_config(extension_name)
17
17
  case CONFIG["arch"]
18
18
  when /mswin32|mingw|solaris/
19
19
  $CFLAGS += " -march=native"
20
+ when 'i686-linux'
21
+ $CFLAGS += " -march-i686"
20
22
  end
21
23
 
22
24
  try_run(<<CODE,$CFLAGS) && ($defs << '-DHAVE_GCC_CAS')
@@ -25,8 +25,7 @@ import org.jruby.runtime.ObjectAllocator;
25
25
  import org.jruby.runtime.ThreadContext;
26
26
  import org.jruby.runtime.builtin.IRubyObject;
27
27
  import org.jruby.runtime.load.Library;
28
- import org.jruby.util.unsafe.UnsafeFactory;
29
- import org.jruby.util.unsafe.UnsafeGetter;
28
+ import org.jruby.util.unsafe.UnsafeHolder;
30
29
 
31
30
  /**
32
31
  * This library adds an atomic reference type to JRuby for use in the atomic
@@ -68,7 +67,7 @@ public class AtomicReferenceLibrary implements Library {
68
67
 
69
68
  static {
70
69
  try {
71
- UNSAFE = UnsafeGetter.getUnsafe();
70
+ UNSAFE = UnsafeHolder.U;
72
71
  Class k = JRubyReference.class;
73
72
  referenceOffset = UNSAFE.objectFieldOffset(k.getDeclaredField("reference"));
74
73
  } catch (Exception e) {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atomic
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.10
4
+ version: 1.1.11
5
5
  platform: java
6
6
  authors:
7
7
  - Charles Oliver Nutter
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-06-26 00:00:00.000000000 Z
13
+ date: 2013-08-02 00:00:00.000000000 Z
14
14
  dependencies: []
15
15
  description: An atomic reference implementation for JRuby, Rubinius, and MRI
16
16
  email: