comparison src/share/vm/interpreter/interpreterRuntime.hpp @ 710:e5b0439ef4ae

6655638: dynamic languages need method handles Summary: initial implementation, with known omissions (x86/64, sparc, compiler optim., c-oops, C++ interp.) Reviewed-by: kvn, twisti, never
author jrose
date Wed, 08 Apr 2009 10:56:49 -0700
parents d1605aabd0a1
children be93aad57795
comparison
equal deleted inserted replaced
709:1d037ecd7960 710:e5b0439ef4ae
1 /* 1 /*
2 * Copyright 1997-2008 Sun Microsystems, Inc. All Rights Reserved. 2 * Copyright 1997-2009 Sun Microsystems, Inc. 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.
64 static void throw_AbstractMethodError(JavaThread* thread); 64 static void throw_AbstractMethodError(JavaThread* thread);
65 static void throw_IncompatibleClassChangeError(JavaThread* thread); 65 static void throw_IncompatibleClassChangeError(JavaThread* thread);
66 static void throw_StackOverflowError(JavaThread* thread); 66 static void throw_StackOverflowError(JavaThread* thread);
67 static void throw_ArrayIndexOutOfBoundsException(JavaThread* thread, char* name, jint index); 67 static void throw_ArrayIndexOutOfBoundsException(JavaThread* thread, char* name, jint index);
68 static void throw_ClassCastException(JavaThread* thread, oopDesc* obj); 68 static void throw_ClassCastException(JavaThread* thread, oopDesc* obj);
69 static void throw_WrongMethodTypeException(JavaThread* thread, oopDesc* mtype = NULL, oopDesc* mhandle = NULL);
69 static void create_exception(JavaThread* thread, char* name, char* message); 70 static void create_exception(JavaThread* thread, char* name, char* message);
70 static void create_klass_exception(JavaThread* thread, char* name, oopDesc* obj); 71 static void create_klass_exception(JavaThread* thread, char* name, oopDesc* obj);
71 static address exception_handler_for_exception(JavaThread* thread, oopDesc* exception); 72 static address exception_handler_for_exception(JavaThread* thread, oopDesc* exception);
72 static void throw_pending_exception(JavaThread* thread); 73 static void throw_pending_exception(JavaThread* thread);
73 74