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 +4 -4
- data/atomic.gemspec +1 -1
- data/ext/extconf.rb +2 -0
- data/ext/org/jruby/ext/atomic/AtomicReferenceLibrary.java +2 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be3ba9df68fd430106d0d56c8001023d091071f7
|
4
|
+
data.tar.gz: be498d0dfe908306b62f94ef973280abbc6c0b5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
@@ -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.
|
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 =
|
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.
|
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-
|
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:
|