equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2016, 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. |
989 |
989 |
990 address SharedRuntime::native_method_throw_unsatisfied_link_error_entry() { |
990 address SharedRuntime::native_method_throw_unsatisfied_link_error_entry() { |
991 return CAST_FROM_FN_PTR(address, &throw_unsatisfied_link_error); |
991 return CAST_FROM_FN_PTR(address, &throw_unsatisfied_link_error); |
992 } |
992 } |
993 |
993 |
994 |
|
995 #ifndef PRODUCT |
|
996 JRT_ENTRY(intptr_t, SharedRuntime::trace_bytecode(JavaThread* thread, intptr_t preserve_this_value, intptr_t tos, intptr_t tos2)) |
|
997 const frame f = thread->last_frame(); |
|
998 assert(f.is_interpreted_frame(), "must be an interpreted frame"); |
|
999 #ifndef PRODUCT |
|
1000 methodHandle mh(THREAD, f.interpreter_frame_method()); |
|
1001 BytecodeTracer::trace(mh, f.interpreter_frame_bcp(), tos, tos2); |
|
1002 #endif // !PRODUCT |
|
1003 return preserve_this_value; |
|
1004 JRT_END |
|
1005 #endif // !PRODUCT |
|
1006 |
|
1007 JRT_ENTRY_NO_ASYNC(void, SharedRuntime::register_finalizer(JavaThread* thread, oopDesc* obj)) |
994 JRT_ENTRY_NO_ASYNC(void, SharedRuntime::register_finalizer(JavaThread* thread, oopDesc* obj)) |
1008 assert(obj->is_oop(), "must be a valid oop"); |
995 assert(obj->is_oop(), "must be a valid oop"); |
1009 #if INCLUDE_JVMCI |
996 #if INCLUDE_JVMCI |
1010 // This removes the requirement for JVMCI compilers to emit code |
997 // This removes the requirement for JVMCI compilers to emit code |
1011 // performing a dynamic check that obj has a finalizer before |
998 // performing a dynamic check that obj has a finalizer before |