atomic 1.1.10 → 1.1.11

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: cfb0b7a7bec4a410c4675e0a981b0c436ab9433a
4
- data.tar.gz: fd32b8cb3d73edafad29e6d5fd03fd01200cec81
3
+ metadata.gz: 4df5a0c281337617809b7c98170b388d7a20f210
4
+ data.tar.gz: e0c7c42d79754ebb2054d5f942eac8e7d0852382
5
5
  SHA512:
6
- metadata.gz: 59694f71286f01e407a2719e5672ba1cb837205338259d16dae9a104e6ef28e459b34e23c43b0474cca53a6a309bffbc67eded01fff4b57211705d128d2ded63
7
- data.tar.gz: 128ed21d0c0c8c4013ddbdd6611f5c0475171f5e03c0154e2630679e02f6e57f20d47b3163d64de1222f652b2cb8d0da5a76621982a22ac64221ce0723985a9e
6
+ metadata.gz: 0ae4d312831e4f1b094c6c586fd4053981a57a45e35c586bdb99b350b504ccd360076b09ea5390806063eaa6938256aa23df01608d377f45e7a90d211bd6ba56
7
+ data.tar.gz: cab12bed852b3a81411605ff343a8de0c72e0befe4de8e6b987a623712771b6ac19febe34bd64948ab823af0fd1e3f7f6f2be08849f9b3b436d4d9a63e0075d2
@@ -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"
@@ -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: ruby
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: