Mercurial > hg > graal-compiler
diff src/share/vm/runtime/mutexLocker.hpp @ 6939:c284cf4781f0
7127792: Add the ability to change an existing PeriodicTask's execution interval
Summary: Enables dynamic enrollment / disenrollment from the PeriodicTasks in WatcherThread.
Reviewed-by: dholmes, mgronlun
author | rbackman |
---|---|
date | Thu, 04 Oct 2012 14:55:57 +0200 |
parents | 0a10d80352d5 |
children | e522a00b91aa 6337ca4dcad8 |
line wrap: on
line diff
--- a/src/share/vm/runtime/mutexLocker.hpp Mon Nov 05 13:55:31 2012 -0800 +++ b/src/share/vm/runtime/mutexLocker.hpp Thu Oct 04 14:55:57 2012 +0200 @@ -142,6 +142,7 @@ extern Monitor* JfrMsg_lock; // protects JFR messaging extern Mutex* JfrBuffer_lock; // protects JFR buffer operations extern Mutex* JfrStream_lock; // protects JFR stream access +extern Monitor* PeriodicTask_lock; // protects the periodic task structure // A MutexLocker provides mutual exclusion with respect to a given mutex // for the scope which contains the locker. The lock is an OS lock, not