jemalloc 1.0.0 → 1.0.1

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: 7f1cb588f78dc48ba7246e130afbedaef640c4ab
4
- data.tar.gz: 3742eef6d65504c08731097673a11abc6427d27f
3
+ metadata.gz: 37adba8b3bb333ec6ec19b39e4bee5a36cf6ed03
4
+ data.tar.gz: 632ae2065c880d75debaac532f932f631c1cdc45
5
5
  SHA512:
6
- metadata.gz: c1b53e571bae2f2d811afe0b5fcf2cf11ba172782f63125ffdfbdc36512fff43d2ea3226386de7f0ad88938306c855671612ec8aaf68c4cd23788d8ab3f75611
7
- data.tar.gz: 3ff13b95ac9945ae30d12f765cce3b88c35b405c9125e16b481f90759b6287d468bc38348cfe277c375f269c40f8c8427048470735b8fd69ef72e3b0cd130a6e
6
+ metadata.gz: 9cd4608086a58e1e63fc95f73f4d5067bed09fe43bbfe06978b915ac623167d27a22f01f8503e267c34828925dcbab19d1dce9935536fa28e3f1cf866f968d1d
7
+ data.tar.gz: 993042cbfc3dcc3a704fe9d457e36a38a1a9442033673503e72b56118838f8db8945e2d18d38edc77273504629d1ca319aa85abf8931b87b13740d4c7f4648d3
data/ChangeLog CHANGED
@@ -1,11 +1,14 @@
1
- Release 1.0.0 - 2012/09/23
1
+ Release 1.0.1 - 2015/01/15
2
+ - just exec without spawn
3
+
4
+ Release 1.0.0 - 2013/09/23
2
5
  - jemalloc v3.4.0
3
6
  - use longer timeout for SIGTERM
4
7
 
5
- Release 0.1.9 - 2012/03/09
8
+ Release 0.1.9 - 2013/03/09
6
9
  - jemalloc v3.3.1
7
10
 
8
- Release 0.1.8 - 2012/01/29
11
+ Release 0.1.8 - 2013/01/29
9
12
  - jemalloc v3.3.0
10
13
 
11
14
  Release 0.1.7 - 2012/11/22
data/Gemfile CHANGED
@@ -1,6 +1,2 @@
1
1
  source 'https://rubygems.org'
2
2
  gemspec
3
-
4
- group :compilation do
5
- gem 'rake-compiler', '~> 0.7.1'
6
- end
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jemalloc (1.0.0)
4
+ jemalloc (1.0.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -10,7 +10,7 @@ jemalloc is a malloc(3) implementation, originally developed by Jason Evans. jem
10
10
 
11
11
  # Why jemalloc?
12
12
 
13
- Installing jemalloc separately from Ruby is pain in some cases (e.g. Heroku, EngineYard, etc). `je` gem contains jemalloc itself within a gem, and enables instant jemalloc ingection in a really easy way: install `je` gem, and launch your app with `je` command.
13
+ Installing jemalloc separately from Ruby is pain in some cases (e.g. Heroku, EngineYard, etc). `je` gem contains jemalloc itself within a gem, and enables instant jemalloc injection in a really easy way: install `je` gem, and launch your app with `je` command.
14
14
 
15
15
  # Install
16
16
 
data/bin/je CHANGED
@@ -1,7 +1,4 @@
1
1
  #!/usr/bin/env ruby
2
- require 'optparse'
3
- require 'timeout'
4
-
5
2
  # Help
6
3
  def usage
7
4
  puts <<END
@@ -40,28 +37,4 @@ else
40
37
  puts "=> Skip injecting jemalloc. Your platform is not supported." if $verbose
41
38
  end
42
39
 
43
- # fork(2)
44
- pid = Process.fork
45
-
46
- # set signal handlerss
47
- def terminate_gracefully(pid)
48
- begin
49
- Process.kill("SIGTERM", pid) rescue Errno::ESRCH
50
- Timeout.timeout(180) {
51
- pid, status = Process.wait2
52
- Kernel.exit (status.exitstatus || 0)
53
- }
54
- rescue Timeout::Error
55
- Process.kill("SIGKILL", pid) rescue Errno::ESRCH
56
- end
57
- end
58
- trap("INT") { puts "SIGINT received"; terminate_gracefully pid }
59
- trap("TERM") { puts "SIGTERM received"; terminate_gracefully pid }
60
-
61
- # exec(2)
62
- if pid.nil? then
63
- Kernel.exec *argv
64
- else
65
- pid, status = Process.wait2
66
- Kernel.exit (status.exitstatus || 0)
67
- end
40
+ Kernel.exec *argv
@@ -1,3 +1,3 @@
1
1
  module JEMalloc
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jemalloc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
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-09-23 00:00:00.000000000 Z
11
+ date: 2015-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 1.0.0
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: 0.8.7
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.8.7
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake-compiler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: 0.7.1
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: 0.7.1
55
55
  description: Use jemalloc as default allocator, everywhere!
@@ -60,7 +60,7 @@ extensions:
60
60
  - ext/jemalloc/extconf.rb
61
61
  extra_rdoc_files: []
62
62
  files:
63
- - .gitignore
63
+ - ".gitignore"
64
64
  - ChangeLog
65
65
  - Gemfile
66
66
  - Gemfile.lock
@@ -80,17 +80,17 @@ require_paths:
80
80
  - lib
81
81
  required_ruby_version: !ruby/object:Gem::Requirement
82
82
  requirements:
83
- - - '>='
83
+ - - ">="
84
84
  - !ruby/object:Gem::Version
85
85
  version: '0'
86
86
  required_rubygems_version: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - '>='
88
+ - - ">="
89
89
  - !ruby/object:Gem::Version
90
90
  version: '0'
91
91
  requirements: []
92
92
  rubyforge_project:
93
- rubygems_version: 2.0.3
93
+ rubygems_version: 2.2.2
94
94
  signing_key:
95
95
  specification_version: 4
96
96
  summary: use jemalloc as default allocator, everywhere!