summaryrefslogtreecommitdiff
path: root/deps/v8/src/heap/store-buffer.h
diff options
context:
space:
mode:
authorMyles Borins <mylesborins@google.com>2019-09-24 11:56:38 -0400
committerMyles Borins <myles.borins@gmail.com>2019-10-07 03:19:23 -0400
commitf7f6c928c1c9c136b7926f892b8a2fda11d8b4b2 (patch)
treef5edbccb3ffda2573d70a6e291e7157f290e0ae0 /deps/v8/src/heap/store-buffer.h
parentffd22e81983056d09c064c59343a0e488236272d (diff)
downloadandroid-node-v8-f7f6c928c1c9c136b7926f892b8a2fda11d8b4b2.tar.gz
android-node-v8-f7f6c928c1c9c136b7926f892b8a2fda11d8b4b2.tar.bz2
android-node-v8-f7f6c928c1c9c136b7926f892b8a2fda11d8b4b2.zip
deps: update V8 to 7.8.279.9
PR-URL: https://github.com/nodejs/node/pull/29694 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
Diffstat (limited to 'deps/v8/src/heap/store-buffer.h')
-rw-r--r--deps/v8/src/heap/store-buffer.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/deps/v8/src/heap/store-buffer.h b/deps/v8/src/heap/store-buffer.h
index 62b10b9071..025bb6a060 100644
--- a/deps/v8/src/heap/store-buffer.h
+++ b/deps/v8/src/heap/store-buffer.h
@@ -33,17 +33,11 @@ class StoreBuffer {
Max(static_cast<int>(kMinExpectedOSPageSize / kStoreBuffers),
1 << (11 + kSystemPointerSizeLog2));
static const int kStoreBufferMask = kStoreBufferSize - 1;
- static const intptr_t kDeletionTag = 1;
V8_EXPORT_PRIVATE static int StoreBufferOverflow(Isolate* isolate);
- static void DeleteDuringGarbageCollection(StoreBuffer* store_buffer,
- Address start, Address end);
static void InsertDuringGarbageCollection(StoreBuffer* store_buffer,
Address slot);
-
- static void DeleteDuringRuntime(StoreBuffer* store_buffer, Address start,
- Address end);
static void InsertDuringRuntime(StoreBuffer* store_buffer, Address slot);
explicit StoreBuffer(Heap* heap);
@@ -61,19 +55,6 @@ class StoreBuffer {
// the remembered set.
void MoveAllEntriesToRememberedSet();
- inline bool IsDeletionAddress(Address address) const {
- return address & kDeletionTag;
- }
-
- inline Address MarkDeletionAddress(Address address) {
- return address | kDeletionTag;
- }
-
- inline Address UnmarkDeletionAddress(Address address) {
- return address & ~kDeletionTag;
- }
-
- inline void InsertDeletionIntoStoreBuffer(Address start, Address end);
inline void InsertIntoStoreBuffer(Address slot);
void InsertEntry(Address slot) {
@@ -83,16 +64,6 @@ class StoreBuffer {
insertion_callback(this, slot);
}
- // If we only want to delete a single slot, end should be set to null which
- // will be written into the second field. When processing the store buffer
- // the more efficient Remove method will be called in this case.
- void DeleteEntry(Address start, Address end = kNullAddress) {
- // Deletions coming from the GC are directly deleted from the remembered
- // set. Deletions coming from the runtime are added to the store buffer
- // to allow concurrent processing.
- deletion_callback(this, start, end);
- }
-
void SetMode(StoreBufferMode mode);
// Used by the concurrent processing thread to transfer entries from the
@@ -174,7 +145,6 @@ class StoreBuffer {
// Callbacks are more efficient than reading out the gc state for every
// store buffer operation.
void (*insertion_callback)(StoreBuffer*, Address);
- void (*deletion_callback)(StoreBuffer*, Address, Address);
};
} // namespace internal