equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. |
3 * Copyright 2008 Red Hat, Inc. |
3 * Copyright 2008 Red Hat, Inc. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 * |
5 * |
6 * This code is free software; you can redistribute it and/or modify it |
6 * This code is free software; you can redistribute it and/or modify it |
7 * under the terms of the GNU General Public License version 2 only, as |
7 * under the terms of the GNU General Public License version 2 only, as |
21 * or visit www.oracle.com if you need additional information or have any |
21 * or visit www.oracle.com if you need additional information or have any |
22 * questions. |
22 * questions. |
23 * |
23 * |
24 */ |
24 */ |
25 |
25 |
26 #include "incls/_precompiled.incl" |
26 #include "precompiled.hpp" |
27 #include "incls/_nativeInst_zero.cpp.incl" |
27 #include "assembler_zero.inline.hpp" |
|
28 #include "memory/resourceArea.hpp" |
|
29 #include "nativeInst_zero.hpp" |
|
30 #include "oops/oop.inline.hpp" |
|
31 #include "runtime/handles.hpp" |
|
32 #include "runtime/sharedRuntime.hpp" |
|
33 #include "runtime/stubRoutines.hpp" |
|
34 #include "utilities/ostream.hpp" |
|
35 #ifdef COMPILER1 |
|
36 #include "c1/c1_Runtime1.hpp" |
|
37 #endif |
28 |
38 |
29 // This method is called by nmethod::make_not_entrant_or_zombie to |
39 // This method is called by nmethod::make_not_entrant_or_zombie to |
30 // insert a jump to SharedRuntime::get_handle_wrong_method_stub() |
40 // insert a jump to SharedRuntime::get_handle_wrong_method_stub() |
31 // (dest) at the start of a compiled method (verified_entry) to avoid |
41 // (dest) at the start of a compiled method (verified_entry) to avoid |
32 // a race where a method is invoked while being made non-entrant. |
42 // a race where a method is invoked while being made non-entrant. |