< prev index next >

src/share/vm/memory/oopFactory.hpp

Print this page
rev 4134 : 7178145: Change constMethodOop::_exception_table to optionally inlined u2 table.
Summary: Change constMethodOop::_exception_table to optionally inlined u2 table.
Reviewed-by: bdelsart, coleenp, kamg


  67 
  68   // Constant pools
  69   static constantPoolOop      new_constantPool     (int length,
  70                                                     bool is_conc_safe,
  71                                                     TRAPS);
  72   static constantPoolCacheOop new_constantPoolCache(int length,
  73                                                     TRAPS);
  74 
  75   // Instance classes
  76   static klassOop        new_instanceKlass(Symbol* name,
  77                                            int vtable_len, int itable_len,
  78                                            int static_field_size,
  79                                            unsigned int nonstatic_oop_map_count,
  80                                            ReferenceType rt, TRAPS);
  81 
  82   // Methods
  83 private:
  84   static constMethodOop  new_constMethod(int byte_code_size,
  85                                          int compressed_line_number_size,
  86                                          int localvariable_table_length,

  87                                          int checked_exceptions_length,
  88                                          bool is_conc_safe,
  89                                          TRAPS);
  90 public:
  91   // Set is_conc_safe for methods which cannot safely be
  92   // processed by concurrent GC even after the return of
  93   // the method.
  94   static methodOop       new_method(int byte_code_size,
  95                                     AccessFlags access_flags,
  96                                     int compressed_line_number_size,
  97                                     int localvariable_table_length,

  98                                     int checked_exceptions_length,
  99                                     bool is_conc_safe,
 100                                     TRAPS);
 101 
 102   // Method Data containers
 103   static methodDataOop   new_methodData(methodHandle method, TRAPS);
 104 
 105   // System object arrays
 106   static objArrayOop     new_system_objArray(int length, TRAPS);
 107 
 108   // Regular object arrays
 109   static objArrayOop     new_objArray(klassOop klass, int length, TRAPS);
 110 
 111   // For compiled ICs
 112   static compiledICHolderOop new_compiledICHolder(methodHandle method, KlassHandle klass, TRAPS);
 113 };
 114 
 115 #endif // SHARE_VM_MEMORY_OOPFACTORY_HPP


  67 
  68   // Constant pools
  69   static constantPoolOop      new_constantPool     (int length,
  70                                                     bool is_conc_safe,
  71                                                     TRAPS);
  72   static constantPoolCacheOop new_constantPoolCache(int length,
  73                                                     TRAPS);
  74 
  75   // Instance classes
  76   static klassOop        new_instanceKlass(Symbol* name,
  77                                            int vtable_len, int itable_len,
  78                                            int static_field_size,
  79                                            unsigned int nonstatic_oop_map_count,
  80                                            ReferenceType rt, TRAPS);
  81 
  82   // Methods
  83 private:
  84   static constMethodOop  new_constMethod(int byte_code_size,
  85                                          int compressed_line_number_size,
  86                                          int localvariable_table_length,
  87                                          int exception_table_length,
  88                                          int checked_exceptions_length,
  89                                          bool is_conc_safe,
  90                                          TRAPS);
  91 public:
  92   // Set is_conc_safe for methods which cannot safely be
  93   // processed by concurrent GC even after the return of
  94   // the method.
  95   static methodOop       new_method(int byte_code_size,
  96                                     AccessFlags access_flags,
  97                                     int compressed_line_number_size,
  98                                     int localvariable_table_length,
  99                                     int exception_table_length,
 100                                     int checked_exceptions_length,
 101                                     bool is_conc_safe,
 102                                     TRAPS);
 103 
 104   // Method Data containers
 105   static methodDataOop   new_methodData(methodHandle method, TRAPS);
 106 
 107   // System object arrays
 108   static objArrayOop     new_system_objArray(int length, TRAPS);
 109 
 110   // Regular object arrays
 111   static objArrayOop     new_objArray(klassOop klass, int length, TRAPS);
 112 
 113   // For compiled ICs
 114   static compiledICHolderOop new_compiledICHolder(methodHandle method, KlassHandle klass, TRAPS);
 115 };
 116 
 117 #endif // SHARE_VM_MEMORY_OOPFACTORY_HPP
< prev index next >