Mercurial > hg > graal-compiler
diff src/share/vm/graal/graalCompiler.cpp @ 4139:feb590a8497f
remove pollJavaQueue and related functionality, minimize diff against HotSpot in the compileBroker.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sun, 18 Dec 2011 00:41:15 +0100 |
parents | 50a1d38cd7ac |
children | bcbb918f5ac6 |
line wrap: on
line diff
--- a/src/share/vm/graal/graalCompiler.cpp Sat Dec 17 22:03:44 2011 +0100 +++ b/src/share/vm/graal/graalCompiler.cpp Sun Dec 18 00:41:15 2011 +0100 @@ -294,24 +294,3 @@ } return T_ILLEGAL; } - -void GraalCompiler::poll_java_queue() { - int system_dictionary_modification_counter; - { - MutexLocker locker(Compile_lock, Thread::current()); - system_dictionary_modification_counter = SystemDictionary::number_of_modifications(); - } - - { - ThreadToNativeFromVM ttn(JavaThread::current()); - ciEnv ci_env(NULL, system_dictionary_modification_counter); - { - VM_ENTRY_MARK; - ResourceMark rm; - HandleMark hm; - - VMExits::pollJavaQueue(); - } - } -} -