You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* A wrapper around the backing store (i.e. the raw memory) of an array buffer.
4849
+
* See a document linked in http://crbug.com/v8/9908 for more information.
4849
4850
*
4850
4851
* The allocation and destruction of backing stores is generally managed by
4851
4852
* V8. Clients should always use standard C++ memory ownership types (i.e.
@@ -4879,6 +4880,10 @@ class V8_EXPORT BackingStore : public v8::internal::BackingStoreBase {
4879
4880
boolIsShared() const;
4880
4881
4881
4882
private:
4883
+
/**
4884
+
* See [Shared]ArrayBuffer::GetBackingStore and
4885
+
* [Shared]ArrayBuffer::NewBackingStore.
4886
+
*/
4882
4887
BackingStore();
4883
4888
};
4884
4889
@@ -5021,6 +5026,9 @@ class V8_EXPORT ArrayBuffer : public Object {
5021
5026
* |Allocator::Free| once all ArrayBuffers referencing it are collected by
5022
5027
* the garbage collector.
5023
5028
*/
5029
+
V8_DEPRECATE_SOON(
5030
+
"Use the version that takes a BackingStore. "
5031
+
"See http://crbug.com/v8/9908.")
@@ -5067,6 +5075,9 @@ class V8_EXPORT ArrayBuffer : public Object {
5067
5075
* Returns true if ArrayBuffer is externalized, that is, does not
5068
5076
* own its memory block.
5069
5077
*/
5078
+
V8_DEPRECATE_SOON(
5079
+
"With v8::BackingStore externalized ArrayBuffers are "
5080
+
"the same as ordinary ArrayBuffers. See http://crbug.com/v8/9908.")
5070
5081
bool IsExternal() const;
5071
5082
5072
5083
/**
@@ -5092,6 +5103,8 @@ class V8_EXPORT ArrayBuffer : public Object {
5092
5103
* deleter, which will call ArrayBuffer::Allocator::Free if the buffer
5093
5104
* was allocated with ArrayBuffer::Allocator::Allocate.
5094
5105
*/
5106
+
V8_DEPRECATE_SOON(
5107
+
"Use GetBackingStore or Detach. See http://crbug.com/v8/9908.")
5095
5108
Contents Externalize();
5096
5109
5097
5110
/**
@@ -5101,6 +5114,7 @@ class V8_EXPORT ArrayBuffer : public Object {
5101
5114
* With the new lifetime management of backing stores there is no need for
5102
5115
* externalizing, so this function exists only to make the transition easier.
5103
5116
*/
5117
+
V8_DEPRECATE_SOON("This will be removed together with IsExternal.")
@@ -5111,6 +5125,7 @@ class V8_EXPORT ArrayBuffer : public Object {
5111
5125
* The embedder should make sure to hold a strong reference to the
5112
5126
* ArrayBuffer while accessing this pointer.
5113
5127
*/
5128
+
V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.")
5114
5129
Contents GetContents();
5115
5130
5116
5131
/**
@@ -5494,6 +5509,9 @@ class V8_EXPORT SharedArrayBuffer : public Object {
5494
5509
* specified. The memory block will not be reclaimed when a created
5495
5510
* SharedArrayBuffer is garbage-collected.
5496
5511
*/
5512
+
V8_DEPRECATE_SOON(
5513
+
"Use the version that takes a BackingStore. "
5514
+
"See http://crbug.com/v8/9908.")
@@ -5540,7 +5558,9 @@ class V8_EXPORT SharedArrayBuffer : public Object {
5540
5558
* Create a new SharedArrayBuffer over an existing memory block. Propagate
5541
5559
* flags to indicate whether the underlying buffer can be grown.
5542
5560
*/
5543
-
V8_DEPRECATED("Use New method with data, and byte_length instead.")
5561
+
V8_DEPRECATED(
5562
+
"Use the version that takes a BackingStore. "
5563
+
"See http://crbug.com/v8/9908.")
@@ -5549,6 +5569,9 @@ class V8_EXPORT SharedArrayBuffer : public Object {
5549
5569
* Returns true if SharedArrayBuffer is externalized, that is, does not
5550
5570
* own its memory block.
5551
5571
*/
5572
+
V8_DEPRECATE_SOON(
5573
+
"With v8::BackingStore externalized SharedArrayBuffers are the same "
5574
+
"as ordinary SharedArrayBuffers. See http://crbug.com/v8/9908.")
5552
5575
bool IsExternal() const;
5553
5576
5554
5577
/**
@@ -5563,6 +5586,8 @@ class V8_EXPORT SharedArrayBuffer : public Object {
"Use GetBackingStore or Detach. See http://crbug.com/v8/9908.")
5566
5591
Contents Externalize();
5567
5592
5568
5593
/**
@@ -5572,6 +5597,7 @@ class V8_EXPORT SharedArrayBuffer : public Object {
5572
5597
* With the new lifetime management of backing stores there is no need for
5573
5598
* externalizing, so this function exists only to make the transition easier.
5574
5599
*/
5600
+
V8_DEPRECATE_SOON("This will be removed together with IsExternal.")
V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.")
0 commit comments