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

Unified Diff: runtime/vm/pages.h

Issue 18826007: Reland r24563 and r24564 with fixes cumbersome API leading to leaks. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 5 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/heap.cc ('k') | runtime/vm/pages.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/pages.h
===================================================================
--- runtime/vm/pages.h (revision 24817)
+++ runtime/vm/pages.h (working copy)
@@ -5,8 +5,6 @@
#ifndef VM_PAGES_H_
#define VM_PAGES_H_
-#include <map>
-
#include "vm/freelist.h"
#include "vm/globals.h"
#include "vm/virtual_memory.h"
@@ -205,16 +203,6 @@
void WriteProtect(bool read_only);
- typedef std::map<RawObject*, void*> PeerTable;
-
- void SetPeer(RawObject* raw_obj, void* peer);
-
- void* GetPeer(RawObject* raw_obj);
-
- int64_t PeerCount() const;
-
- PeerTable* GetPeerTable() { return &peer_table_; }
-
private:
// Ids for time and data records in Heap::GCStats.
enum {
@@ -253,8 +241,6 @@
HeapPage* pages_tail_;
HeapPage* large_pages_;
- PeerTable peer_table_;
-
// Various sizes being tracked for this generation.
intptr_t max_capacity_;
intptr_t capacity_;
« no previous file with comments | « runtime/vm/heap.cc ('k') | runtime/vm/pages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698