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

Unified Diff: runtime/vm/isolate.h

Issue 2650693004: VM: Fix memory leaks during isolate spawning (Closed)
Patch Set: Rebased & Renamed TakeBuffer -> StealBuffer Created 3 years, 11 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 | « runtime/vm/datastream.h ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.h
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
index 79abc16f6e10fb8f15b1e364954bdbb840f8d00e..3367671ecff81251c63bccd21c86164f780c5b38 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -61,6 +61,7 @@ class RawUserTag;
class SafepointHandler;
class SampleBuffer;
class SendPort;
+class SerializedObjectBuffer;
class ServiceIdZone;
class Simulator;
class StackResource;
@@ -921,7 +922,7 @@ class IsolateSpawnState {
void* init_data,
const char* script_url,
const Function& func,
- const Instance& message,
+ SerializedObjectBuffer* message_buffer,
Monitor* spawn_count_monitor,
intptr_t* spawn_count,
const char* package_root,
@@ -935,8 +936,8 @@ class IsolateSpawnState {
const char* script_url,
const char* package_root,
const char* package_config,
- const Instance& args,
- const Instance& message,
+ SerializedObjectBuffer* args_buffer,
+ SerializedObjectBuffer* message_buffer,
Monitor* spawn_count_monitor,
intptr_t* spawn_count,
bool paused,
« no previous file with comments | « runtime/vm/datastream.h ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698