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_OOPS_CPCACHEOOP_HPP |
|
26 #define SHARE_VM_OOPS_CPCACHEOOP_HPP |
|
27 |
|
28 #include "interpreter/bytecodes.hpp" |
|
29 #include "memory/allocation.hpp" |
|
30 #include "oops/arrayOop.hpp" |
|
31 #include "utilities/array.hpp" |
24 |
32 |
25 // A ConstantPoolCacheEntry describes an individual entry of the constant |
33 // A ConstantPoolCacheEntry describes an individual entry of the constant |
26 // pool cache. There's 2 principal kinds of entries: field entries for in- |
34 // pool cache. There's 2 principal kinds of entries: field entries for in- |
27 // stance & static field access, and method entries for invokes. Some of |
35 // stance & static field access, and method entries for invokes. Some of |
28 // the entry layout is shared and looks as follows: |
36 // the entry layout is shared and looks as follows: |
404 // printed the klass name so that other routines in the adjust_* |
412 // printed the klass name so that other routines in the adjust_* |
405 // group don't print the klass name. |
413 // group don't print the klass name. |
406 void adjust_method_entries(methodOop* old_methods, methodOop* new_methods, |
414 void adjust_method_entries(methodOop* old_methods, methodOop* new_methods, |
407 int methods_length, bool * trace_name_printed); |
415 int methods_length, bool * trace_name_printed); |
408 }; |
416 }; |
|
417 |
|
418 #endif // SHARE_VM_OOPS_CPCACHEOOP_HPP |