Mercurial > hg > release > heapstats-2.1
changeset 256:ca86f078eb34
Bug 3491: Fix potential error when conflict between VMDeath and interval logging
Reviewed-by: yasuenag
https://github.com/HeapStats/heapstats/pull/126
author | KUBOTA Yuji <kubota.yuji@lab.ntt.co.jp> |
---|---|
date | Wed, 08 Nov 2017 13:41:08 +0900 |
parents | 7c3bea2249ab |
children | bec923d3aeb6 |
files | ChangeLog agent/src/heapstats-engines/logMain.cpp |
diffstat | 2 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Wed Nov 01 13:11:23 2017 +0900 +++ b/ChangeLog Wed Nov 08 13:41:08 2017 +0900 @@ -1,3 +1,7 @@ +2017-11-08 KUBOTA Yuji <kubota.yuji@lab.ntt.co.jp> + + * Bug 3491: Fix potential error when conflict between VMDeath and interval logging + 2017-11-01 Yasumasa Suenaga <yasuenag@gmail.com> * Bug 3458: Temp directory for ArchiveData is not removed when exiting
--- a/agent/src/heapstats-engines/logMain.cpp Wed Nov 01 13:11:23 2017 +0900 +++ b/agent/src/heapstats-engines/logMain.cpp Wed Nov 08 13:41:08 2017 +0900 @@ -105,6 +105,8 @@ * This value is always Interval. */ void intervalLogProc(jvmtiEnv *jvmti, JNIEnv *env, TInvokeCause cause) { + TProcessMark mark(processing); + /* Call collect log by interval. */ if (unlikely(!TakeLogInfo(jvmti, env, cause, (TMSecTime)getNowTimeSec(), ""))) {