jemalloc 0.1.9 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ChangeLog +4 -0
- data/Gemfile.lock +1 -1
- data/bin/je +7 -2
- data/ext/jemalloc/extconf.rb +1 -1
- data/ext/jemalloc/jemalloc-3.4.0.tar.bz2 +0 -0
- data/lib/jemalloc/version.rb +1 -1
- metadata +4 -4
- data/ext/jemalloc/jemalloc-3.3.1.tar.bz2 +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f1cb588f78dc48ba7246e130afbedaef640c4ab
|
4
|
+
data.tar.gz: 3742eef6d65504c08731097673a11abc6427d27f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1b53e571bae2f2d811afe0b5fcf2cf11ba172782f63125ffdfbdc36512fff43d2ea3226386de7f0ad88938306c855671612ec8aaf68c4cd23788d8ab3f75611
|
7
|
+
data.tar.gz: 3ff13b95ac9945ae30d12f765cce3b88c35b405c9125e16b481f90759b6287d468bc38348cfe277c375f269c40f8c8427048470735b8fd69ef72e3b0cd130a6e
|
data/ChangeLog
CHANGED
data/Gemfile.lock
CHANGED
data/bin/je
CHANGED
@@ -8,7 +8,8 @@ def usage
|
|
8
8
|
Usage: je [ARGS]...
|
9
9
|
|
10
10
|
Options:
|
11
|
-
-v
|
11
|
+
-v verbose mode
|
12
|
+
--version show version
|
12
13
|
END
|
13
14
|
exit
|
14
15
|
end
|
@@ -20,6 +21,10 @@ usage() if argv.length == 0
|
|
20
21
|
if argv[0] == '-v'
|
21
22
|
$verbose = true
|
22
23
|
argv = argv[1..-1]
|
24
|
+
elsif argv[0] == '--version'
|
25
|
+
require 'jemalloc/version'
|
26
|
+
puts "jemalloc version #{JEMalloc::VERSION}"
|
27
|
+
exit
|
23
28
|
end
|
24
29
|
usage() if argv.length == 0
|
25
30
|
|
@@ -42,7 +47,7 @@ pid = Process.fork
|
|
42
47
|
def terminate_gracefully(pid)
|
43
48
|
begin
|
44
49
|
Process.kill("SIGTERM", pid) rescue Errno::ESRCH
|
45
|
-
Timeout.timeout(
|
50
|
+
Timeout.timeout(180) {
|
46
51
|
pid, status = Process.wait2
|
47
52
|
Kernel.exit (status.exitstatus || 0)
|
48
53
|
}
|
data/ext/jemalloc/extconf.rb
CHANGED
Binary file
|
data/lib/jemalloc/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jemalloc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kazuki Ohta
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -68,7 +68,7 @@ files:
|
|
68
68
|
- Rakefile
|
69
69
|
- bin/je
|
70
70
|
- ext/jemalloc/extconf.rb
|
71
|
-
- ext/jemalloc/jemalloc-3.
|
71
|
+
- ext/jemalloc/jemalloc-3.4.0.tar.bz2
|
72
72
|
- jemalloc.gemspec
|
73
73
|
- lib/jemalloc/version.rb
|
74
74
|
homepage: https://github.com/treasure-data/jemalloc-rb
|
@@ -90,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
90
90
|
version: '0'
|
91
91
|
requirements: []
|
92
92
|
rubyforge_project:
|
93
|
-
rubygems_version: 2.0.
|
93
|
+
rubygems_version: 2.0.3
|
94
94
|
signing_key:
|
95
95
|
specification_version: 4
|
96
96
|
summary: use jemalloc as default allocator, everywhere!
|
Binary file
|