1 /* |
1 /* |
2 * Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
152 // followed by its address. |
152 // followed by its address. |
153 static void log_object(JavaThread* thread, oopDesc* object, bool as_string, bool newline); |
153 static void log_object(JavaThread* thread, oopDesc* object, bool as_string, bool newline); |
154 static void write_barrier_pre(JavaThread* thread, oopDesc* obj); |
154 static void write_barrier_pre(JavaThread* thread, oopDesc* obj); |
155 static void write_barrier_post(JavaThread* thread, void* card); |
155 static void write_barrier_post(JavaThread* thread, void* card); |
156 static jboolean validate_object(JavaThread* thread, oopDesc* parent, oopDesc* child); |
156 static jboolean validate_object(JavaThread* thread, oopDesc* parent, oopDesc* child); |
157 static void new_store_pre_barrier(JavaThread* thread); |
|
158 |
157 |
159 // used to throw exceptions from compiled JVMCI code |
158 // used to throw exceptions from compiled JVMCI code |
160 static void throw_and_post_jvmti_exception(JavaThread* thread, const char* exception, const char* message); |
159 static void throw_and_post_jvmti_exception(JavaThread* thread, const char* exception, const char* message); |
161 // helper methods to throw exception with complex messages |
160 // helper methods to throw exception with complex messages |
162 static void throw_klass_external_name_exception(JavaThread* thread, const char* exception, Klass* klass); |
161 static void throw_klass_external_name_exception(JavaThread* thread, const char* exception, Klass* klass); |