Mercurial > hg > graal-compiler
diff src/share/vm/graal/graalRuntime.hpp @ 13578:d8143c431d63
Add DynamicNewInstanceNode and use it to intrinsify Unsafe.allocateInstance
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Thu, 09 Jan 2014 11:29:56 +0100 |
parents | 43e004461248 |
children | 0cb5c4d276d4 |
line wrap: on
line diff
--- a/src/share/vm/graal/graalRuntime.hpp Tue Dec 31 17:23:54 2013 +0100 +++ b/src/share/vm/graal/graalRuntime.hpp Thu Jan 09 11:29:56 2014 +0100 @@ -34,6 +34,7 @@ static void new_array(JavaThread* thread, Klass* klass, jint length); static void new_multi_array(JavaThread* thread, Klass* klass, int rank, jint* dims); static void dynamic_new_array(JavaThread* thread, oopDesc* element_mirror, jint length); + static void dynamic_new_instance(JavaThread* thread, oopDesc* type_mirror); static jboolean thread_is_interrupted(JavaThread* thread, oopDesc* obj, jboolean clear_interrupted); static void vm_message(jboolean vmError, jlong format, jlong v1, jlong v2, jlong v3); static jint identity_hash_code(JavaThread* thread, oopDesc* obj);