comparison src/share/vm/runtime/relocator.hpp @ 1972:f95d63e2154a

6989984: Use standard include model for Hospot Summary: Replaced MakeDeps and the includeDB files with more standardized solutions. Reviewed-by: coleenp, kvn, kamg
author stefank
date Tue, 23 Nov 2010 13:22:55 -0800
parents a4c7fe54bf3f
children 8012aa3ccede
comparison
equal deleted inserted replaced
1971:e33f46fc48ed 1972:f95d63e2154a
1 /* 1 /*
2 * Copyright (c) 1997, 2004, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2010, 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.
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any 20 * or visit www.oracle.com if you need additional information or have any
21 * questions. 21 * questions.
22 * 22 *
23 */ 23 */
24
25 #ifndef SHARE_VM_RUNTIME_RELOCATOR_HPP
26 #define SHARE_VM_RUNTIME_RELOCATOR_HPP
27
28 #include "interpreter/bytecodes.hpp"
29 #include "oops/methodOop.hpp"
30 #ifdef TARGET_ARCH_x86
31 # include "bytes_x86.hpp"
32 #endif
33 #ifdef TARGET_ARCH_sparc
34 # include "bytes_sparc.hpp"
35 #endif
36 #ifdef TARGET_ARCH_zero
37 # include "bytes_zero.hpp"
38 #endif
24 39
25 // This code has been converted from the 1.1E java virtual machine 40 // This code has been converted from the 1.1E java virtual machine
26 // Thanks to the JavaTopics group for using the code 41 // Thanks to the JavaTopics group for using the code
27 42
28 class ChangeItem; 43 class ChangeItem;
115 void notify(int bci, int delta, int new_code_length) { 130 void notify(int bci, int delta, int new_code_length) {
116 if (_listener != NULL) 131 if (_listener != NULL)
117 _listener->relocated(bci, delta, new_code_length); 132 _listener->relocated(bci, delta, new_code_length);
118 } 133 }
119 }; 134 };
135
136 #endif // SHARE_VM_RUNTIME_RELOCATOR_HPP