Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1274)

Unified Diff: include/v8.h

Issue 1991293002: [api] Remove deprectated memory allocation callback api (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698