Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index 3079958d5868cb1182cae32223fa2677b8595b49..db64219a36460ce4a521d8a6b2e21cd9589ce465 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -5049,10 +5049,6 @@ enum ObjectSpace { |
kAllocationActionAll = kAllocationActionAllocate | kAllocationActionFree |
}; |
-typedef void (*MemoryAllocationCallback)(ObjectSpace space, |
- AllocationAction action, |
- int size); |
- |
// --- Enter/Leave Script Callback --- |
typedef void (*BeforeCallEnteredCallback)(Isolate*); |
typedef void (*CallCompletedCallback)(Isolate*); |
@@ -6252,22 +6248,6 @@ class V8_EXPORT Isolate { |
StackTrace::StackTraceOptions options = StackTrace::kOverview); |
/** |
- * Enables the host application to provide a mechanism to be notified |
- * and perform custom logging when V8 Allocates Executable Memory. |
- */ |
- void V8_DEPRECATED( |
- "Use a combination of RequestInterrupt and GCCallback instead", |
- AddMemoryAllocationCallback(MemoryAllocationCallback callback, |
- ObjectSpace space, AllocationAction action)); |
- |
- /** |
- * Removes callback that was installed by AddMemoryAllocationCallback. |
- */ |
- void V8_DEPRECATED( |
- "Use a combination of RequestInterrupt and GCCallback instead", |
- RemoveMemoryAllocationCallback(MemoryAllocationCallback callback)); |
- |
- /** |
* Iterates through all external resources referenced from current isolate |
* heap. GC is not invoked prior to iterating, therefore there is no |
* guarantee that visited objects are still alive. |