Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/CertainLach/gcmodule

Garbage collection for Rust inspired by CPython's gcmodule
https://github.com/CertainLach/gcmodule

chore: Release

b6cbe3782093fb9bece330c8bf3f1a449dffd2ae authored almost 2 years ago by Yaroslav Bolyukin <[email protected]>
build: upgrade dependencies

Signed-off-by: Yaroslav Bolyukin <[email protected]>

cf30537191bcb9c199e1c91377a8400e20f16c9e authored almost 2 years ago by Yaroslav Bolyukin <[email protected]>
build: rename package for tests

Signed-off-by: Yaroslav Bolyukin <[email protected]>

951ca830ba12ef2b85326589968916e1ee524d87 authored almost 2 years ago by Yaroslav Bolyukin <[email protected]>
fix: ensure correct header alignment

Signed-off-by: Yaroslav Bolyukin <[email protected]>

7316108bdef61b265367671651f1f947ff766bd5 authored almost 2 years ago by Yaroslav Bolyukin <[email protected]>
fix: force align structs to 8 bytes on x32

Signed-off-by: Yaroslav Bolyukin <[email protected]>

eb61ecd14e3cc9974cadfaa332992549bce7f9bd authored almost 2 years ago by Yaroslav Bolyukin <[email protected]>
(cargo-release) start next development iteration 0.3.5-alpha.0

d411e579fb0ad4784720a8bd4707374ca5de7bab authored over 2 years ago by Yaroslav Bolyukin <[email protected]>
(cargo-release) start next development iteration 0.3.5-alpha.0

049068ba5c8e03ef98f1c97ae74514fce7073965 authored over 2 years ago by Yaroslav Bolyukin <[email protected]>
(cargo-release) version 0.3.4

91ce25395b630a54d1c3c6ccd620d9bc9ca9b069 authored over 2 years ago by Yaroslav Bolyukin <[email protected]>
(cargo-release) version 0.3.4

f6e53b1e71da4337ac9e09987c2480cdcfa74869 authored over 2 years ago by Yaroslav Bolyukin <[email protected]>
build: refer to derive directly

Signed-off-by: Yaroslav Bolyukin <[email protected]>

c1d0768d313092eca64f71d7cd1a790b1b8c0a2e authored over 2 years ago by Yaroslav Bolyukin <[email protected]>
fix: unused variable warning

Signed-off-by: Yaroslav Bolyukin <[email protected]>

6615906609a018813a4531782da258a9c168d9ec authored over 2 years ago by Yaroslav Bolyukin <[email protected]>
build: rebrand package for use in jrsonnet

Signed-off-by: Yaroslav Bolyukin <[email protected]>

ec4ed35c1487f55b31174c53f34d897f23f645ac authored over 2 years ago by Yaroslav Bolyukin <[email protected]>
feat: add Cc::ptr_eq, similar to Rc::ptr_eq

Signed-off-by: Yaroslav Bolyukin <[email protected]>

dff164af0500e928cb998ed41cbc4aa3efa6a07d authored over 2 years ago by Yaroslav Bolyukin <[email protected]>
feat: allow leaking objects from ObjectSpace

Signed-off-by: Yaroslav Bolyukin <[email protected]>

2d74c9a99485dff6c84ed1622b92f8c748144dd1 authored over 2 years ago by Yaroslav Bolyukin <[email protected]>
feat(derive): prettier syntax, with() attribute

Signed-off-by: Yaroslav Bolyukin <[email protected]>

490ae58d41a4b258cddecfad8d180480b1dc3020 authored almost 3 years ago by Yaroslav Bolyukin <[email protected]>
feat: synstructure derive

Signed-off-by: Yaroslav Bolyukin <[email protected]>

810a9ad93f2a7b839cf4444acf33a68ab3bc01ae authored about 3 years ago by Yaroslav Bolyukin <[email protected]>
cc: add strong_count and weak_count exposing internal ref counts

Match related std::rc::Rc APIs.

b95d96ba1bc0fff4c614ae2f08b967aeb09862e3 authored almost 4 years ago by Jun Wu <[email protected]>
ref_count: add weak count

Needed for weakref support.

b80cc7317aacc59cebf8abab393fab772bb5b78f authored almost 4 years ago by Jun Wu <[email protected]>
cc: add weakref support

Similar to std::rc::Rc, add downgrade() -> Weak, upgrade() -> Option<Cc>
for weakref support.

d1244d2ec5b4ce592758b4c0b1b9f1e0b49d810e authored almost 4 years ago by Jun Wu <[email protected]>
Fix a typo

8556318aec79436f6372036efe454fe30b6516ed authored almost 4 years ago by Jun Wu <[email protected]>
Relax bounds and impl some traits for RawCc

d96c371b442eaeb057e0cc41c3c32f06148c493b authored about 4 years ago by carbotaniuman <[email protected]>
Clean up internals and run tests on miri

0e4b86b8d6439204d00cc379228d6f4c9f38bd2d authored about 4 years ago by carbotaniuman <[email protected]>
derive: support skipping a container

ba45b6ccc2cd808218cfd47327f5205a71208db2 authored about 4 years ago by carbotaniuman <[email protected]>
bump to 0.3.3

16539e687088c45db3ffbfadf2a912d2d1dc8b78 authored over 4 years ago by Jun Wu <[email protected]>
fuzz: opt-out Cargo workspace

e71f12f8c1b9789e94b9d2e4f74cf7485d926a66 authored over 4 years ago by Jun Wu <[email protected]>
cc: do not print Debug information when GC is dropping values

Debug might access dependent values, which might be already dropped.

c2adfb6f03677b65b11336be6704e3a5c8b59a71 authored over 4 years ago by Jun Wu <[email protected]>
cc: add Cc::trace API

c61f2fb73aef5b2058a98b0e45d4f9c4d5595f65 authored over 4 years ago by Jun Wu <[email protected]>
debug: more verbose

a3c4755b1cadd4a523d604529c9a532f5c6ead82 authored over 4 years ago by Jun Wu <[email protected]>
cc: implement Debug and Display

00d9b2e930775c0ba021b3b6625aede74f4b3951 authored over 4 years ago by Jun Wu <[email protected]>
debug: use Debug on nightly to produce debug names

dbfd0333e5ffac2d0520faed7dd30fa56040d534 authored over 4 years ago by Jun Wu <[email protected]>
nightly: fix nightly build

ba8d8f85d50b151ea47107e96a5116d3a7025d1c authored over 4 years ago by Jun Wu <[email protected]>
deubg: add a "debug" feature

309e83fb57557ba47c69f7a69dd85357f572420a authored over 4 years ago by Jun Wu <[email protected]>
trace: fix is_type_tracked

936619cb21a163d35f11f4ba1b0634af9c19ca8b authored over 4 years ago by Jun Wu <[email protected]>
collect: add an assertion message

964f87d2eed45310f4a3a77776be4d581c7bb4d7 authored over 4 years ago by Jun Wu <[email protected]>
trace: impl Trace for Cow

1904cd559f5e378dae99d2a2cbeebbbaa5bb106f authored over 4 years ago by Jun Wu <[email protected]>
bump to 0.3.2

12742139232aaefac3c3175aa71380d651fe1684 authored over 4 years ago by Jun Wu <[email protected]>
tests: update tests with as_any() removal

102c092dcb4838f009ce45b686e778df14fba516 authored over 4 years ago by Jun Wu <[email protected]>
trace: remove as_any()

The feature can be implemented at an upper layer. Resolves #7.

e859083858dcf1ac75973edece0b2b4f63f63423 authored over 4 years ago by Jun Wu <[email protected]>
remove unused files

9c65cc5401e19d982534247b52a220b0cb145740 authored over 4 years ago by Jun Wu <[email protected]>
bump to 0.3.1

a8681f1452736d8ea6e14f352dff42736dee1e2f authored almost 5 years ago by Jun Wu <[email protected]>
don't track locked lock for the same reason as RefCell

6b9292df23b06937c7f6a186a43cae96c5c8e354 authored almost 5 years ago by ㄗㄠˋ ㄑㄧˊ <[email protected]>
tests: add a test showing that collect works when RefCell is borrowed

37e37e734ffe8ef1960103cadc72947f55c36542 authored almost 5 years ago by Jun Wu <[email protected]>
sync: require ThreadedCc<T> to be Send + Sync in ThreadedObjectSpace

ba9a12f6aeba18503687ed097e4cdd76f5173778 authored almost 5 years ago by Jun Wu <[email protected]>
enable Github Actions for PR

4872ced402411e010dd038b49260419efc3237c4 authored almost 5 years ago by ㄗㄠˋ ㄑㄧˊ <[email protected]>
bump to 0.3.0

f41fbd60f371233f3b9455e0468f8f3d160563f2 authored almost 5 years ago by Jun Wu <[email protected]>
doc: update docs

d73bee3a286d11956b57730f16cfa2400a169e72 authored almost 5 years ago by Jun Wu <[email protected]>
cc: rename some types

Use "Raw" to indicate they are low-level.

2e29ce1cab3f137517c86f62bc270fd2b2a974fe authored almost 5 years ago by Jun Wu <[email protected]>
collect: CcObjectSpace -> ObjectSpace

5a4613100ce01d83320092a48a51f39487490845 authored almost 5 years ago by Jun Wu <[email protected]>
collect: minor doc tweaks

3b0db786e95bc52d9003d20b0bf1b612457e84f9 authored almost 5 years ago by Jun Wu <[email protected]>
cc: cow_update -> update_with

56ea0d078652db12088102d4217bd1841ead97ce authored almost 5 years ago by Jun Wu <[email protected]>
collect:: default_header -> empty_header

bc748651b1598317103710761b76ab56f246dc82 authored almost 5 years ago by Jun Wu <[email protected]>
ref_count: Cell<usize> -> SingleThreadRefCount

a0241f07df92569dd7d44da5d4ac1fe500ee9a9a authored almost 5 years ago by Jun Wu <[email protected]>
sync: renamed some lock names

259b0f2b01f2da9a6236b0ba92d8c761a95363d2 authored almost 5 years ago by Jun Wu <[email protected]>
collect: change vptr from Cell<*mut ()> to *const ()

Slightly simplify the type.

34a383f2b233362832c63a697ef50d6001c28dce authored almost 5 years ago by Jun Wu <[email protected]>
sync: slightly simplifiy locks

c06138634c703d68eed518670cd246b632704e34 authored almost 5 years ago by Jun Wu <[email protected]>
sync: make parking_lot optional

fb00290292ed6366f049c8f1c66cad067df41036 authored almost 5 years ago by Jun Wu <[email protected]>
ref_count: move ThreadedRefCount to sync::ref_count

c9ab2855d271928255b4f7e6df861ae1199854e6 authored almost 5 years ago by Jun Wu <[email protected]>
sync: initial implementation with passing tests

It turns out Acc::deref() can cause a lot of pain since the collector
does not control what happ...

4c04c32123014e2e2ebcfa7f517550fb253ce5e5 authored almost 5 years ago by Jun Wu <[email protected]>
ref_count: make ref_count abstract

Give ObjectSpace more control about ref_count so it can block ref_count
updates (ex. clone or dr...

c1d0aa64f168f7214a92dddbb3ebd38c82ba1934 authored almost 5 years ago by Jun Wu <[email protected]>
sync: avoid parking_lot::ReentrantMutex

parking_lot::ReentrantMutex is not Send. Therefore it cannot really be
used in a multi-thread co...

28e5676452a7589f5c14ec08e6d3345ee5ed8d3c authored almost 5 years ago by Jun Wu <[email protected]>
sync: WIP Acc and AccObjectSpace

f75ce8162a7b969a890037ea9ab5af44aa2dd63c authored almost 5 years ago by Jun Wu <[email protected]>
collect: abstract GcHeader

b2057a076f077dd48907dd498da6617fe622cb99 authored almost 5 years ago by Jun Wu <[email protected]>
cc: move GcHeader to collect

Now GcHeader is part of ObjectSpace, move it closer to ObjectSpace.

172f307394d07e1331e0e59c46995832d8016670 authored almost 5 years ago by Jun Wu <[email protected]>
trace: abstract GcHeader

This adds flexibility that different "ObjectSpace" might have
different "GcHeader", at the cost ...

68e7dcaa91cef506d2108d636a52c949e4c07466 authored almost 5 years ago by Jun Wu <[email protected]>
acc: initial locking implementation

test_threads_racy_drops is now passing.

4be8649cd2bd09c8c8a6cfe494ac4ffeb739dde3 authored almost 5 years ago by Jun Wu <[email protected]>
acc: initial acc implementation

The tests are intentionally broken - race conditions are known.

dc16b6caa7e28a70c340092fe55ead14ace1af3c authored almost 5 years ago by Jun Wu <[email protected]>
trace: impl Trace for Mutex, RwLock

611ae3638ed3d919f19c01619ceb9e53d01909d5 authored almost 5 years ago by Jun Wu <[email protected]>
collect: make ObjectSpace abstract

38fa41c76aeefa68fbce64a16fdebf82ec3057c4 authored almost 5 years ago by Jun Wu <[email protected]>
cc: make impls more generic

0428c8091bc4183d8403f4e1372d4506f9b69f35 authored almost 5 years ago by Jun Wu <[email protected]>
cc: erase type for CcDyn::gc_clone

This makes it easier for CcDyn to support both Acc and Cc.

655edad580e8bd2911447477cf70c5b0e7b5cd52 authored almost 5 years ago by Jun Wu <[email protected]>
cc: make Cell<usize> in Cc a type parameter

Another step forward to make a "Send"+"Sync" version of Cc.

1226acb27705264c30420d50257bab14f61e6f6f authored almost 5 years ago by Jun Wu <[email protected]>
cc: make Cell<usize> in CcBox a type parameter

A step forward to make a "Send"+"Sync" version of Cc.

90b4a1b0fa8709ce9d236edd4148a22b29be9324 authored almost 5 years ago by Jun Wu <[email protected]>
trace: silence some nightly warnings

This seems to be a breaking change on the compiler.

1ec5b13fcd2d5a01889679fd24302ecdef643bcc authored almost 5 years ago by Jun Wu <[email protected]>
collect: add ObjectSpace APIs

This allows manual control about what group of objects to collect instead
of relying on thread-l...

08a0902e9a826fecabc105ef2d32a878df079b1b authored almost 5 years ago by Jun Wu <[email protected]>
cc: add a test about !Send and !Sync

006e1b053e626cbb85f302ede84f7e4ee0ebe698 authored almost 5 years ago by Jun Wu <[email protected]>
trace keys of mappings

2b75fae2c550f17764bde1aca75a2650310858aa authored almost 5 years ago by ㄗㄠˋ ㄑㄧˊ <[email protected]>
bump to 0.2.3

d707a519a01aa88610286b041c1ae0856032d1c9 authored almost 5 years ago by Jun Wu <[email protected]>
derive: implement as_any()

c0238a45569c814c9d2619f61f9287c8b8728a5c authored almost 5 years ago by Jun Wu <[email protected]>
trace: impl trace for functions with references

e80f3cfe1d3213f363d91a0abc479ab2ff50a70b authored almost 5 years ago by Jun Wu <[email protected]>
doc: add doc for derive Trace

a975b7c09a9b5b0dca01d539e1f59ef89d73a922 authored almost 5 years ago by Jun Wu <[email protected]>
bump to 0.2.2

2fdd38198cec044cb74b656d66b3424a6b970c09 authored almost 5 years ago by Jun Wu <[email protected]>
doc: minor updates

90c8964358d951f4ae14bbf73dddca5a70eb00dc authored almost 5 years ago by Jun Wu <[email protected]>
cc: add Cc<T>::cow_update for cheaper updates

f10655745a8d5b3bc43e5ac1ee1730d8af67f54a authored almost 5 years ago by Jun Wu <[email protected]>
cc: downcast<T>(self) -> Cc<T> for Cc<dyn Trace>

02ee251e66b0e747b7c30c276be64b108011a11d authored almost 5 years ago by Jun Wu <[email protected]>
doc: minor changes

969ffe802bbc5298860423833768dbee696673ea authored almost 5 years ago by Jun Wu <[email protected]>
derive: fix conflicted names in tests

e3d41cd0ad4312c97ee54749e836f4eec70cc143 authored almost 5 years ago by Jun Wu <[email protected]>
bump to 0.2.1

074ee3036e912fff13e189516f9c9026869f1e0b authored almost 5 years ago by Jun Wu <[email protected]>
trace: hide macro_rules APIs

Suggest the #[derive(Trace)] macro instead.

817522e8274cd49854f253053121739757336dc5 authored almost 5 years ago by Jun Wu <[email protected]>
collect: add count_thread_tracked() API

a7db0d0b0c39630dc8e8210e9be84755d0c1e002 authored almost 5 years ago by Jun Wu <[email protected]>
derive: make it part of gcmodule API

97958116c337a507a145f6a7f035559a2c5630ee authored almost 5 years ago by Jun Wu <[email protected]>
workflow: test workspace

8683f9a65b31a4b2e14551e37c46764f1f0a9659 authored almost 5 years ago by Jun Wu <[email protected]>
derive: add derive(Trace) support

123d84fec27749748a8af7724985b759839512c7 authored almost 5 years ago by Jun Wu <[email protected]>
workflow: revert nightly changes

It seems it's not really reliable.

This reverts commit ac41e0d020b1cd5bb45276c7a0b6c7fb0b3540a6.

cd1e19d7f7b61fe841a7bd0f247f68f4f771078a authored almost 5 years ago by Jun Wu <[email protected]>
doc: more details

32d705951056f89102d49e479a717fd7bba93a77 authored almost 5 years ago by Jun Wu <[email protected]>
tests: add tests about wrong Trace impl and panics

df8f5003bde957d7ab198905a7b53dfda1875939 authored almost 5 years ago by Jun Wu <[email protected]>
trace: revise APIs

Untrack types more aggressively. Basically only types including
Cc<dyn Trace>, Box<dyn Trace> or...

f189c33b57b46f1e55a8e488891a9924daca534f authored almost 5 years ago by Jun Wu <[email protected]>
trace: use lf as eol

8b96a4be3000d86b177219622c5f7d4991574615 authored almost 5 years ago by Jun Wu <[email protected]>
doc: fix a typo

f6087239afbeeae482825afbc6d5c351aa8856d1 authored almost 5 years ago by Jun Wu <[email protected]>
doc: add some text about the object layout

83d40ea2c54ba2d3475300e6274c7dcafc3ba5b2 authored almost 5 years ago by Jun Wu <[email protected]>
cc: make cast_box a bit more readable

eadb73f2cf1e14759c1f160240517e59da8a8300 authored almost 5 years ago by Jun Wu <[email protected]>