Mercurial > hg > graal-compiler
diff src/share/vm/graal/graalRuntime.hpp @ 9590:5f9c41cd3b1e
replaced monitorenter/monitorexit assembler stubs with compiled stubs (GRAAL-81)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 06 May 2013 22:37:00 +0200 |
parents | d84ea522800e |
children | 0381c7937e7a |
line wrap: on
line diff
--- a/src/share/vm/graal/graalRuntime.hpp Mon May 06 22:12:28 2013 +0200 +++ b/src/share/vm/graal/graalRuntime.hpp Mon May 06 22:37:00 2013 +0200 @@ -78,8 +78,6 @@ // runtime routines needed by code code generated // by Graal. #define GRAAL_STUBS(stub, last_entry) \ - stub(monitorenter) \ - stub(monitorexit) \ stub(vm_error) \ stub(create_null_pointer_exception) \ stub(create_out_of_bounds_exception) \ @@ -120,8 +118,6 @@ static void create_null_exception(JavaThread* thread); static void create_out_of_bounds_exception(JavaThread* thread, jint index); - static void monitorenter(JavaThread* thread, oopDesc* obj, BasicLock* lock); - static void monitorexit (JavaThread* thread, oopDesc* obj, BasicLock* lock); static void vm_error(JavaThread* thread, oop where, oop format, jlong value); static void log_printf(JavaThread* thread, oop format, jlong v1, jlong v2, jlong v3); static void log_primitive(JavaThread* thread, jchar typeChar, jlong value, jboolean newline); @@ -145,6 +141,8 @@ static void vm_message(jboolean vmError, jlong format, jlong v1, jlong v2, jlong v3); static jint identity_hash_code(JavaThread* thread, oopDesc* objd); static address exception_handler_for_pc(JavaThread* thread); + static void monitorenter(JavaThread* thread, oopDesc* obj, BasicLock* lock); + static void monitorexit (JavaThread* thread, oopDesc* obj, BasicLock* lock); // initialization static void initialize(BufferBlob* blob);