forked from bellard/quickjs
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add FinalizationRegistry impl #2
Open
LanderlYoung
wants to merge
1
commit into
linked_hash_map_for_map
Choose a base branch
from
finalizer_registry
base: linked_hash_map_for_map
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LanderlYoung
force-pushed
the
finalizer_registry
branch
5 times, most recently
from
July 31, 2024 08:07
734b4f4
to
8c745d2
Compare
LanderlYoung
changed the title
(wip) add FinalizationRegistry impl
(test MR) add FinalizationRegistry impl
Jul 31, 2024
LanderlYoung
force-pushed
the
finalizer_registry
branch
from
July 31, 2024 09:54
8c745d2
to
2dc6a8a
Compare
LanderlYoung
force-pushed
the
finalizer_registry
branch
9 times, most recently
from
August 1, 2024 10:40
b0664aa
to
c92cff6
Compare
LanderlYoung
commented
Aug 1, 2024
LanderlYoung
changed the title
(test MR) add FinalizationRegistry impl
wip (test MR) add FinalizationRegistry impl
Aug 1, 2024
LanderlYoung
force-pushed
the
finalizer_registry
branch
8 times, most recently
from
August 1, 2024 13:50
eb395b0
to
801dd06
Compare
LanderlYoung
force-pushed
the
finalizer_registry
branch
from
August 6, 2024 07:45
d48e6a8
to
991164a
Compare
LanderlYoung
force-pushed
the
refactor_hash_map
branch
2 times, most recently
from
August 6, 2024 10:19
affbd87
to
8b6bb69
Compare
LanderlYoung
force-pushed
the
finalizer_registry
branch
2 times, most recently
from
August 6, 2024 11:20
4391fb1
to
08b4f1e
Compare
LanderlYoung
force-pushed
the
refactor_hash_map
branch
from
August 6, 2024 12:23
8b6bb69
to
717cb70
Compare
LanderlYoung
force-pushed
the
finalizer_registry
branch
from
August 6, 2024 12:37
08b4f1e
to
1990f06
Compare
LanderlYoung
force-pushed
the
refactor_hash_map
branch
from
August 6, 2024 13:05
717cb70
to
ab9f568
Compare
LanderlYoung
changed the title
(wip) Add FinalizationRegistry impl
Add FinalizationRegistry impl
Aug 6, 2024
LanderlYoung
force-pushed
the
finalizer_registry
branch
from
August 6, 2024 13:09
1990f06
to
2adb107
Compare
LanderlYoung
force-pushed
the
refactor_hash_map
branch
5 times, most recently
from
August 12, 2024 11:56
fd54841
to
50ca57c
Compare
LanderlYoung
force-pushed
the
finalizer_registry
branch
3 times, most recently
from
August 14, 2024 13:16
bda6759
to
cdee815
Compare
LanderlYoung
changed the base branch from
refactor_hash_map
to
linked_hash_map_for_map
August 14, 2024 13:17
LanderlYoung
force-pushed
the
linked_hash_map_for_map
branch
from
August 14, 2024 13:20
54f7248
to
a71f94c
Compare
LanderlYoung
force-pushed
the
finalizer_registry
branch
3 times, most recently
from
August 15, 2024 03:27
7e4388f
to
99d2359
Compare
LanderlYoung
force-pushed
the
linked_hash_map_for_map
branch
2 times, most recently
from
August 22, 2024 14:00
eaa1d68
to
60ff781
Compare
LanderlYoung
force-pushed
the
finalizer_registry
branch
2 times, most recently
from
August 23, 2024 09:46
ad3b51f
to
42b2fd3
Compare
LanderlYoung
force-pushed
the
linked_hash_map_for_map
branch
from
September 12, 2024 03:47
60ff781
to
3ec4080
Compare
1. cleanupCallback is invked by a job (JS_EnqueueJob) 2. registries are stored in JSContext for manage and perform clanup callback 3. ensure related jobs are cancled when JSContext release.
LanderlYoung
force-pushed
the
finalizer_registry
branch
from
September 12, 2024 03:49
42b2fd3
to
381b43f
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
To implement
FinalizationRegistry
, there are some problems that need to be answered.cleanupCallback
during target finalization.JSContext
may be GCed before the target object.