diff src/share/vm/runtime/handles.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 bdb5f8c9978b
children 6f817ce50129
line wrap: on
line diff
--- a/src/share/vm/runtime/handles.hpp	Thu Oct 18 13:09:47 2012 -0400
+++ b/src/share/vm/runtime/handles.hpp	Fri Oct 19 21:40:07 2012 -0400
@@ -297,6 +297,7 @@
   void set_previous_handle_mark(HandleMark* mark) { _previous_handle_mark = mark; }
   HandleMark* previous_handle_mark() const        { return _previous_handle_mark; }
 
+  size_t size_in_bytes() const { return _size_in_bytes; }
  public:
   HandleMark();                            // see handles_inline.hpp
   HandleMark(Thread* thread)                      { initialize(thread); }