| Index: runtime/vm/thread.h
|
| diff --git a/runtime/vm/thread.h b/runtime/vm/thread.h
|
| index d9cf1204c1ce19f3bbd3b192c6fcf7bc50569410..e73c44bc024888165911a3fe04bcfad082854564 100644
|
| --- a/runtime/vm/thread.h
|
| +++ b/runtime/vm/thread.h
|
| @@ -264,22 +264,6 @@ class Thread : public BaseThread {
|
|
|
| bool ZoneIsOwnedByThread(Zone* zone) const;
|
|
|
| - void IncrementMemoryUsage(uint value) {
|
| - current_thread_memory_ += value;
|
| - if (current_thread_memory_ > memory_high_watermark_) {
|
| - memory_high_watermark_ = current_thread_memory_;
|
| - }
|
| - }
|
| -
|
| - void DecrementMemoryUsage(uint value) {
|
| - ASSERT(current_thread_memory_ >= value);
|
| - current_thread_memory_ -= value;
|
| - }
|
| -
|
| - uint memory_high_watermark() const { return memory_high_watermark_; }
|
| -
|
| - void ResetHighWatermark() { memory_high_watermark_ = current_thread_memory_; }
|
| -
|
| // The reusable api local scope for this thread.
|
| ApiLocalScope* api_reusable_scope() const { return api_reusable_scope_; }
|
| void set_api_reusable_scope(ApiLocalScope* value) {
|
| @@ -697,8 +681,6 @@ class Thread : public BaseThread {
|
| OSThread* os_thread_;
|
| Monitor* thread_lock_;
|
| Zone* zone_;
|
| - uint current_thread_memory_;
|
| - uint memory_high_watermark_;
|
| ApiLocalScope* api_reusable_scope_;
|
| ApiLocalScope* api_top_scope_;
|
| StackResource* top_resource_;
|
|
|