comparison src/share/vm/graal/graalRuntime.hpp @ 7235:a6bd253a770f

expanded LOG_PRINTF stub to handle up to 3 arguments in addition to the format string
author Doug Simon <doug.simon@oracle.com>
date Mon, 17 Dec 2012 11:12:01 +0100
parents 8a3efb8c831d
children 983f7bdb85ff 92d21814cf7b
comparison
equal deleted inserted replaced
7234:911872d97f65 7235:a6bd253a770f
68 // runtime calls (return offset of call to be used by GC map) 68 // runtime calls (return offset of call to be used by GC map)
69 int call_RT(Register oop_result1, Register metadata_result, address entry, int args_size = 0); 69 int call_RT(Register oop_result1, Register metadata_result, address entry, int args_size = 0);
70 int call_RT(Register oop_result1, Register metadata_result, address entry, Register arg1); 70 int call_RT(Register oop_result1, Register metadata_result, address entry, Register arg1);
71 int call_RT(Register oop_result1, Register metadata_result, address entry, Register arg1, Register arg2); 71 int call_RT(Register oop_result1, Register metadata_result, address entry, Register arg1, Register arg2);
72 int call_RT(Register oop_result1, Register metadata_result, address entry, Register arg1, Register arg2, Register arg3); 72 int call_RT(Register oop_result1, Register metadata_result, address entry, Register arg1, Register arg2, Register arg3);
73 int call_RT(Register oop_result1, Register metadata_result, address entry, Register arg1, Register arg2, Register arg3, Register arg4);
73 }; 74 };
74 75
75 // set frame size and return address offset to these values in blobs 76 // set frame size and return address offset to these values in blobs
76 // (if the compiled frame uses ebp as link pointer on IA; otherwise, 77 // (if the compiled frame uses ebp as link pointer on IA; otherwise,
77 // the frame size must be fixed) 78 // the frame size must be fixed)
142 static void graal_create_null_exception(JavaThread* thread); 143 static void graal_create_null_exception(JavaThread* thread);
143 static void graal_create_out_of_bounds_exception(JavaThread* thread, jint index); 144 static void graal_create_out_of_bounds_exception(JavaThread* thread, jint index);
144 static void graal_monitorenter(JavaThread* thread, oopDesc* obj, BasicLock* lock); 145 static void graal_monitorenter(JavaThread* thread, oopDesc* obj, BasicLock* lock);
145 static void graal_monitorexit (JavaThread* thread, oopDesc* obj, BasicLock* lock); 146 static void graal_monitorexit (JavaThread* thread, oopDesc* obj, BasicLock* lock);
146 static void graal_vm_error(JavaThread* thread, oop where, oop format, jlong value); 147 static void graal_vm_error(JavaThread* thread, oop where, oop format, jlong value);
147 static void graal_log_printf(JavaThread* thread, oop format, jlong value); 148 static void graal_log_printf(JavaThread* thread, oop format, jlong v1, jlong v2, jlong v3);
148 static void graal_log_primitive(JavaThread* thread, jchar typeChar, jlong value, jboolean newline); 149 static void graal_log_primitive(JavaThread* thread, jchar typeChar, jlong value, jboolean newline);
149 150
150 static jint graal_identity_hash_code(JavaThread* thread, oopDesc* objd); 151 static jint graal_identity_hash_code(JavaThread* thread, oopDesc* objd);
151 static jboolean graal_thread_is_interrupted(JavaThread* thread, oopDesc* obj, jboolean clear_interrupte); 152 static jboolean graal_thread_is_interrupted(JavaThread* thread, oopDesc* obj, jboolean clear_interrupte);
152 153