Index: runtime/bin/process_fuchsia.cc |
diff --git a/runtime/bin/process_fuchsia.cc b/runtime/bin/process_fuchsia.cc |
index b2adc710dbf966119464d3ac40bd5912fce46713..77557845e52413b8e67a919b3b6421021b693be4 100644 |
--- a/runtime/bin/process_fuchsia.cc |
+++ b/runtime/bin/process_fuchsia.cc |
@@ -80,7 +80,6 @@ class ProcessInfo { |
DISALLOW_COPY_AND_ASSIGN(ProcessInfo); |
}; |
- |
// Singly-linked list of ProcessInfo objects for all active processes |
// started from Dart. |
class ProcessInfoList { |
@@ -428,12 +427,10 @@ void Process::TerminateExitCodeHandler() { |
ExitCodeHandler::Terminate(); |
} |
- |
intptr_t Process::CurrentProcessId() { |
return static_cast<intptr_t>(getpid()); |
} |
- |
int64_t Process::CurrentRSS() { |
mx_info_task_stats_t task_stats; |
mx_handle_t process = mx_process_self(); |
@@ -447,14 +444,12 @@ int64_t Process::CurrentRSS() { |
return task_stats.mem_private_bytes + task_stats.mem_shared_bytes; |
} |
- |
int64_t Process::MaxRSS() { |
// There is currently no way to get the high watermark value on Fuchsia, so |
// just return the current RSS value. |
return CurrentRSS(); |
} |
- |
class IOHandleScope { |
public: |
explicit IOHandleScope(IOHandle* io_handle) : io_handle_(io_handle) {} |
@@ -470,7 +465,6 @@ class IOHandleScope { |
DISALLOW_COPY_AND_ASSIGN(IOHandleScope); |
}; |
- |
bool Process::Wait(intptr_t pid, |
intptr_t in, |
intptr_t out, |
@@ -613,7 +607,6 @@ bool Process::Wait(intptr_t pid, |
return true; |
} |
- |
bool Process::Kill(intptr_t id, int signal) { |
LOG_INFO("Sending signal %d to process with id %ld\n", signal, id); |
// mx_task_kill is definitely going to kill the process. |
@@ -640,7 +633,6 @@ bool Process::Kill(intptr_t id, int signal) { |
return true; |
} |
- |
class ProcessStarter { |
public: |
ProcessStarter(const char* path, |
@@ -837,7 +829,6 @@ class ProcessStarter { |
DISALLOW_IMPLICIT_CONSTRUCTORS(ProcessStarter); |
}; |
- |
int Process::Start(const char* path, |
char* arguments[], |
intptr_t arguments_length, |