Mercurial > hg > heapstats
changeset 156:6a568c9776c3
Bug 2925: [REGRESSION] Cannot attach HeapStats agent to live process
Reviewed-by: ykubota
GitHub: https://github.com/HeapStats/heapstats/pull/24
author | Yasumasa Suenaga <yasuenag@gmail.com> |
---|---|
date | Mon, 11 Apr 2016 21:51:17 +0900 |
parents | f8b5f871b0cb |
children | f3e6f861c1b2 |
files | ChangeLog agent/src/heapstats-engines/deadlockFinder.cpp |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Mon Mar 28 21:40:24 2016 +0900 +++ b/ChangeLog Mon Apr 11 21:51:17 2016 +0900 @@ -1,3 +1,7 @@ +2016-04-11 Yasumasa Suenaga <yasuenag@gmail.com> + + * Bug 2925: [REGRESSION] Cannot attach HeapStats agent to live process + 2016-03-28 Yasumasa Suenaga <yasuenag@gmail.com> * Bug 2895: Code duplication for HeapStats MBean
--- a/agent/src/heapstats-engines/deadlockFinder.cpp Mon Mar 28 21:40:24 2016 +0900 +++ b/agent/src/heapstats-engines/deadlockFinder.cpp Mon Apr 11 21:51:17 2016 +0900 @@ -397,7 +397,7 @@ * See also: * hotspot/src/share/vm/prims/jvmtiManageCapabilities.cpp */ - if (!isOnLoad) { + if (isOnLoad) { capabilities->can_get_owned_monitor_stack_depth_info = 1; capabilities->can_get_current_contended_monitor = 1; }