Skip to content

refactor: thread MutationContext token, resolve Gc borrow conflicts in environments - #5460

Draft
shruti2522 wants to merge 7 commits into
boa-dev:dev/oscars-gcfrom
shruti2522:integration4
Draft

refactor: thread MutationContext token, resolve Gc borrow conflicts in environments#5460
shruti2522 wants to merge 7 commits into
boa-dev:dev/oscars-gcfrom
shruti2522:integration4

Conversation

@shruti2522

Copy link
Copy Markdown
Contributor

follow up to #5458

Implemented next part of the oscars GC migration.

  • added Context::gc() to wrap token access. in the final phases of integration, we would only have to update this one spot.
  • threaded MutationContext by value into the environments api (push_lexical, push_function, etc)
  • fixed some mutable aliasing issues in the eval and json modules
  • also enabled ci workflow for dev/oscars-gc branch

@github-actions github-actions Bot added C-Tests Issues and PRs related to the tests. C-Builtins PRs and Issues related to builtins/intrinsics C-VM Issues and PRs related to the Boa Virtual Machine. C-Actions Pull requests that update Github Actions code Waiting On Review Waiting on reviews from the maintainers labels Jul 26, 2026
@github-actions github-actions Bot added this to the v1.0.0 milestone Jul 26, 2026
@shruti2522 shruti2522 changed the title refactor: thread MutationContext token to resolve Gc borrow conflicts in environments refactor: thread MutationContext token, resolve Gc borrow conflicts in environments Jul 26, 2026
@github-actions

github-actions Bot commented Jul 26, 2026

Copy link
Copy Markdown

Test262 conformance changes

Test result main count PR count difference
Total 53,125 53,125 0
Passed 51,073 51,072 -1
Ignored 1,482 1,482 0
Failed 570 571 +1
Panics 0 0 0
Conformance 96.14% 96.14% -0.00%
Broken tests (1):
test/intl402/DateTimeFormat/constructor-options-fractionalSecondDigits-valid.js (previously Passed)

Tested main commit: f54077467b4b01eb0fe221cfff470a8546ebe36c
Tested PR commit: 64b57065aa7e5cea6682ce8a2b6a944dc79293b8
Compare commits: f540774...64b5706

@github-actions github-actions Bot added the C-GC Issue related to garbage collection label Jul 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-Actions Pull requests that update Github Actions code C-Builtins PRs and Issues related to builtins/intrinsics C-GC Issue related to garbage collection C-Tests Issues and PRs related to the tests. C-VM Issues and PRs related to the Boa Virtual Machine. Waiting On Review Waiting on reviews from the maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant