Mercurial > hg > graal-jvmci-8
comparison src/share/vm/memory/filemap.hpp @ 6882:716c64bda5ba
7199092: NMT: NMT needs to deal overlapped virtual memory ranges
Summary: Enhanced virtual memory tracking to track committed regions as well as reserved regions, so NMT now can generate virtual memory map.
Reviewed-by: acorn, coleenp
author | zgu |
---|---|
date | Fri, 19 Oct 2012 21:40:07 -0400 |
parents | da91efe96a93 |
children | 561148896559 |
comparison
equal
deleted
inserted
replaced
6879:8ebcedb7604d | 6882:716c64bda5ba |
---|---|
123 void write_space(int i, Metaspace* space, bool read_only); | 123 void write_space(int i, Metaspace* space, bool read_only); |
124 void write_region(int region, char* base, size_t size, | 124 void write_region(int region, char* base, size_t size, |
125 size_t capacity, bool read_only, bool allow_exec); | 125 size_t capacity, bool read_only, bool allow_exec); |
126 void write_bytes(const void* buffer, int count); | 126 void write_bytes(const void* buffer, int count); |
127 void write_bytes_aligned(const void* buffer, int count); | 127 void write_bytes_aligned(const void* buffer, int count); |
128 char* map_region(int i, ReservedSpace rs); | |
129 char* map_region(int i); | 128 char* map_region(int i); |
130 void unmap_region(int i); | 129 void unmap_region(int i); |
131 void close(); | 130 void close(); |
132 bool is_open() { return _file_open; } | 131 bool is_open() { return _file_open; } |
133 ReservedSpace reserve_shared_memory(); | 132 ReservedSpace reserve_shared_memory(); |