Mercurial > hg > graal-jvmci-8
diff src/share/vm/services/attachListener.cpp @ 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 | d8ce2825b193 |
children | 8b46b0196eb0 |
line wrap: on
line diff
--- a/src/share/vm/services/attachListener.cpp Thu Oct 18 13:09:47 2012 -0400 +++ b/src/share/vm/services/attachListener.cpp Fri Oct 19 21:40:07 2012 -0400 @@ -404,6 +404,8 @@ static void attach_listener_thread_entry(JavaThread* thread, TRAPS) { os::set_priority(thread, NearMaxPriority); + thread->record_stack_base_and_size(); + if (AttachListener::pd_init() != 0) { return; }