-
Notifications
You must be signed in to change notification settings - Fork 645
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
Pass the pointer of owning object in GCHermesValueBase::set() #1512
base: static_h
Are you sure you want to change the base?
Conversation
This pull request was exported from Phabricator. Differential Revision: D62196480 |
This pull request was exported from Phabricator. Differential Revision: D62196480 |
…ok#1512) Summary: Pull Request resolved: facebook#1512 This variant will be used by write barriers that support large allocation in following diffs. Differential Revision: D62196480
e9b3ca5
to
a64eb4b
Compare
…ok#1512) Summary: Pull Request resolved: facebook#1512 This variant will be used by write barriers that support large allocation in following diffs. Differential Revision: D62196480
a64eb4b
to
8e20882
Compare
This pull request was exported from Phabricator. Differential Revision: D62196480 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D62196480 |
…ok#1512) Summary: Pull Request resolved: facebook#1512 This variant will be used by write barriers that support large allocation in following diffs. Differential Revision: D62196480
8e20882
to
2940a2c
Compare
…ok#1512) Summary: Pull Request resolved: facebook#1512 This variant will be used by write barriers that support large allocation in following diffs. Differential Revision: D62196480
2940a2c
to
9795500
Compare
This pull request was exported from Phabricator. Differential Revision: D62196480 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D62196480 |
…ok#1512) Summary: Pull Request resolved: facebook#1512 This variant will be used by write barriers that support large allocation in following diffs. Differential Revision: D62196480
9795500
to
c2647ef
Compare
This pull request was exported from Phabricator. Differential Revision: D62196480 |
c2647ef
to
5e185a1
Compare
…ok#1512) Summary: Pull Request resolved: facebook#1512 This variant will be used by write barriers that support large allocation in following diffs. Differential Revision: D62196480
…ok#1512) Summary: Pull Request resolved: facebook#1512 This variant will be used by write barriers that support large allocation in following diffs. Differential Revision: D62196480
5e185a1
to
d18b763
Compare
This pull request was exported from Phabricator. Differential Revision: D62196480 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D62196480 |
…ok#1512) Summary: Pull Request resolved: facebook#1512 This variant will be used by write barriers that support large allocation in following diffs. Differential Revision: D62196480
d18b763
to
03b0589
Compare
Differential Revision: D66727534
Differential Revision: D61675022
…er (facebook#1504) Summary: Pull Request resolved: facebook#1504 Large segment needs to be backed by a large storage size. StorageProvider currently always allocate fixed size of storage determined by HERMESVM_LOG_HEAP_SEGMENT_SIZE. This diffs adds support of allocating larger storage with below changes: 1. `newStorage()` and `deleteStorage()` takes additional `sz` parameter. 2. For `MallocStorageProvider` and `VMAllocateStorageProvider`, simply change the previous fixed storage size to passed in `sz`. 3. For `ContiguousVAStorageProvider`, use a BitVector to manage allocations and deallocations. This can be improved later if we observe fragmentations. The support of enabling different sizes of heap segment will be added later. Differential Revision: D61676721
Differential Revision: D61807366
…ize in base calss Differential Revision: D65828323
Differential Revision: D61747510
…s to AlignedHeapSegmentBase Differential Revision: D64713261
Differential Revision: D65638502
Differential Revision: D62171114
…ers (facebook#1513) Summary: Pull Request resolved: facebook#1513 Differential Revision: D62169632
… start address Differential Revision: D67481895
Differential Revision: D65701671
Differential Revision: D67556001
…ok#1512) Summary: Pull Request resolved: facebook#1512 This variant will be used by write barriers that support large allocation in following diffs. Differential Revision: D62196480
This pull request was exported from Phabricator. Differential Revision: D62196480 |
03b0589
to
67dd50c
Compare
Summary:
Add this parameter so that it could be passed to write barrier function
in following diffs. For not it's unused.
We don't create a overload or make a default parameter value because
it's error prone: new code may call wrong functions (unless reasoning
whether the object lives in normal segment or large segment), or forget
to update existing calls. It's actually easier to just always pass in
the owning object pointer, which in most cases is obvious to get.
Differential Revision: D62196480