src/share/vm/runtime/vmStructs.cpp

Print this page
rev 2 : [mq]: wkk.patch


 435   /* SymbolTable */                                                                                                                  \
 436   /***************/                                                                                                                  \
 437                                                                                                                                      \
 438      static_field(SymbolTable,                  _the_table,                                   SymbolTable*)                          \
 439                                                                                                                                      \
 440   /***************/                                                                                                                  \
 441   /* StringTable */                                                                                                                  \
 442   /***************/                                                                                                                  \
 443                                                                                                                                      \
 444      static_field(StringTable,                  _the_table,                                   StringTable*)                          \
 445                                                                                                                                      \
 446   /********************/                                                                                                             \
 447   /* SystemDictionary */                                                                                                             \
 448   /********************/                                                                                                             \
 449                                                                                                                                      \
 450       static_field(SystemDictionary,            _dictionary,                                   Dictionary*)                          \
 451       static_field(SystemDictionary,            _placeholders,                                 PlaceholderTable*)                    \
 452       static_field(SystemDictionary,            _shared_dictionary,                            Dictionary*)                          \
 453       static_field(SystemDictionary,            _system_loader_lock_obj,                       oop)                                  \
 454       static_field(SystemDictionary,            _loader_constraints,                           LoaderConstraintTable*)               \
 455       static_field(SystemDictionary,            _object_klass,                                 klassOop)                             \
 456       static_field(SystemDictionary,            _string_klass,                                 klassOop)                             \
 457       static_field(SystemDictionary,            _class_klass,                                  klassOop)                             \
 458       static_field(SystemDictionary,            _cloneable_klass,                              klassOop)                             \
 459       static_field(SystemDictionary,            _classloader_klass,                            klassOop)                             \
 460       static_field(SystemDictionary,            _serializable_klass,                           klassOop)                             \
 461       static_field(SystemDictionary,            _system_klass,                                 klassOop)                             \
 462       static_field(SystemDictionary,            _throwable_klass,                              klassOop)                             \
 463       static_field(SystemDictionary,            _threaddeath_klass,                            klassOop)                             \
 464       static_field(SystemDictionary,            _error_klass,                                  klassOop)                             \
 465       static_field(SystemDictionary,            _exception_klass,                              klassOop)                             \
 466       static_field(SystemDictionary,            _runtime_exception_klass,                      klassOop)                             \
 467       static_field(SystemDictionary,            _classNotFoundException_klass,                 klassOop)                             \
 468       static_field(SystemDictionary,            _noClassDefFoundError_klass,                   klassOop)                             \
 469       static_field(SystemDictionary,            _linkageError_klass,                           klassOop)                             \
 470       static_field(SystemDictionary,            _classCastException_klass,                     klassOop)                             \
 471       static_field(SystemDictionary,            _arrayStoreException_klass,                    klassOop)                             \
 472       static_field(SystemDictionary,            _virtualMachineError_klass,                    klassOop)                             \
 473       static_field(SystemDictionary,            _outOfMemoryError_klass,                       klassOop)                             \
 474       static_field(SystemDictionary,            _StackOverflowError_klass,                     klassOop)                             \
 475       static_field(SystemDictionary,            _protectionDomain_klass,                       klassOop)                             \
 476       static_field(SystemDictionary,            _AccessControlContext_klass,                   klassOop)                             \
 477       static_field(SystemDictionary,            _reference_klass,                              klassOop)                             \
 478       static_field(SystemDictionary,            _soft_reference_klass,                         klassOop)                             \
 479       static_field(SystemDictionary,            _weak_reference_klass,                         klassOop)                             \
 480       static_field(SystemDictionary,            _final_reference_klass,                        klassOop)                             \
 481       static_field(SystemDictionary,            _phantom_reference_klass,                      klassOop)                             \
 482       static_field(SystemDictionary,            _finalizer_klass,                              klassOop)                             \
 483       static_field(SystemDictionary,            _thread_klass,                                 klassOop)                             \
 484       static_field(SystemDictionary,            _threadGroup_klass,                            klassOop)                             \
 485       static_field(SystemDictionary,            _properties_klass,                             klassOop)                             \
 486       static_field(SystemDictionary,            _stringBuffer_klass,                           klassOop)                             \
 487       static_field(SystemDictionary,            _vector_klass,                                 klassOop)                             \
 488       static_field(SystemDictionary,            _hashtable_klass,                              klassOop)                             \
 489       static_field(SystemDictionary,            _box_klasses[0],                               klassOop)                             \
 490       static_field(SystemDictionary,            _java_system_loader,                           oop)                                  \
 491                                                                                                                                      \
 492   /*******************/                                                                                                              \
 493   /* HashtableBucket */                                                                                                              \
 494   /*******************/                                                                                                              \
 495                                                                                                                                      \
 496   nonstatic_field(HashtableBucket,             _entry,                                        BasicHashtableEntry*)                  \
 497                                                                                                                                      \
 498   /******************/                                                                                                               \
 499   /* HashtableEntry */                                                                                                               \
 500   /******************/                                                                                                               \
 501                                                                                                                                      \
 502   nonstatic_field(BasicHashtableEntry,         _next,                                         BasicHashtableEntry*)                  \
 503   nonstatic_field(BasicHashtableEntry,         _hash,                                         unsigned int)                          \
 504   nonstatic_field(HashtableEntry,              _literal,                                      oop)                                   \
 505                                                                                                                                      \
 506   /*************/                                                                                                                    \
 507   /* Hashtable */                                                                                                                    \
 508   /*************/                                                                                                                    \


1378   declare_preprocessor_constant("PERFDATA_LITTLE_ENDIAN", PERFDATA_LITTLE_ENDIAN) \
1379                                                                           \
1380   /***************/                                                       \
1381   /* SymbolTable */                                                       \
1382   /***************/                                                       \
1383                                                                           \
1384   declare_constant(SymbolTable::symbol_table_size)                        \
1385                                                                           \
1386   /***************/                                                       \
1387   /* StringTable */                                                       \
1388   /***************/                                                       \
1389                                                                           \
1390   declare_constant(StringTable::string_table_size)                        \
1391                                                                           \
1392   /********************/                                                  \
1393   /* SystemDictionary */                                                  \
1394   /********************/                                                  \
1395                                                                           \
1396   declare_constant(SystemDictionary::_loader_constraint_size)             \
1397   declare_constant(SystemDictionary::_nof_buckets)                        \







1398                                                                           \
1399   /***********************************/                                   \
1400   /* LoaderConstraintTable constants */                                   \
1401   /***********************************/                                   \
1402                                                                           \
1403   declare_constant(LoaderConstraintTable::_loader_constraint_size)        \
1404   declare_constant(LoaderConstraintTable::_nof_buckets)                   \
1405                                                                           \
1406   /************************************************************/          \
1407   /* HotSpot specific JVM_ACC constants from global anon enum */          \
1408   /************************************************************/          \
1409                                                                           \
1410   declare_constant(JVM_ACC_WRITTEN_FLAGS)                                 \
1411   declare_constant(JVM_ACC_MONITOR_MATCH)                                 \
1412   declare_constant(JVM_ACC_HAS_MONITOR_BYTECODES)                         \
1413   declare_constant(JVM_ACC_HAS_LOOPS)                                     \
1414   declare_constant(JVM_ACC_LOOPS_FLAG_INIT)                               \
1415   declare_constant(JVM_ACC_QUEUED)                                        \
1416   declare_constant(JVM_ACC_NOT_OSR_COMPILABLE)                            \
1417   declare_constant(JVM_ACC_HAS_LINE_NUMBER_TABLE)                         \




 435   /* SymbolTable */                                                                                                                  \
 436   /***************/                                                                                                                  \
 437                                                                                                                                      \
 438      static_field(SymbolTable,                  _the_table,                                   SymbolTable*)                          \
 439                                                                                                                                      \
 440   /***************/                                                                                                                  \
 441   /* StringTable */                                                                                                                  \
 442   /***************/                                                                                                                  \
 443                                                                                                                                      \
 444      static_field(StringTable,                  _the_table,                                   StringTable*)                          \
 445                                                                                                                                      \
 446   /********************/                                                                                                             \
 447   /* SystemDictionary */                                                                                                             \
 448   /********************/                                                                                                             \
 449                                                                                                                                      \
 450       static_field(SystemDictionary,            _dictionary,                                   Dictionary*)                          \
 451       static_field(SystemDictionary,            _placeholders,                                 PlaceholderTable*)                    \
 452       static_field(SystemDictionary,            _shared_dictionary,                            Dictionary*)                          \
 453       static_field(SystemDictionary,            _system_loader_lock_obj,                       oop)                                  \
 454       static_field(SystemDictionary,            _loader_constraints,                           LoaderConstraintTable*)               \
 455       static_field(SystemDictionary,            _well_known_klasses[0],                        klassOop)                             \

































 456       static_field(SystemDictionary,            _box_klasses[0],                               klassOop)                             \
 457       static_field(SystemDictionary,            _java_system_loader,                           oop)                                  \
 458                                                                                                                                      \
 459   /*******************/                                                                                                              \
 460   /* HashtableBucket */                                                                                                              \
 461   /*******************/                                                                                                              \
 462                                                                                                                                      \
 463   nonstatic_field(HashtableBucket,             _entry,                                        BasicHashtableEntry*)                  \
 464                                                                                                                                      \
 465   /******************/                                                                                                               \
 466   /* HashtableEntry */                                                                                                               \
 467   /******************/                                                                                                               \
 468                                                                                                                                      \
 469   nonstatic_field(BasicHashtableEntry,         _next,                                         BasicHashtableEntry*)                  \
 470   nonstatic_field(BasicHashtableEntry,         _hash,                                         unsigned int)                          \
 471   nonstatic_field(HashtableEntry,              _literal,                                      oop)                                   \
 472                                                                                                                                      \
 473   /*************/                                                                                                                    \
 474   /* Hashtable */                                                                                                                    \
 475   /*************/                                                                                                                    \


1345   declare_preprocessor_constant("PERFDATA_LITTLE_ENDIAN", PERFDATA_LITTLE_ENDIAN) \
1346                                                                           \
1347   /***************/                                                       \
1348   /* SymbolTable */                                                       \
1349   /***************/                                                       \
1350                                                                           \
1351   declare_constant(SymbolTable::symbol_table_size)                        \
1352                                                                           \
1353   /***************/                                                       \
1354   /* StringTable */                                                       \
1355   /***************/                                                       \
1356                                                                           \
1357   declare_constant(StringTable::string_table_size)                        \
1358                                                                           \
1359   /********************/                                                  \
1360   /* SystemDictionary */                                                  \
1361   /********************/                                                  \
1362                                                                           \
1363   declare_constant(SystemDictionary::_loader_constraint_size)             \
1364   declare_constant(SystemDictionary::_nof_buckets)                        \
1365   /* these #foo numbers are enums used to index _well_known_klasses: */   \
1366   declare_preprocessor_constant("SystemDictionary::#object_klass",       SystemDictionary::WK_KLASS_ENUM_NAME(object_klass)) \
1367   declare_preprocessor_constant("SystemDictionary::#classloader_klass",  SystemDictionary::WK_KLASS_ENUM_NAME(classloader_klass)) \
1368   declare_preprocessor_constant("SystemDictionary::#string_klass",       SystemDictionary::WK_KLASS_ENUM_NAME(string_klass)) \
1369   declare_preprocessor_constant("SystemDictionary::#system_klass",       SystemDictionary::WK_KLASS_ENUM_NAME(system_klass)) \
1370   declare_preprocessor_constant("SystemDictionary::#thread_klass",       SystemDictionary::WK_KLASS_ENUM_NAME(thread_klass)) \
1371   declare_preprocessor_constant("SystemDictionary::#threadGroup_klass",  SystemDictionary::WK_KLASS_ENUM_NAME(threadGroup_klass)) \
1372                                                                           \
1373   /***********************************/                                   \
1374   /* LoaderConstraintTable constants */                                   \
1375   /***********************************/                                   \
1376                                                                           \
1377   declare_constant(LoaderConstraintTable::_loader_constraint_size)        \
1378   declare_constant(LoaderConstraintTable::_nof_buckets)                   \
1379                                                                           \
1380   /************************************************************/          \
1381   /* HotSpot specific JVM_ACC constants from global anon enum */          \
1382   /************************************************************/          \
1383                                                                           \
1384   declare_constant(JVM_ACC_WRITTEN_FLAGS)                                 \
1385   declare_constant(JVM_ACC_MONITOR_MATCH)                                 \
1386   declare_constant(JVM_ACC_HAS_MONITOR_BYTECODES)                         \
1387   declare_constant(JVM_ACC_HAS_LOOPS)                                     \
1388   declare_constant(JVM_ACC_LOOPS_FLAG_INIT)                               \
1389   declare_constant(JVM_ACC_QUEUED)                                        \
1390   declare_constant(JVM_ACC_NOT_OSR_COMPILABLE)                            \
1391   declare_constant(JVM_ACC_HAS_LINE_NUMBER_TABLE)                         \