jemalloc 0.1.9 → 1.0.0

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: 063a6d674108e728371e6b10955fa84b2c6b6d33
4
- data.tar.gz: ae5c0de7ec00db155d800c5dada56f47f204d7bd
3
+ metadata.gz: 7f1cb588f78dc48ba7246e130afbedaef640c4ab
4
+ data.tar.gz: 3742eef6d65504c08731097673a11abc6427d27f
5
5
  SHA512:
6
- metadata.gz: 5454a527df0284680b9ac225999b372af493f4d76e96b5621ece23d1704b432e884431a42c598fe492cb095a6d870fbb299cbcd7c9f80a56a3f1065edb96ac82
7
- data.tar.gz: e6fc42c4bc2ff4d1c223e0c0c59e45fcdf76d61b8dd46e2d0fc6c64255124a8ebf66c07427a0cafd33d3546b8d87e8df9cdd3d2485751c3614d4d1fce23e9bfe
6
+ metadata.gz: c1b53e571bae2f2d811afe0b5fcf2cf11ba172782f63125ffdfbdc36512fff43d2ea3226386de7f0ad88938306c855671612ec8aaf68c4cd23788d8ab3f75611
7
+ data.tar.gz: 3ff13b95ac9945ae30d12f765cce3b88c35b405c9125e16b481f90759b6287d468bc38348cfe277c375f269c40f8c8427048470735b8fd69ef72e3b0cd130a6e
data/ChangeLog CHANGED
@@ -1,3 +1,7 @@
1
+ Release 1.0.0 - 2012/09/23
2
+ - jemalloc v3.4.0
3
+ - use longer timeout for SIGTERM
4
+
1
5
  Release 0.1.9 - 2012/03/09
2
6
  - jemalloc v3.3.1
3
7
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jemalloc (0.1.8)
4
+ jemalloc (1.0.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/bin/je CHANGED
@@ -8,7 +8,8 @@ def usage
8
8
  Usage: je [ARGS]...
9
9
 
10
10
  Options:
11
- -v verbose
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(3) {
50
+ Timeout.timeout(180) {
46
51
  pid, status = Process.wait2
47
52
  Kernel.exit (status.exitstatus || 0)
48
53
  }
@@ -2,7 +2,7 @@ require 'mkmf'
2
2
  require 'rbconfig'
3
3
 
4
4
  $stdout.sync = true
5
- pkg = "jemalloc-3.3.1"
5
+ pkg = "jemalloc-3.4.0"
6
6
 
7
7
  def sys(cmd)
8
8
  puts "$ #{cmd}"
@@ -1,3 +1,3 @@
1
1
  module JEMalloc
2
- VERSION = "0.1.9"
2
+ VERSION = "1.0.0"
3
3
  end
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.1.9
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-03-09 00:00:00.000000000 Z
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.3.1.tar.bz2
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.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!