comparison src/share/vm/jvmci/jvmciRuntime.hpp @ 23367:041534002323

Use strings instead of Symbol* for exception names (JDK-8155735).
author Roland Schatz <roland.schatz@oracle.com>
date Fri, 29 Apr 2016 14:49:30 +0200
parents 62804a7d3877
children 24505bf61633
comparison
equal deleted inserted replaced
23366:45168ac6d3bc 23367:041534002323
216 static void write_barrier_post(JavaThread* thread, void* card); 216 static void write_barrier_post(JavaThread* thread, void* card);
217 static jboolean validate_object(JavaThread* thread, oopDesc* parent, oopDesc* child); 217 static jboolean validate_object(JavaThread* thread, oopDesc* parent, oopDesc* child);
218 static void new_store_pre_barrier(JavaThread* thread); 218 static void new_store_pre_barrier(JavaThread* thread);
219 219
220 // used to throw exceptions from compiled JVMCI code 220 // used to throw exceptions from compiled JVMCI code
221 static void throw_and_post_jvmti_exception(JavaThread* thread, Symbol* exception, const char* message); 221 static void throw_and_post_jvmti_exception(JavaThread* thread, const char* exception, const char* message);
222 // helper methods to throw exception with complex messages 222 // helper methods to throw exception with complex messages
223 static void throw_klass_external_name_exception(JavaThread* thread, Symbol* exception, Klass* klass); 223 static void throw_klass_external_name_exception(JavaThread* thread, const char* exception, Klass* klass);
224 static void throw_class_cast_exception(JavaThread* thread, Symbol* exception, Klass* caster_klass, Klass* target_klass); 224 static void throw_class_cast_exception(JavaThread* thread, const char* exception, Klass* caster_klass, Klass* target_klass);
225 225
226 // Test only function 226 // Test only function
227 static int test_deoptimize_call_int(JavaThread* thread, int value); 227 static int test_deoptimize_call_int(JavaThread* thread, int value);
228 }; 228 };
229 229