@@ -6824,45 +6824,6 @@ class V8_EXPORT Isolate {
6824
6824
*/
6825
6825
Local<Value> ThrowException(Local<Value> exception);
6826
6826
6827
- /**
6828
- * Allows the host application to group objects together. If one
6829
- * object in the group is alive, all objects in the group are alive.
6830
- * After each garbage collection, object groups are removed. It is
6831
- * intended to be used in the before-garbage-collection callback
6832
- * function, for instance to simulate DOM tree connections among JS
6833
- * wrapper objects. Object groups for all dependent handles need to
6834
- * be provided for kGCTypeMarkSweepCompact collections, for all other
6835
- * garbage collection types it is sufficient to provide object groups
6836
- * for partially dependent handles only.
6837
- */
6838
- template <typename T>
6839
- V8_DEPRECATED("Use EmbedderHeapTracer",
6840
- void SetObjectGroupId(const Persistent<T>& object,
6841
- UniqueId id));
6842
-
6843
- /**
6844
- * Allows the host application to declare implicit references from an object
6845
- * group to an object. If the objects of the object group are alive, the child
6846
- * object is alive too. After each garbage collection, all implicit references
6847
- * are removed. It is intended to be used in the before-garbage-collection
6848
- * callback function.
6849
- */
6850
- template <typename T>
6851
- V8_DEPRECATED("Use EmbedderHeapTracer",
6852
- void SetReferenceFromGroup(UniqueId id,
6853
- const Persistent<T>& child));
6854
-
6855
- /**
6856
- * Allows the host application to declare implicit references from an object
6857
- * to another object. If the parent object is alive, the child object is alive
6858
- * too. After each garbage collection, all implicit references are removed. It
6859
- * is intended to be used in the before-garbage-collection callback function.
6860
- */
6861
- template <typename T, typename S>
6862
- V8_DEPRECATED("Use EmbedderHeapTracer",
6863
- void SetReference(const Persistent<T>& parent,
6864
- const Persistent<S>& child));
6865
-
6866
6827
typedef void (*GCCallback)(Isolate* isolate, GCType type,
6867
6828
GCCallbackFlags flags);
6868
6829
@@ -7328,9 +7289,6 @@ class V8_EXPORT Isolate {
7328
7289
template <class K, class V, class Traits>
7329
7290
friend class PersistentValueMapBase;
7330
7291
7331
- void SetObjectGroupId(internal::Object** object, UniqueId id);
7332
- void SetReferenceFromGroup(UniqueId id, internal::Object** object);
7333
- void SetReference(internal::Object** parent, internal::Object** child);
7334
7292
void ReportExternalAllocationLimitReached();
7335
7293
};
7336
7294
@@ -9745,33 +9703,6 @@ int64_t Isolate::AdjustAmountOfExternalAllocatedMemory(
9745
9703
return *external_memory;
9746
9704
}
9747
9705
9748
-
9749
- template<typename T>
9750
- void Isolate::SetObjectGroupId(const Persistent<T>& object,
9751
- UniqueId id) {
9752
- TYPE_CHECK(Value, T);
9753
- SetObjectGroupId(reinterpret_cast<internal::Object**>(object.val_), id);
9754
- }
9755
-
9756
-
9757
- template<typename T>
9758
- void Isolate::SetReferenceFromGroup(UniqueId id,
9759
- const Persistent<T>& object) {
9760
- TYPE_CHECK(Value, T);
9761
- SetReferenceFromGroup(id, reinterpret_cast<internal::Object**>(object.val_));
9762
- }
9763
-
9764
-
9765
- template<typename T, typename S>
9766
- void Isolate::SetReference(const Persistent<T>& parent,
9767
- const Persistent<S>& child) {
9768
- TYPE_CHECK(Object, T);
9769
- TYPE_CHECK(Value, S);
9770
- SetReference(reinterpret_cast<internal::Object**>(parent.val_),
9771
- reinterpret_cast<internal::Object**>(child.val_));
9772
- }
9773
-
9774
-
9775
9706
Local<Value> Context::GetEmbedderData(int index) {
9776
9707
#ifndef V8_ENABLE_CHECKS
9777
9708
typedef internal::Object O;
0 commit comments