memory-profiler 1.6.2 → 1.6.3
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
- checksums.yaml.gz.sig +0 -0
- data/ext/memory/profiler/capture.c +2 -2
- data/lib/memory/profiler/version.rb +1 -1
- data/readme.md +4 -4
- data/releases.md +4 -0
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b39b4dbc74ecf3536633559c97f1bb88f42834a77e6f0e5808d0f0a9a1ae7fac
|
|
4
|
+
data.tar.gz: 5d9f5cb3eb1376687b3d074ecf2b1c527711cc70813bb5d09d37dbdf8de598df
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 560b82d6290253a3a3712b626e2ab27ddccb0c575e3b7d1b4fb2b964eead2fdbc83e1fcd391254df31606fdbd5b4eea81bf18358ea1d8a222cfeac237323b528
|
|
7
|
+
data.tar.gz: 4e2b5fcfcbd6e53b21cc6b5260f86233d4c5fcdac76e40e32ec58264e4c5bbdb1f6fd2db488b6ed0c9f39b53ee2535afb6bbfea71cd63284de8d855b04367633
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
|
@@ -678,8 +678,8 @@ static VALUE Memory_Profiler_Capture_each_object(int argc, VALUE *argv, VALUE se
|
|
|
678
678
|
}
|
|
679
679
|
|
|
680
680
|
// Disable GC to prevent objects from being collected during iteration
|
|
681
|
-
// rb_gc_disable returns
|
|
682
|
-
int gc_was_enabled =
|
|
681
|
+
// rb_gc_disable returns Qfalse if GC was enabled before, Qtrue if GC was disabled before
|
|
682
|
+
int gc_was_enabled = (rb_gc_disable() == Qfalse);
|
|
683
683
|
|
|
684
684
|
// Process all pending events to clean up stale entries:
|
|
685
685
|
Memory_Profiler_Events_process_all();
|
data/readme.md
CHANGED
|
@@ -22,6 +22,10 @@ Please see the [project documentation](https://socketry.github.io/memory-profile
|
|
|
22
22
|
|
|
23
23
|
Please see the [project releases](https://socketry.github.io/memory-profiler/releases/index) for all releases.
|
|
24
24
|
|
|
25
|
+
### v1.6.3
|
|
26
|
+
|
|
27
|
+
- Fix GC handling during `each_object` (it was incorrectly inverted).
|
|
28
|
+
|
|
25
29
|
### v1.6.2
|
|
26
30
|
|
|
27
31
|
- Ensure all `FREEOBJ` events are enqueued.
|
|
@@ -75,10 +79,6 @@ Please see the [project releases](https://socketry.github.io/memory-profiler/rel
|
|
|
75
79
|
|
|
76
80
|
- Ignore `freeobj` for classes that are not being tracked.
|
|
77
81
|
|
|
78
|
-
### v1.1.14
|
|
79
|
-
|
|
80
|
-
- Ignore `freeobj` events for objects with anonymous classes that are not tracked (and thus become `T_NONE`).
|
|
81
|
-
|
|
82
82
|
## Contributing
|
|
83
83
|
|
|
84
84
|
We welcome contributions to this project.
|
data/releases.md
CHANGED
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
|
Binary file
|