Mercurial > hg > release > heapstats-2.1
changeset 149:ac463161743c
Bug 2861: Avoid hiding overloaded virtual function warning.
Reviewed-by: ykubota
GitHub: https://github.com/HeapStats/heapstats/pull/17
author | Yasumasa Suenaga <yasuenag@gmail.com> |
---|---|
date | Fri, 26 Feb 2016 21:57:04 +0900 |
parents | 3fe4fbc1e7f0 |
children | 163841d800b9 |
files | ChangeLog agent/src/heapstats-engines/deadlockFinder.hpp agent/src/heapstats-engines/gcWatcher.hpp agent/src/heapstats-engines/snapShotProcessor.hpp agent/src/heapstats-engines/timer.hpp |
diffstat | 5 files changed, 20 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Wed Feb 24 21:28:51 2016 +0900 +++ b/ChangeLog Fri Feb 26 21:57:04 2016 +0900 @@ -1,3 +1,7 @@ +2016-02-26 Yasumasa Suenaga <yasuenag@gmail.com> + + * Bug 2861: Avoid hiding overloaded virtual function warning. + 2016-02-24 Yasumasa Suenaga <yasuenag@gmail.com> * Bug 2860: configure should regard $JAVA_HOME
--- a/agent/src/heapstats-engines/deadlockFinder.hpp Wed Feb 24 21:28:51 2016 +0900 +++ b/agent/src/heapstats-engines/deadlockFinder.hpp Fri Feb 26 21:57:04 2016 +0900 @@ -132,12 +132,17 @@ */ static void setCapabilities(jvmtiCapabilities *capabilities, bool isOnLoad); + using TAgentThread::start; + /*! * \brief Make and begin Jthread. * \param jvmti [in] JVMTI environment object. * \param env [in] JNI environment object. */ void start(jvmtiEnv *jvmti, JNIEnv *env); + + using TAgentThread::notify; + /*! * \brief Notify occurred deadlock to this thread from other thread. * \param aTime [in] Time of occurred deadlock.
--- a/agent/src/heapstats-engines/gcWatcher.hpp Wed Feb 24 21:28:51 2016 +0900 +++ b/agent/src/heapstats-engines/gcWatcher.hpp Fri Feb 26 21:57:04 2016 +0900 @@ -1,7 +1,7 @@ /*! * \file gcWatcher.hpp * \brief This file is used to take snapshot when finish garbage collection. - * Copyright (C) 2011-2015 Nippon Telegraph and Telephone Corporation + * Copyright (C) 2011-2016 Nippon Telegraph and Telephone Corporation * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -75,6 +75,8 @@ return isFullGC; }; + using TAgentThread::start; + /*! * \brief Make and begin Jthread. * \param jvmti [in] JVMTI environment object.
--- a/agent/src/heapstats-engines/snapShotProcessor.hpp Wed Feb 24 21:28:51 2016 +0900 +++ b/agent/src/heapstats-engines/snapShotProcessor.hpp Fri Feb 26 21:57:04 2016 +0900 @@ -1,7 +1,7 @@ /*! * \file snapShotProcessor.hpp * \brief This file is used to output ranking and call snapshot function. - * Copyright (C) 2011-2015 Nippon Telegraph and Telephone Corporation + * Copyright (C) 2011-2016 Nippon Telegraph and Telephone Corporation * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -46,6 +46,8 @@ */ virtual ~TSnapShotProcessor(void); + using TAgentThread::start; + /*! * \brief Start parallel work by JThread. * \param jvmti [in] JVMTI environment information. @@ -53,6 +55,8 @@ */ void start(jvmtiEnv *jvmti, JNIEnv *env); + using TAgentThread::notify; + /*! * \brief Notify output snapshot to this thread from other thread. * \param snapshot [in] Output snapshot instance.
--- a/agent/src/heapstats-engines/timer.hpp Wed Feb 24 21:28:51 2016 +0900 +++ b/agent/src/heapstats-engines/timer.hpp Fri Feb 26 21:57:04 2016 +0900 @@ -1,7 +1,7 @@ /*! * \file timer.hpp * \brief This file is used to take interval snapshot. - * Copyright (C) 2011-2015 Nippon Telegraph and Telephone Corporation + * Copyright (C) 2011-2016 Nippon Telegraph and Telephone Corporation * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -52,6 +52,8 @@ */ virtual ~TTimer(void); + using TAgentThread::start; + /*! * \brief Make and begin Jthread. * \param jvmti [in] JVMTI environment object.