annotate src/cpu/zero/vm/methodHandles_zero.hpp @ 9790:6b515c453646

CompilationTask: print exception of compilation also when we don't exit the VM for example, this is useful for CTW, in order to see on which methods the compiler bails out
author Bernhard Urban <bernhard.urban@jku.at>
date Wed, 22 May 2013 16:28:12 +0200
parents a3e2f723f2a5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3847
a3142bdb6707 7071823: Zero: zero/shark doesn't build after b147-fcs
twisti
parents:
diff changeset
1 /*
6842
b9a9ed0f8eeb 7197424: update copyright year to match last edit in jdk8 hotspot repository
mikael
parents: 4807
diff changeset
2 * Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
3847
a3142bdb6707 7071823: Zero: zero/shark doesn't build after b147-fcs
twisti
parents:
diff changeset
3 * Copyright 2011 Red Hat, Inc.
a3142bdb6707 7071823: Zero: zero/shark doesn't build after b147-fcs
twisti
parents:
diff changeset
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
a3142bdb6707 7071823: Zero: zero/shark doesn't build after b147-fcs
twisti
parents:
diff changeset
5 *
a3142bdb6707 7071823: Zero: zero/shark doesn't build after b147-fcs
twisti
parents:
diff changeset
6 * This code is free software; you can redistribute it and/or modify it
a3142bdb6707 7071823: Zero: zero/shark doesn't build after b147-fcs
twisti
parents:
diff changeset
7 * under the terms of the GNU General Public License version 2 only, as
a3142bdb6707 7071823: Zero: zero/shark doesn't build after b147-fcs
twisti
parents:
diff changeset
8 * published by the Free Software Foundation.
a3142bdb6707 7071823: Zero: zero/shark doesn't build after b147-fcs
twisti
parents:
diff changeset
9 *
a3142bdb6707 7071823: Zero: zero/shark doesn't build after b147-fcs
twisti
parents:
diff changeset
10 * This code is distributed in the hope that it will be useful, but WITHOUT
a3142bdb6707 7071823: Zero: zero/shark doesn't build after b147-fcs
twisti
parents:
diff changeset
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
a3142bdb6707 7071823: Zero: zero/shark doesn't build after b147-fcs
twisti
parents:
diff changeset
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
a3142bdb6707 7071823: Zero: zero/shark doesn't build after b147-fcs
twisti
parents:
diff changeset
13 * version 2 for more details (a copy is included in the LICENSE file that
a3142bdb6707 7071823: Zero: zero/shark doesn't build after b147-fcs
twisti
parents:
diff changeset
14 * accompanied this code).
a3142bdb6707 7071823: Zero: zero/shark doesn't build after b147-fcs
twisti
parents:
diff changeset
15 *
a3142bdb6707 7071823: Zero: zero/shark doesn't build after b147-fcs
twisti
parents:
diff changeset
16 * You should have received a copy of the GNU General Public License version
a3142bdb6707 7071823: Zero: zero/shark doesn't build after b147-fcs
twisti
parents:
diff changeset
17 * 2 along with this work; if not, write to the Free Software Foundation,
a3142bdb6707 7071823: Zero: zero/shark doesn't build after b147-fcs
twisti
parents:
diff changeset
18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
a3142bdb6707 7071823: Zero: zero/shark doesn't build after b147-fcs
twisti
parents:
diff changeset
19 *
a3142bdb6707 7071823: Zero: zero/shark doesn't build after b147-fcs
twisti
parents:
diff changeset
20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
a3142bdb6707 7071823: Zero: zero/shark doesn't build after b147-fcs
twisti
parents:
diff changeset
21 * or visit www.oracle.com if you need additional information or have any
a3142bdb6707 7071823: Zero: zero/shark doesn't build after b147-fcs
twisti
parents:
diff changeset
22 * questions.
a3142bdb6707 7071823: Zero: zero/shark doesn't build after b147-fcs
twisti
parents:
diff changeset
23 *
a3142bdb6707 7071823: Zero: zero/shark doesn't build after b147-fcs
twisti
parents:
diff changeset
24 */
a3142bdb6707 7071823: Zero: zero/shark doesn't build after b147-fcs
twisti
parents:
diff changeset
25
a3142bdb6707 7071823: Zero: zero/shark doesn't build after b147-fcs
twisti
parents:
diff changeset
26
a3142bdb6707 7071823: Zero: zero/shark doesn't build after b147-fcs
twisti
parents:
diff changeset
27 // Adapters
a3142bdb6707 7071823: Zero: zero/shark doesn't build after b147-fcs
twisti
parents:
diff changeset
28 enum /* platform_dependent_constants */ {
6926
a3e2f723f2a5 8000780: make Zero build and run with JDK8
twisti
parents: 6842
diff changeset
29 adapter_code_size = sizeof(ZeroEntry) * (Interpreter::method_handle_invoke_LAST - Interpreter::method_handle_invoke_FIRST + 1)
3847
a3142bdb6707 7071823: Zero: zero/shark doesn't build after b147-fcs
twisti
parents:
diff changeset
30 };
a3142bdb6707 7071823: Zero: zero/shark doesn't build after b147-fcs
twisti
parents:
diff changeset
31
6926
a3e2f723f2a5 8000780: make Zero build and run with JDK8
twisti
parents: 6842
diff changeset
32 private:
a3e2f723f2a5 8000780: make Zero build and run with JDK8
twisti
parents: 6842
diff changeset
33 static oop popFromStack(TRAPS);
a3e2f723f2a5 8000780: make Zero build and run with JDK8
twisti
parents: 6842
diff changeset
34 static void invoke_target(Method* method, TRAPS);
a3e2f723f2a5 8000780: make Zero build and run with JDK8
twisti
parents: 6842
diff changeset
35 static int method_handle_entry_invokeBasic(Method* method, intptr_t UNUSED, TRAPS);
a3e2f723f2a5 8000780: make Zero build and run with JDK8
twisti
parents: 6842
diff changeset
36 static int method_handle_entry_linkToStaticOrSpecial(Method* method, intptr_t UNUSED, TRAPS);
a3e2f723f2a5 8000780: make Zero build and run with JDK8
twisti
parents: 6842
diff changeset
37 static int method_handle_entry_linkToVirtual(Method* method, intptr_t UNUSED, TRAPS);
a3e2f723f2a5 8000780: make Zero build and run with JDK8
twisti
parents: 6842
diff changeset
38 static int method_handle_entry_linkToInterface(Method* method, intptr_t UNUSED, TRAPS);
a3e2f723f2a5 8000780: make Zero build and run with JDK8
twisti
parents: 6842
diff changeset
39 static int method_handle_entry_invalid(Method* method, intptr_t UNUSED, TRAPS);