Mercurial > hg > graal-compiler
changeset 14770:beea13269eab
removed GraalDeoptLeafGraphIds_lock
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 26 Mar 2014 20:33:16 +0100 |
parents | 141d570b397c |
children | f87c23fd304d |
files | src/share/vm/runtime/mutexLocker.cpp src/share/vm/runtime/mutexLocker.hpp |
diffstat | 2 files changed, 0 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/runtime/mutexLocker.cpp Wed Mar 26 17:36:25 2014 +0100 +++ b/src/share/vm/runtime/mutexLocker.cpp Wed Mar 26 20:33:16 2014 +0100 @@ -133,10 +133,6 @@ Mutex* JfrThreadGroups_lock = NULL; #endif -#ifdef GRAAL -Mutex* GraalDeoptLeafGraphIds_lock = NULL; -#endif // GRAAL - #define MAX_NUM_MUTEX 128 static Monitor * _mutex_array[MAX_NUM_MUTEX]; static int _num_mutex; @@ -284,10 +280,6 @@ def(JfrStream_lock , Mutex, nonleaf+2, true); def(JfrStacktrace_lock , Mutex, special, true ); #endif - -#ifdef GRAAL - def(GraalDeoptLeafGraphIds_lock , Mutex, special, true); -#endif // GRAAL } GCMutexLocker::GCMutexLocker(Monitor * mutex) {
--- a/src/share/vm/runtime/mutexLocker.hpp Wed Mar 26 17:36:25 2014 +0100 +++ b/src/share/vm/runtime/mutexLocker.hpp Wed Mar 26 20:33:16 2014 +0100 @@ -149,10 +149,6 @@ extern Mutex* JfrThreadGroups_lock; // protects JFR access to Thread Groups #endif -#ifdef GRAAL -extern Mutex* GraalDeoptLeafGraphIds_lock; // protects access to the global array of deopt'ed leaf graphs -#endif // GRAAL - // 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 // an object lock, and the two do not interoperate. Do not use Mutex-based