Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/vmStructs.cpp @ 8031:927a311d00f9
8007320: NPG: move method annotations
Summary: allocate method annotations and attach to ConstMethod if present
Reviewed-by: dcubed, jiangli, sspitsyn, iklam
author | coleenp |
---|---|
date | Mon, 11 Feb 2013 14:06:22 -0500 |
parents | 1135141fb97e |
children | f82bcc429e8c |
comparison
equal
deleted
inserted
replaced
8030:f989aff6946f | 8031:927a311d00f9 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2000, 2013, 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. |
364 nonstatic_field(Method, _i2i_entry, address) \ | 364 nonstatic_field(Method, _i2i_entry, address) \ |
365 nonstatic_field(Method, _adapter, AdapterHandlerEntry*) \ | 365 nonstatic_field(Method, _adapter, AdapterHandlerEntry*) \ |
366 volatile_nonstatic_field(Method, _from_compiled_entry, address) \ | 366 volatile_nonstatic_field(Method, _from_compiled_entry, address) \ |
367 volatile_nonstatic_field(Method, _from_interpreted_entry, address) \ | 367 volatile_nonstatic_field(Method, _from_interpreted_entry, address) \ |
368 volatile_nonstatic_field(ConstMethod, _fingerprint, uint64_t) \ | 368 volatile_nonstatic_field(ConstMethod, _fingerprint, uint64_t) \ |
369 nonstatic_field(ConstMethod, _constants, ConstantPool*) \ | 369 nonstatic_field(ConstMethod, _constants, ConstantPool*) \ |
370 nonstatic_field(ConstMethod, _stackmap_data, Array<u1>*) \ | 370 nonstatic_field(ConstMethod, _stackmap_data, Array<u1>*) \ |
371 nonstatic_field(ConstMethod, _constMethod_size, int) \ | 371 nonstatic_field(ConstMethod, _constMethod_size, int) \ |
372 nonstatic_field(ConstMethod, _interpreter_kind, jbyte) \ | 372 nonstatic_field(ConstMethod, _flags, u2) \ |
373 nonstatic_field(ConstMethod, _flags, jbyte) \ | |
374 nonstatic_field(ConstMethod, _code_size, u2) \ | 373 nonstatic_field(ConstMethod, _code_size, u2) \ |
375 nonstatic_field(ConstMethod, _name_index, u2) \ | 374 nonstatic_field(ConstMethod, _name_index, u2) \ |
376 nonstatic_field(ConstMethod, _signature_index, u2) \ | 375 nonstatic_field(ConstMethod, _signature_index, u2) \ |
377 nonstatic_field(ConstMethod, _method_idnum, u2) \ | 376 nonstatic_field(ConstMethod, _method_idnum, u2) \ |
378 nonstatic_field(ConstMethod, _max_stack, u2) \ | 377 nonstatic_field(ConstMethod, _max_stack, u2) \ |
2259 declare_constant(Klass::_lh_array_tag_shift) \ | 2258 declare_constant(Klass::_lh_array_tag_shift) \ |
2260 declare_constant(Klass::_lh_array_tag_type_value) \ | 2259 declare_constant(Klass::_lh_array_tag_type_value) \ |
2261 declare_constant(Klass::_lh_array_tag_obj_value) \ | 2260 declare_constant(Klass::_lh_array_tag_obj_value) \ |
2262 \ | 2261 \ |
2263 /********************************/ \ | 2262 /********************************/ \ |
2264 /* ConstMethod anon-enum */ \ | 2263 /* ConstMethod anon-enum */ \ |
2265 /********************************/ \ | 2264 /********************************/ \ |
2266 \ | 2265 \ |
2267 declare_constant(ConstMethod::_has_linenumber_table) \ | 2266 declare_constant(ConstMethod::_has_linenumber_table) \ |
2268 declare_constant(ConstMethod::_has_checked_exceptions) \ | 2267 declare_constant(ConstMethod::_has_checked_exceptions) \ |
2269 declare_constant(ConstMethod::_has_localvariable_table) \ | 2268 declare_constant(ConstMethod::_has_localvariable_table) \ |
2270 declare_constant(ConstMethod::_has_exception_table) \ | 2269 declare_constant(ConstMethod::_has_exception_table) \ |
2271 declare_constant(ConstMethod::_has_generic_signature) \ | 2270 declare_constant(ConstMethod::_has_generic_signature) \ |
2271 declare_constant(ConstMethod::_has_method_annotations) \ | |
2272 declare_constant(ConstMethod::_has_parameter_annotations) \ | |
2273 declare_constant(ConstMethod::_has_default_annotations) \ | |
2274 declare_constant(ConstMethod::_has_type_annotations) \ | |
2272 \ | 2275 \ |
2273 /*************************************/ \ | 2276 /*************************************/ \ |
2274 /* InstanceKlass enum */ \ | 2277 /* InstanceKlass enum */ \ |
2275 /*************************************/ \ | 2278 /*************************************/ \ |
2276 \ | 2279 \ |