comparison src/share/vm/runtime/vmStructs.cpp @ 6275:957c266d8bc5

Merge with http://hg.openjdk.java.net/hsx/hsx24/hotspot/
author Doug Simon <doug.simon@oracle.com>
date Tue, 21 Aug 2012 10:39:19 +0200
parents 70f715dfbb41 1d7922586cf6
children c38f13903fdf
comparison
equal deleted inserted replaced
5891:fd8832ae511d 6275:957c266d8bc5
42 #include "code/pcDesc.hpp" 42 #include "code/pcDesc.hpp"
43 #include "code/stubs.hpp" 43 #include "code/stubs.hpp"
44 #include "code/vmreg.hpp" 44 #include "code/vmreg.hpp"
45 #include "compiler/oopMap.hpp" 45 #include "compiler/oopMap.hpp"
46 #include "compiler/compileBroker.hpp" 46 #include "compiler/compileBroker.hpp"
47 #include "gc_implementation/concurrentMarkSweep/freeBlockDictionary.hpp"
48 #include "gc_implementation/shared/immutableSpace.hpp" 47 #include "gc_implementation/shared/immutableSpace.hpp"
49 #include "gc_implementation/shared/markSweep.hpp" 48 #include "gc_implementation/shared/markSweep.hpp"
50 #include "gc_implementation/shared/mutableSpace.hpp" 49 #include "gc_implementation/shared/mutableSpace.hpp"
51 #include "gc_interface/collectedHeap.hpp" 50 #include "gc_interface/collectedHeap.hpp"
52 #include "interpreter/bytecodeInterpreter.hpp" 51 #include "interpreter/bytecodeInterpreter.hpp"
53 #include "interpreter/bytecodes.hpp" 52 #include "interpreter/bytecodes.hpp"
54 #include "interpreter/interpreter.hpp" 53 #include "interpreter/interpreter.hpp"
55 #include "memory/cardTableRS.hpp" 54 #include "memory/cardTableRS.hpp"
56 #include "memory/compactPermGen.hpp" 55 #include "memory/compactPermGen.hpp"
57 #include "memory/defNewGeneration.hpp" 56 #include "memory/defNewGeneration.hpp"
57 #include "memory/freeBlockDictionary.hpp"
58 #include "memory/genCollectedHeap.hpp" 58 #include "memory/genCollectedHeap.hpp"
59 #include "memory/generation.hpp" 59 #include "memory/generation.hpp"
60 #include "memory/generationSpec.hpp" 60 #include "memory/generationSpec.hpp"
61 #include "memory/heap.hpp" 61 #include "memory/heap.hpp"
62 #include "memory/permGen.hpp" 62 #include "memory/permGen.hpp"
233 // HotSpotJavaTypeDataBase.java, which parses the type strings. 233 // HotSpotJavaTypeDataBase.java, which parses the type strings.
234 234
235 #ifndef REG_COUNT 235 #ifndef REG_COUNT
236 #define REG_COUNT 0 236 #define REG_COUNT 0
237 #endif 237 #endif
238
239 // whole purpose of this function is to work around bug c++/27724 in gcc 4.1.1 238 // whole purpose of this function is to work around bug c++/27724 in gcc 4.1.1
240 // with optimization turned on it doesn't affect produced code 239 // with optimization turned on it doesn't affect produced code
241 static inline uint64_t cast_uint64_t(size_t x) 240 static inline uint64_t cast_uint64_t(size_t x)
242 { 241 {
243 return x; 242 return x;
244 } 243 }
245 244
245
246 typedef HashtableEntry<intptr_t, mtInternal> IntptrHashtableEntry;
247 typedef Hashtable<intptr_t, mtInternal> IntptrHashtable;
248 typedef Hashtable<Symbol*, mtSymbol> SymbolHashtable;
249 typedef HashtableEntry<Symbol*, mtClass> SymbolHashtableEntry;
250 typedef Hashtable<oop, mtSymbol> StringHashtable;
251 typedef TwoOopHashtable<klassOop, mtClass> klassOopTwoOopHashtable;
252 typedef Hashtable<klassOop, mtClass> klassOopHashtable;
253 typedef HashtableEntry<klassOop, mtClass> klassHashtableEntry;
254 typedef TwoOopHashtable<Symbol*, mtClass> SymbolTwoOopHashtable;
246 255
247 //-------------------------------------------------------------------------------- 256 //--------------------------------------------------------------------------------
248 // VM_STRUCTS 257 // VM_STRUCTS
249 // 258 //
250 // This list enumerates all of the fields the serviceability agent 259 // This list enumerates all of the fields the serviceability agent
290 nonstatic_field(instanceKlass, _array_klasses, klassOop) \ 299 nonstatic_field(instanceKlass, _array_klasses, klassOop) \
291 nonstatic_field(instanceKlass, _methods, objArrayOop) \ 300 nonstatic_field(instanceKlass, _methods, objArrayOop) \
292 nonstatic_field(instanceKlass, _method_ordering, typeArrayOop) \ 301 nonstatic_field(instanceKlass, _method_ordering, typeArrayOop) \
293 nonstatic_field(instanceKlass, _local_interfaces, objArrayOop) \ 302 nonstatic_field(instanceKlass, _local_interfaces, objArrayOop) \
294 nonstatic_field(instanceKlass, _transitive_interfaces, objArrayOop) \ 303 nonstatic_field(instanceKlass, _transitive_interfaces, objArrayOop) \
295 nonstatic_field(instanceKlass, _nof_implementors, int) \
296 nonstatic_field(instanceKlass, _implementors[0], klassOop) \
297 nonstatic_field(instanceKlass, _fields, typeArrayOop) \ 304 nonstatic_field(instanceKlass, _fields, typeArrayOop) \
298 nonstatic_field(instanceKlass, _java_fields_count, u2) \ 305 nonstatic_field(instanceKlass, _java_fields_count, u2) \
299 nonstatic_field(instanceKlass, _constants, constantPoolOop) \ 306 nonstatic_field(instanceKlass, _constants, constantPoolOop) \
300 nonstatic_field(instanceKlass, _class_loader, oop) \ 307 nonstatic_field(instanceKlass, _class_loader, oop) \
301 nonstatic_field(instanceKlass, _protection_domain, oop) \ 308 nonstatic_field(instanceKlass, _protection_domain, oop) \
302 nonstatic_field(instanceKlass, _signers, objArrayOop) \ 309 nonstatic_field(instanceKlass, _signers, objArrayOop) \
303 nonstatic_field(instanceKlass, _source_file_name, Symbol*) \ 310 nonstatic_field(instanceKlass, _source_file_name, Symbol*) \
304 nonstatic_field(instanceKlass, _source_debug_extension, Symbol*) \ 311 nonstatic_field(instanceKlass, _source_debug_extension, char*) \
305 nonstatic_field(instanceKlass, _inner_classes, typeArrayOop) \ 312 nonstatic_field(instanceKlass, _inner_classes, typeArrayOop) \
306 nonstatic_field(instanceKlass, _nonstatic_field_size, int) \ 313 nonstatic_field(instanceKlass, _nonstatic_field_size, int) \
307 nonstatic_field(instanceKlass, _static_field_size, int) \ 314 nonstatic_field(instanceKlass, _static_field_size, int) \
308 nonstatic_field(instanceKlass, _static_oop_field_count, u2) \ 315 nonstatic_field(instanceKlass, _static_oop_field_count, u2) \
309 nonstatic_field(instanceKlass, _nonstatic_oop_map_size, int) \ 316 nonstatic_field(instanceKlass, _nonstatic_oop_map_size, int) \
358 nonstatic_field(methodDataOopDesc, _eflags, intx) \ 365 nonstatic_field(methodDataOopDesc, _eflags, intx) \
359 nonstatic_field(methodDataOopDesc, _arg_local, intx) \ 366 nonstatic_field(methodDataOopDesc, _arg_local, intx) \
360 nonstatic_field(methodDataOopDesc, _arg_stack, intx) \ 367 nonstatic_field(methodDataOopDesc, _arg_stack, intx) \
361 nonstatic_field(methodDataOopDesc, _arg_returned, intx) \ 368 nonstatic_field(methodDataOopDesc, _arg_returned, intx) \
362 nonstatic_field(methodOopDesc, _constMethod, constMethodOop) \ 369 nonstatic_field(methodOopDesc, _constMethod, constMethodOop) \
363 nonstatic_field(methodOopDesc, _constants, constantPoolOop) \
364 nonstatic_field(methodOopDesc, _method_data, methodDataOop) \ 370 nonstatic_field(methodOopDesc, _method_data, methodDataOop) \
365 nonstatic_field(methodOopDesc, _interpreter_invocation_count, int) \ 371 nonstatic_field(methodOopDesc, _interpreter_invocation_count, int) \
366 nonstatic_field(methodOopDesc, _access_flags, AccessFlags) \ 372 nonstatic_field(methodOopDesc, _access_flags, AccessFlags) \
367 nonstatic_field(methodOopDesc, _vtable_index, int) \ 373 nonstatic_field(methodOopDesc, _vtable_index, int) \
368 nonstatic_field(methodOopDesc, _method_size, u2) \ 374 nonstatic_field(methodOopDesc, _method_size, u2) \
378 nonstatic_field(methodOopDesc, _i2i_entry, address) \ 384 nonstatic_field(methodOopDesc, _i2i_entry, address) \
379 nonstatic_field(methodOopDesc, _adapter, AdapterHandlerEntry*) \ 385 nonstatic_field(methodOopDesc, _adapter, AdapterHandlerEntry*) \
380 volatile_nonstatic_field(methodOopDesc, _from_compiled_entry, address) \ 386 volatile_nonstatic_field(methodOopDesc, _from_compiled_entry, address) \
381 volatile_nonstatic_field(methodOopDesc, _from_interpreted_entry, address) \ 387 volatile_nonstatic_field(methodOopDesc, _from_interpreted_entry, address) \
382 volatile_nonstatic_field(constMethodOopDesc, _fingerprint, uint64_t) \ 388 volatile_nonstatic_field(constMethodOopDesc, _fingerprint, uint64_t) \
383 nonstatic_field(constMethodOopDesc, _method, methodOop) \ 389 nonstatic_field(constMethodOopDesc, _constants, constantPoolOop) \
384 nonstatic_field(constMethodOopDesc, _stackmap_data, typeArrayOop) \ 390 nonstatic_field(constMethodOopDesc, _stackmap_data, typeArrayOop) \
385 nonstatic_field(constMethodOopDesc, _exception_table, typeArrayOop) \
386 nonstatic_field(constMethodOopDesc, _constMethod_size, int) \ 391 nonstatic_field(constMethodOopDesc, _constMethod_size, int) \
387 nonstatic_field(constMethodOopDesc, _interpreter_kind, jbyte) \ 392 nonstatic_field(constMethodOopDesc, _interpreter_kind, jbyte) \
388 nonstatic_field(constMethodOopDesc, _flags, jbyte) \ 393 nonstatic_field(constMethodOopDesc, _flags, jbyte) \
389 nonstatic_field(constMethodOopDesc, _code_size, u2) \ 394 nonstatic_field(constMethodOopDesc, _code_size, u2) \
390 nonstatic_field(constMethodOopDesc, _name_index, u2) \ 395 nonstatic_field(constMethodOopDesc, _name_index, u2) \
417 nonstatic_field(LocalVariableTableElement, length, u2) \ 422 nonstatic_field(LocalVariableTableElement, length, u2) \
418 nonstatic_field(LocalVariableTableElement, name_cp_index, u2) \ 423 nonstatic_field(LocalVariableTableElement, name_cp_index, u2) \
419 nonstatic_field(LocalVariableTableElement, descriptor_cp_index, u2) \ 424 nonstatic_field(LocalVariableTableElement, descriptor_cp_index, u2) \
420 nonstatic_field(LocalVariableTableElement, signature_cp_index, u2) \ 425 nonstatic_field(LocalVariableTableElement, signature_cp_index, u2) \
421 nonstatic_field(LocalVariableTableElement, slot, u2) \ 426 nonstatic_field(LocalVariableTableElement, slot, u2) \
427 nonstatic_field(ExceptionTableElement, start_pc, u2) \
428 nonstatic_field(ExceptionTableElement, end_pc, u2) \
429 nonstatic_field(ExceptionTableElement, handler_pc, u2) \
430 nonstatic_field(ExceptionTableElement, catch_type_index, u2) \
422 nonstatic_field(BreakpointInfo, _orig_bytecode, Bytecodes::Code) \ 431 nonstatic_field(BreakpointInfo, _orig_bytecode, Bytecodes::Code) \
423 nonstatic_field(BreakpointInfo, _bci, int) \ 432 nonstatic_field(BreakpointInfo, _bci, int) \
424 nonstatic_field(BreakpointInfo, _name_index, u2) \ 433 nonstatic_field(BreakpointInfo, _name_index, u2) \
425 nonstatic_field(BreakpointInfo, _signature_index, u2) \ 434 nonstatic_field(BreakpointInfo, _signature_index, u2) \
426 nonstatic_field(BreakpointInfo, _next, BreakpointInfo*) \ 435 nonstatic_field(BreakpointInfo, _next, BreakpointInfo*) \
712 \ 721 \
713 /*******************/ \ 722 /*******************/ \
714 /* HashtableBucket */ \ 723 /* HashtableBucket */ \
715 /*******************/ \ 724 /*******************/ \
716 \ 725 \
717 nonstatic_field(HashtableBucket, _entry, BasicHashtableEntry*) \ 726 nonstatic_field(HashtableBucket<mtInternal>, _entry, BasicHashtableEntry<mtInternal>*) \
718 \ 727 \
719 /******************/ \ 728 /******************/ \
720 /* HashtableEntry */ \ 729 /* HashtableEntry */ \
721 /******************/ \ 730 /******************/ \
722 \ 731 \
723 nonstatic_field(BasicHashtableEntry, _next, BasicHashtableEntry*) \ 732 nonstatic_field(BasicHashtableEntry<mtInternal>, _next, BasicHashtableEntry<mtInternal>*) \
724 nonstatic_field(BasicHashtableEntry, _hash, unsigned int) \ 733 nonstatic_field(BasicHashtableEntry<mtInternal>, _hash, unsigned int) \
725 nonstatic_field(HashtableEntry<intptr_t>, _literal, intptr_t) \ 734 nonstatic_field(IntptrHashtableEntry, _literal, intptr_t) \
726 \ 735 \
727 /*************/ \ 736 /*************/ \
728 /* Hashtable */ \ 737 /* Hashtable */ \
729 /*************/ \ 738 /*************/ \
730 \ 739 \
731 nonstatic_field(BasicHashtable, _table_size, int) \ 740 nonstatic_field(BasicHashtable<mtInternal>, _table_size, int) \
732 nonstatic_field(BasicHashtable, _buckets, HashtableBucket*) \ 741 nonstatic_field(BasicHashtable<mtInternal>, _buckets, HashtableBucket<mtInternal>*) \
733 nonstatic_field(BasicHashtable, _free_list, BasicHashtableEntry*) \ 742 nonstatic_field(BasicHashtable<mtInternal>, _free_list, BasicHashtableEntry<mtInternal>*) \
734 nonstatic_field(BasicHashtable, _first_free_entry, char*) \ 743 nonstatic_field(BasicHashtable<mtInternal>, _first_free_entry, char*) \
735 nonstatic_field(BasicHashtable, _end_block, char*) \ 744 nonstatic_field(BasicHashtable<mtInternal>, _end_block, char*) \
736 nonstatic_field(BasicHashtable, _entry_size, int) \ 745 nonstatic_field(BasicHashtable<mtInternal>, _entry_size, int) \
737 \ 746 \
738 /*******************/ \ 747 /*******************/ \
739 /* DictionaryEntry */ \ 748 /* DictionaryEntry */ \
740 /*******************/ \ 749 /*******************/ \
741 \ 750 \
824 nonstatic_field(PcDesc, _flags, int) \ 833 nonstatic_field(PcDesc, _flags, int) \
825 \ 834 \
826 /***************************************************/ \ 835 /***************************************************/ \
827 /* CodeBlobs (NOTE: incomplete, but only a little) */ \ 836 /* CodeBlobs (NOTE: incomplete, but only a little) */ \
828 /***************************************************/ \ 837 /***************************************************/ \
829 \
830 X86_ONLY(nonstatic_field(MethodHandles::RicochetFrame, _sender_pc, address)) \
831 X86_ONLY(nonstatic_field(MethodHandles::RicochetFrame, _exact_sender_sp, intptr_t*)) \
832 X86_ONLY(nonstatic_field(MethodHandles::RicochetFrame, _sender_link, intptr_t*)) \
833 X86_ONLY(nonstatic_field(MethodHandles::RicochetFrame, _saved_args_base, intptr_t*)) \
834 \
835 static_field(SharedRuntime, _ricochet_blob, RicochetBlob*) \
836 \ 838 \
837 nonstatic_field(CodeBlob, _name, const char*) \ 839 nonstatic_field(CodeBlob, _name, const char*) \
838 nonstatic_field(CodeBlob, _size, int) \ 840 nonstatic_field(CodeBlob, _size, int) \
839 nonstatic_field(CodeBlob, _header_size, int) \ 841 nonstatic_field(CodeBlob, _header_size, int) \
840 nonstatic_field(CodeBlob, _relocation_size, int) \ 842 nonstatic_field(CodeBlob, _relocation_size, int) \
876 nonstatic_field(nmethod, _lock_count, jint) \ 878 nonstatic_field(nmethod, _lock_count, jint) \
877 nonstatic_field(nmethod, _stack_traversal_mark, long) \ 879 nonstatic_field(nmethod, _stack_traversal_mark, long) \
878 nonstatic_field(nmethod, _compile_id, int) \ 880 nonstatic_field(nmethod, _compile_id, int) \
879 nonstatic_field(nmethod, _exception_cache, ExceptionCache*) \ 881 nonstatic_field(nmethod, _exception_cache, ExceptionCache*) \
880 nonstatic_field(nmethod, _marked_for_deoptimization, bool) \ 882 nonstatic_field(nmethod, _marked_for_deoptimization, bool) \
881 \ 883 \
882 nonstatic_field(RicochetBlob, _bounce_offset, int) \ 884 unchecked_c2_static_field(Deoptimization, _trap_reason_name, void*) \
883 nonstatic_field(RicochetBlob, _exception_offset, int) \
884 \
885 unchecked_c2_static_field(Deoptimization, _trap_reason_name, void*) \
886 \ 885 \
887 /********************************/ \ 886 /********************************/ \
888 /* JavaCalls (NOTE: incomplete) */ \ 887 /* JavaCalls (NOTE: incomplete) */ \
889 /********************************/ \ 888 /********************************/ \
890 \ 889 \
1452 /* MethodOop-related data structures */ \ 1451 /* MethodOop-related data structures */ \
1453 /*************************************/ \ 1452 /*************************************/ \
1454 \ 1453 \
1455 declare_toplevel_type(CheckedExceptionElement) \ 1454 declare_toplevel_type(CheckedExceptionElement) \
1456 declare_toplevel_type(LocalVariableTableElement) \ 1455 declare_toplevel_type(LocalVariableTableElement) \
1456 declare_toplevel_type(ExceptionTableElement) \
1457 \ 1457 \
1458 /******************************************/ \ 1458 /******************************************/ \
1459 /* Generation and space hierarchies */ \ 1459 /* Generation and space hierarchies */ \
1460 /* (needed for run-time type information) */ \ 1460 /* (needed for run-time type information) */ \
1461 /******************************************/ \ 1461 /******************************************/ \
1539 \ 1539 \
1540 /*********************************/ \ 1540 /*********************************/ \
1541 /* SymbolTable, SystemDictionary */ \ 1541 /* SymbolTable, SystemDictionary */ \
1542 /*********************************/ \ 1542 /*********************************/ \
1543 \ 1543 \
1544 declare_toplevel_type(BasicHashtable) \ 1544 declare_toplevel_type(BasicHashtable<mtInternal>) \
1545 declare_type(Hashtable<intptr_t>, BasicHashtable) \ 1545 declare_type(IntptrHashtable, BasicHashtable<mtInternal>) \
1546 declare_type(SymbolTable, Hashtable<Symbol*>) \ 1546 declare_type(SymbolTable, SymbolHashtable) \
1547 declare_type(StringTable, Hashtable<oop>) \ 1547 declare_type(StringTable, StringHashtable) \
1548 declare_type(LoaderConstraintTable, Hashtable<klassOop>) \ 1548 declare_type(LoaderConstraintTable, klassOopHashtable) \
1549 declare_type(TwoOopHashtable<klassOop>, Hashtable<klassOop>) \ 1549 declare_type(klassOopTwoOopHashtable, klassOopHashtable) \
1550 declare_type(Dictionary, TwoOopHashtable<klassOop>) \ 1550 declare_type(Dictionary, klassOopTwoOopHashtable) \
1551 declare_type(PlaceholderTable, TwoOopHashtable<Symbol*>) \ 1551 declare_type(PlaceholderTable, SymbolTwoOopHashtable) \
1552 declare_toplevel_type(BasicHashtableEntry) \ 1552 declare_toplevel_type(BasicHashtableEntry<mtInternal>) \
1553 declare_type(HashtableEntry<intptr_t>, BasicHashtableEntry) \ 1553 declare_type(IntptrHashtableEntry, BasicHashtableEntry<mtInternal>) \
1554 declare_type(DictionaryEntry, HashtableEntry<klassOop>) \ 1554 declare_type(DictionaryEntry, klassHashtableEntry) \
1555 declare_type(PlaceholderEntry, HashtableEntry<Symbol*>) \ 1555 declare_type(PlaceholderEntry, SymbolHashtableEntry) \
1556 declare_type(LoaderConstraintEntry, HashtableEntry<klassOop>) \ 1556 declare_type(LoaderConstraintEntry, klassHashtableEntry) \
1557 declare_toplevel_type(HashtableBucket) \ 1557 declare_toplevel_type(HashtableBucket<mtInternal>) \
1558 declare_toplevel_type(SystemDictionary) \ 1558 declare_toplevel_type(SystemDictionary) \
1559 declare_toplevel_type(vmSymbols) \ 1559 declare_toplevel_type(vmSymbols) \
1560 declare_toplevel_type(ProtectionDomainEntry) \ 1560 declare_toplevel_type(ProtectionDomainEntry) \
1561 \ 1561 \
1562 declare_toplevel_type(GenericGrowableArray) \ 1562 declare_toplevel_type(GenericGrowableArray) \
1621 /*************************************************************/ \ 1621 /*************************************************************/ \
1622 /* CodeBlob hierarchy (needed for run-time type information) */ \ 1622 /* CodeBlob hierarchy (needed for run-time type information) */ \
1623 /*************************************************************/ \ 1623 /*************************************************************/ \
1624 \ 1624 \
1625 declare_toplevel_type(SharedRuntime) \ 1625 declare_toplevel_type(SharedRuntime) \
1626 X86_ONLY(declare_toplevel_type(MethodHandles::RicochetFrame)) \
1627 \ 1626 \
1628 declare_toplevel_type(CodeBlob) \ 1627 declare_toplevel_type(CodeBlob) \
1629 declare_type(BufferBlob, CodeBlob) \ 1628 declare_type(BufferBlob, CodeBlob) \
1630 declare_type(AdapterBlob, BufferBlob) \ 1629 declare_type(AdapterBlob, BufferBlob) \
1631 declare_type(MethodHandlesAdapterBlob, BufferBlob) \ 1630 declare_type(MethodHandlesAdapterBlob, BufferBlob) \
1632 declare_type(nmethod, CodeBlob) \ 1631 declare_type(nmethod, CodeBlob) \
1633 declare_type(RuntimeStub, CodeBlob) \ 1632 declare_type(RuntimeStub, CodeBlob) \
1634 declare_type(SingletonBlob, CodeBlob) \ 1633 declare_type(SingletonBlob, CodeBlob) \
1635 declare_type(SafepointBlob, SingletonBlob) \ 1634 declare_type(SafepointBlob, SingletonBlob) \
1636 declare_type(DeoptimizationBlob, SingletonBlob) \ 1635 declare_type(DeoptimizationBlob, SingletonBlob) \
1637 declare_type(RicochetBlob, SingletonBlob) \
1638 declare_c2_type(ExceptionBlob, SingletonBlob) \ 1636 declare_c2_type(ExceptionBlob, SingletonBlob) \
1639 declare_c2_type(UncommonTrapBlob, CodeBlob) \ 1637 declare_c2_type(UncommonTrapBlob, CodeBlob) \
1640 \ 1638 \
1641 /***************************************/ \ 1639 /***************************************/ \
1642 /* PcDesc and other compiled code info */ \ 1640 /* PcDesc and other compiled code info */ \
1876 declare_c2_type(StoreDNode, StoreNode) \ 1874 declare_c2_type(StoreDNode, StoreNode) \
1877 declare_c2_type(StorePNode, StoreNode) \ 1875 declare_c2_type(StorePNode, StoreNode) \
1878 declare_c2_type(StoreNNode, StoreNode) \ 1876 declare_c2_type(StoreNNode, StoreNode) \
1879 declare_c2_type(StoreCMNode, StoreNode) \ 1877 declare_c2_type(StoreCMNode, StoreNode) \
1880 declare_c2_type(LoadPLockedNode, LoadPNode) \ 1878 declare_c2_type(LoadPLockedNode, LoadPNode) \
1881 declare_c2_type(LoadLLockedNode, LoadLNode) \
1882 declare_c2_type(SCMemProjNode, ProjNode) \ 1879 declare_c2_type(SCMemProjNode, ProjNode) \
1883 declare_c2_type(LoadStoreNode, Node) \ 1880 declare_c2_type(LoadStoreNode, Node) \
1884 declare_c2_type(StorePConditionalNode, LoadStoreNode) \ 1881 declare_c2_type(StorePConditionalNode, LoadStoreNode) \
1885 declare_c2_type(StoreLConditionalNode, LoadStoreNode) \ 1882 declare_c2_type(StoreLConditionalNode, LoadStoreNode) \
1886 declare_c2_type(CompareAndSwapLNode, LoadStoreNode) \ 1883 declare_c2_type(CompareAndSwapLNode, LoadStoreNode) \
1946 declare_c2_type(PowDNode, Node) \ 1943 declare_c2_type(PowDNode, Node) \
1947 declare_c2_type(ReverseBytesINode, Node) \ 1944 declare_c2_type(ReverseBytesINode, Node) \
1948 declare_c2_type(ReverseBytesLNode, Node) \ 1945 declare_c2_type(ReverseBytesLNode, Node) \
1949 declare_c2_type(VectorNode, Node) \ 1946 declare_c2_type(VectorNode, Node) \
1950 declare_c2_type(AddVBNode, VectorNode) \ 1947 declare_c2_type(AddVBNode, VectorNode) \
1951 declare_c2_type(AddVCNode, VectorNode) \
1952 declare_c2_type(AddVSNode, VectorNode) \ 1948 declare_c2_type(AddVSNode, VectorNode) \
1953 declare_c2_type(AddVINode, VectorNode) \ 1949 declare_c2_type(AddVINode, VectorNode) \
1954 declare_c2_type(AddVLNode, VectorNode) \ 1950 declare_c2_type(AddVLNode, VectorNode) \
1955 declare_c2_type(AddVFNode, VectorNode) \ 1951 declare_c2_type(AddVFNode, VectorNode) \
1956 declare_c2_type(AddVDNode, VectorNode) \ 1952 declare_c2_type(AddVDNode, VectorNode) \
1957 declare_c2_type(SubVBNode, VectorNode) \ 1953 declare_c2_type(SubVBNode, VectorNode) \
1958 declare_c2_type(SubVCNode, VectorNode) \
1959 declare_c2_type(SubVSNode, VectorNode) \ 1954 declare_c2_type(SubVSNode, VectorNode) \
1960 declare_c2_type(SubVINode, VectorNode) \ 1955 declare_c2_type(SubVINode, VectorNode) \
1961 declare_c2_type(SubVLNode, VectorNode) \ 1956 declare_c2_type(SubVLNode, VectorNode) \
1962 declare_c2_type(SubVFNode, VectorNode) \ 1957 declare_c2_type(SubVFNode, VectorNode) \
1963 declare_c2_type(SubVDNode, VectorNode) \ 1958 declare_c2_type(SubVDNode, VectorNode) \
1964 declare_c2_type(MulVFNode, VectorNode) \ 1959 declare_c2_type(MulVFNode, VectorNode) \
1965 declare_c2_type(MulVDNode, VectorNode) \ 1960 declare_c2_type(MulVDNode, VectorNode) \
1966 declare_c2_type(DivVFNode, VectorNode) \ 1961 declare_c2_type(DivVFNode, VectorNode) \
1967 declare_c2_type(DivVDNode, VectorNode) \ 1962 declare_c2_type(DivVDNode, VectorNode) \
1968 declare_c2_type(LShiftVBNode, VectorNode) \ 1963 declare_c2_type(LShiftVBNode, VectorNode) \
1969 declare_c2_type(LShiftVCNode, VectorNode) \
1970 declare_c2_type(LShiftVSNode, VectorNode) \ 1964 declare_c2_type(LShiftVSNode, VectorNode) \
1971 declare_c2_type(LShiftVINode, VectorNode) \ 1965 declare_c2_type(LShiftVINode, VectorNode) \
1972 declare_c2_type(URShiftVBNode, VectorNode) \ 1966 declare_c2_type(RShiftVBNode, VectorNode) \
1973 declare_c2_type(URShiftVCNode, VectorNode) \ 1967 declare_c2_type(RShiftVSNode, VectorNode) \
1974 declare_c2_type(URShiftVSNode, VectorNode) \ 1968 declare_c2_type(RShiftVINode, VectorNode) \
1975 declare_c2_type(URShiftVINode, VectorNode) \
1976 declare_c2_type(AndVNode, VectorNode) \ 1969 declare_c2_type(AndVNode, VectorNode) \
1977 declare_c2_type(OrVNode, VectorNode) \ 1970 declare_c2_type(OrVNode, VectorNode) \
1978 declare_c2_type(XorVNode, VectorNode) \ 1971 declare_c2_type(XorVNode, VectorNode) \
1979 declare_c2_type(VectorLoadNode, LoadNode) \ 1972 declare_c2_type(LoadVectorNode, LoadNode) \
1980 declare_c2_type(Load16BNode, VectorLoadNode) \ 1973 declare_c2_type(StoreVectorNode, StoreNode) \
1981 declare_c2_type(Load8BNode, VectorLoadNode) \ 1974 declare_c2_type(ReplicateBNode, VectorNode) \
1982 declare_c2_type(Load4BNode, VectorLoadNode) \ 1975 declare_c2_type(ReplicateSNode, VectorNode) \
1983 declare_c2_type(Load8CNode, VectorLoadNode) \ 1976 declare_c2_type(ReplicateINode, VectorNode) \
1984 declare_c2_type(Load4CNode, VectorLoadNode) \ 1977 declare_c2_type(ReplicateLNode, VectorNode) \
1985 declare_c2_type(Load2CNode, VectorLoadNode) \ 1978 declare_c2_type(ReplicateFNode, VectorNode) \
1986 declare_c2_type(Load8SNode, VectorLoadNode) \ 1979 declare_c2_type(ReplicateDNode, VectorNode) \
1987 declare_c2_type(Load4SNode, VectorLoadNode) \
1988 declare_c2_type(Load2SNode, VectorLoadNode) \
1989 declare_c2_type(Load4INode, VectorLoadNode) \
1990 declare_c2_type(Load2INode, VectorLoadNode) \
1991 declare_c2_type(Load2LNode, VectorLoadNode) \
1992 declare_c2_type(Load4FNode, VectorLoadNode) \
1993 declare_c2_type(Load2FNode, VectorLoadNode) \
1994 declare_c2_type(Load2DNode, VectorLoadNode) \
1995 declare_c2_type(VectorStoreNode, StoreNode) \
1996 declare_c2_type(Store16BNode, VectorStoreNode) \
1997 declare_c2_type(Store8BNode, VectorStoreNode) \
1998 declare_c2_type(Store4BNode, VectorStoreNode) \
1999 declare_c2_type(Store8CNode, VectorStoreNode) \
2000 declare_c2_type(Store4CNode, VectorStoreNode) \
2001 declare_c2_type(Store2CNode, VectorStoreNode) \
2002 declare_c2_type(Store4INode, VectorStoreNode) \
2003 declare_c2_type(Store2INode, VectorStoreNode) \
2004 declare_c2_type(Store2LNode, VectorStoreNode) \
2005 declare_c2_type(Store4FNode, VectorStoreNode) \
2006 declare_c2_type(Store2FNode, VectorStoreNode) \
2007 declare_c2_type(Store2DNode, VectorStoreNode) \
2008 declare_c2_type(Replicate16BNode, VectorNode) \
2009 declare_c2_type(Replicate8BNode, VectorNode) \
2010 declare_c2_type(Replicate4BNode, VectorNode) \
2011 declare_c2_type(Replicate8CNode, VectorNode) \
2012 declare_c2_type(Replicate4CNode, VectorNode) \
2013 declare_c2_type(Replicate2CNode, VectorNode) \
2014 declare_c2_type(Replicate8SNode, VectorNode) \
2015 declare_c2_type(Replicate4SNode, VectorNode) \
2016 declare_c2_type(Replicate2SNode, VectorNode) \
2017 declare_c2_type(Replicate4INode, VectorNode) \
2018 declare_c2_type(Replicate2INode, VectorNode) \
2019 declare_c2_type(Replicate2LNode, VectorNode) \
2020 declare_c2_type(Replicate4FNode, VectorNode) \
2021 declare_c2_type(Replicate2FNode, VectorNode) \
2022 declare_c2_type(Replicate2DNode, VectorNode) \
2023 declare_c2_type(PackNode, VectorNode) \ 1980 declare_c2_type(PackNode, VectorNode) \
2024 declare_c2_type(PackBNode, PackNode) \ 1981 declare_c2_type(PackBNode, PackNode) \
2025 declare_c2_type(PackCNode, PackNode) \
2026 declare_c2_type(PackSNode, PackNode) \ 1982 declare_c2_type(PackSNode, PackNode) \
2027 declare_c2_type(PackINode, PackNode) \ 1983 declare_c2_type(PackINode, PackNode) \
2028 declare_c2_type(PackLNode, PackNode) \ 1984 declare_c2_type(PackLNode, PackNode) \
2029 declare_c2_type(PackFNode, PackNode) \ 1985 declare_c2_type(PackFNode, PackNode) \
2030 declare_c2_type(PackDNode, PackNode) \ 1986 declare_c2_type(PackDNode, PackNode) \
2031 declare_c2_type(Pack2x1BNode, PackNode) \ 1987 declare_c2_type(Pack2LNode, PackNode) \
2032 declare_c2_type(Pack2x2BNode, PackNode) \ 1988 declare_c2_type(Pack2DNode, PackNode) \
2033 declare_c2_type(ExtractNode, Node) \ 1989 declare_c2_type(ExtractNode, Node) \
2034 declare_c2_type(ExtractBNode, ExtractNode) \ 1990 declare_c2_type(ExtractBNode, ExtractNode) \
2035 declare_c2_type(ExtractCNode, ExtractNode) \
2036 declare_c2_type(ExtractSNode, ExtractNode) \ 1991 declare_c2_type(ExtractSNode, ExtractNode) \
2037 declare_c2_type(ExtractINode, ExtractNode) \ 1992 declare_c2_type(ExtractINode, ExtractNode) \
2038 declare_c2_type(ExtractLNode, ExtractNode) \ 1993 declare_c2_type(ExtractLNode, ExtractNode) \
2039 declare_c2_type(ExtractFNode, ExtractNode) \ 1994 declare_c2_type(ExtractFNode, ExtractNode) \
2040 declare_c2_type(ExtractDNode, ExtractNode) \ 1995 declare_c2_type(ExtractDNode, ExtractNode) \
2336 /********************************/ \ 2291 /********************************/ \
2337 \ 2292 \
2338 declare_constant(constMethodOopDesc::_has_linenumber_table) \ 2293 declare_constant(constMethodOopDesc::_has_linenumber_table) \
2339 declare_constant(constMethodOopDesc::_has_checked_exceptions) \ 2294 declare_constant(constMethodOopDesc::_has_checked_exceptions) \
2340 declare_constant(constMethodOopDesc::_has_localvariable_table) \ 2295 declare_constant(constMethodOopDesc::_has_localvariable_table) \
2296 declare_constant(constMethodOopDesc::_has_exception_table) \
2341 \ 2297 \
2342 /*************************************/ \ 2298 /*************************************/ \
2343 /* instanceKlass enum */ \ 2299 /* instanceKlass enum */ \
2344 /*************************************/ \ 2300 /*************************************/ \
2345 \ 2301 \
2346 declare_constant(instanceKlass::implementors_limit) \
2347 \ 2302 \
2348 /*************************************/ \ 2303 /*************************************/ \
2349 /* FieldInfo FieldOffset enum */ \ 2304 /* FieldInfo FieldOffset enum */ \
2350 /*************************************/ \ 2305 /*************************************/ \
2351 \ 2306 \
2353 declare_constant(FieldInfo::name_index_offset) \ 2308 declare_constant(FieldInfo::name_index_offset) \
2354 declare_constant(FieldInfo::signature_index_offset) \ 2309 declare_constant(FieldInfo::signature_index_offset) \
2355 declare_constant(FieldInfo::initval_index_offset) \ 2310 declare_constant(FieldInfo::initval_index_offset) \
2356 declare_constant(FieldInfo::low_offset) \ 2311 declare_constant(FieldInfo::low_offset) \
2357 declare_constant(FieldInfo::high_offset) \ 2312 declare_constant(FieldInfo::high_offset) \
2358 declare_constant(FieldInfo::generic_signature_offset) \
2359 declare_constant(FieldInfo::field_slots) \ 2313 declare_constant(FieldInfo::field_slots) \
2360 \ 2314 \
2361 /************************************************/ \ 2315 /************************************************/ \
2362 /* instanceKlass InnerClassAttributeOffset enum */ \ 2316 /* instanceKlass InnerClassAttributeOffset enum */ \
2363 /************************************************/ \ 2317 /************************************************/ \
2379 declare_constant(instanceKlass::being_initialized) \ 2333 declare_constant(instanceKlass::being_initialized) \
2380 declare_constant(instanceKlass::fully_initialized) \ 2334 declare_constant(instanceKlass::fully_initialized) \
2381 declare_constant(instanceKlass::initialization_error) \ 2335 declare_constant(instanceKlass::initialization_error) \
2382 \ 2336 \
2383 /*********************************/ \ 2337 /*********************************/ \
2384 /* Symbol* - symbol max length */ \ 2338 /* Symbol* - symbol max length */ \
2385 /*********************************/ \ 2339 /*********************************/ \
2386 \ 2340 \
2387 declare_constant(Symbol::max_symbol_length) \ 2341 declare_constant(Symbol::max_symbol_length) \
2388 \ 2342 \
2389 /*************************************************/ \ 2343 /*************************************************/ \
2392 \ 2346 \
2393 declare_constant(constantPoolOopDesc::_indy_bsm_offset) \ 2347 declare_constant(constantPoolOopDesc::_indy_bsm_offset) \
2394 declare_constant(constantPoolOopDesc::_indy_argc_offset) \ 2348 declare_constant(constantPoolOopDesc::_indy_argc_offset) \
2395 declare_constant(constantPoolOopDesc::_indy_argv_offset) \ 2349 declare_constant(constantPoolOopDesc::_indy_argv_offset) \
2396 \ 2350 \
2397 /*********************************************/ \ 2351 /********************************/ \
2398 /* ConstantPoolCacheEntry FlagBitValues enum */ \ 2352 /* ConstantPoolCacheEntry enums */ \
2399 /*********************************************/ \ 2353 /********************************/ \
2400 \ 2354 \
2401 declare_constant(ConstantPoolCacheEntry::hotSwapBit) \ 2355 declare_constant(ConstantPoolCacheEntry::is_volatile_shift) \
2402 declare_constant(ConstantPoolCacheEntry::methodInterface) \ 2356 declare_constant(ConstantPoolCacheEntry::is_final_shift) \
2403 declare_constant(ConstantPoolCacheEntry::volatileField) \ 2357 declare_constant(ConstantPoolCacheEntry::is_forced_virtual_shift) \
2404 declare_constant(ConstantPoolCacheEntry::vfinalMethod) \ 2358 declare_constant(ConstantPoolCacheEntry::is_vfinal_shift) \
2405 declare_constant(ConstantPoolCacheEntry::finalField) \ 2359 declare_constant(ConstantPoolCacheEntry::is_field_entry_shift) \
2406 \ 2360 declare_constant(ConstantPoolCacheEntry::tos_state_shift) \
2407 /******************************************/ \
2408 /* ConstantPoolCacheEntry FlagValues enum */ \
2409 /******************************************/ \
2410 \
2411 declare_constant(ConstantPoolCacheEntry::tosBits) \
2412 \ 2361 \
2413 /***************************************/ \ 2362 /***************************************/ \
2414 /* java_lang_Thread::ThreadStatus enum */ \ 2363 /* java_lang_Thread::ThreadStatus enum */ \
2415 /***************************************/ \ 2364 /***************************************/ \
2416 \ 2365 \