Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - Boa Gc implementation draft #2394

Closed
wants to merge 55 commits into from
Closed
Show file tree
Hide file tree
Changes from 47 commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
78032af
Early skeletal framework
nekevss Oct 21, 2022
dc892e6
Build out concept further
nekevss Oct 22, 2022
b2736ab
Complete initial work on alloc and collector
nekevss Oct 24, 2022
be81ba4
Ephemeron implementation and clean up
nekevss Oct 25, 2022
148fd7c
Couple more fixes
nekevss Oct 25, 2022
2eac402
Refactor Mark-Sweep
nekevss Oct 30, 2022
f2eefdf
Complete initial layout and refactor
nekevss Oct 31, 2022
295b01c
Build errors and first basic test
nekevss Nov 1, 2022
1109201
initial basic tests and some fixes
nekevss Nov 4, 2022
7f417ba
Promotions appear to work!
nekevss Nov 4, 2022
c4f5274
Promotion tests
nekevss Nov 4, 2022
727ea98
Transfer engine to gc and fixes
nekevss Nov 5, 2022
f95ad04
gc fixes and rustfmt
nekevss Nov 5, 2022
174b024
Addressing clippy lints with fixes or allow
nekevss Nov 5, 2022
585f5ee
Rustfmt
nekevss Nov 5, 2022
e40c40c
rebase and post rebase changes
nekevss Nov 5, 2022
e5f0066
Remove unneeded comment line
nekevss Nov 5, 2022
6339992
cargo.toml -> Cargo.toml
nekevss Nov 5, 2022
b20bc25
Changed back to drop_in_place on non-dump
nekevss Nov 5, 2022
61d09f1
Rustfmt
nekevss Nov 5, 2022
06b2c81
Rebase and fixes
nekevss Nov 5, 2022
cc97654
Root management fixes
nekevss Nov 6, 2022
bc66910
Revert changes to promotions from last commit
nekevss Nov 6, 2022
a53f67b
Rustfmt
nekevss Nov 6, 2022
3d3bac6
Adding boa focused tests
nekevss Nov 6, 2022
9ab82de
Removed divide in structs
nekevss Nov 6, 2022
196e963
Rebase and complete remove generational setup
nekevss Nov 7, 2022
602c3c1
Cleaning up remaining youth_heap variables
nekevss Nov 7, 2022
e56e3a5
Review changes
nekevss Nov 8, 2022
53ba41c
Missing newline in Cargo.toml
nekevss Nov 8, 2022
ae6cfdb
Redesign API
jedel1043 Nov 7, 2022
b7ae55b
Provide default for `is_marked_ephemeron`
jedel1043 Nov 8, 2022
bb5de24
Address errors from merge
nekevss Nov 9, 2022
b0732a4
Address reviews add root for ephemeron
nekevss Nov 9, 2022
0fe6c9a
Move tests to thread
jedel1043 Nov 9, 2022
e0df35c
Fix clippy lints
jedel1043 Nov 9, 2022
2f8c92e
Add safety lints and document some unsafe
jedel1043 Nov 9, 2022
336ff58
Document some unsafe pt. 2
jedel1043 Nov 9, 2022
6e00c4a
Safety documentation and basic allocation and dump test
nekevss Nov 10, 2022
4de6a58
Fix doc error
nekevss Nov 10, 2022
8d629be
Updated Trace docs and comments
nekevss Nov 10, 2022
36e6aa8
Safety doc on GcCell's Trace implementation
nekevss Nov 10, 2022
ec25eac
Add test and check eph drop call is not from Collector
nekevss Nov 10, 2022
465c8bd
Fmt and clippy lints on GcCell Trace methods
nekevss Nov 10, 2022
37d263f
Upgrade and clone methods with more tests
nekevss Nov 11, 2022
5ffe1b3
cargo fmt
nekevss Nov 11, 2022
51d0ca5
Removed print, oops
nekevss Nov 11, 2022
a68e5b5
Review updates - debug for GcBoxHeader, more documentation
nekevss Nov 11, 2022
4603cce
Remove `gc` from `boa_examples`
jedel1043 Nov 11, 2022
f85f746
Address review and new clippy lints
nekevss Nov 13, 2022
2ca8320
Forgot derive on Allocator
nekevss Nov 13, 2022
3d5005d
Remove use_self allows
nekevss Nov 13, 2022
973d117
Missed one
nekevss Nov 13, 2022
10d5d26
Add inline and docs to BorrowFlag & other review changes
nekevss Nov 14, 2022
7b477b6
Rustfmt
nekevss Nov 14, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
142 changes: 71 additions & 71 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion boa_engine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ boa_profiler.workspace = true
boa_macros.workspace = true
boa_ast.workspace = true
boa_parser.workspace = true
gc = "0.4.1"
serde = { version = "1.0.147", features = ["derive", "rc"] }
serde_json = "1.0.87"
rand = "0.8.5"
Expand Down
Loading