src/share/vm/memory/oopFactory.hpp

Print this page




  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                                            AccessFlags access_flags,
  81                                            ReferenceType rt,
  82                                            KlassHandle host_klass, TRAPS);
  83 
  84   // Methods
  85 private:
  86   static constMethodOop  new_constMethod(int byte_code_size,
  87                                          int compressed_line_number_size,
  88                                          int localvariable_table_length,

  89                                          int checked_exceptions_length,
  90                                          bool is_conc_safe,
  91                                          TRAPS);
  92 public:
  93   // Set is_conc_safe for methods which cannot safely be
  94   // processed by concurrent GC even after the return of
  95   // the method.
  96   static methodOop       new_method(int byte_code_size,
  97                                     AccessFlags access_flags,
  98                                     int compressed_line_number_size,
  99                                     int localvariable_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


  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                                            AccessFlags access_flags,
  81                                            ReferenceType rt,
  82                                            KlassHandle host_klass, TRAPS);
  83 
  84   // Methods
  85 private:
  86   static constMethodOop  new_constMethod(int byte_code_size,
  87                                          int compressed_line_number_size,
  88                                          int localvariable_table_length,
  89                                          int exception_table_length,
  90                                          int checked_exceptions_length,
  91                                          bool is_conc_safe,
  92                                          TRAPS);
  93 public:
  94   // Set is_conc_safe for methods which cannot safely be
  95   // processed by concurrent GC even after the return of
  96   // the method.
  97   static methodOop       new_method(int byte_code_size,
  98                                     AccessFlags access_flags,
  99                                     int compressed_line_number_size,
 100                                     int localvariable_table_length,
 101                                     int exception_table_length,
 102                                     int checked_exceptions_length,
 103                                     bool is_conc_safe,
 104                                     TRAPS);
 105 
 106   // Method Data containers
 107   static methodDataOop   new_methodData(methodHandle method, TRAPS);
 108 
 109   // System object arrays
 110   static objArrayOop     new_system_objArray(int length, TRAPS);
 111 
 112   // Regular object arrays
 113   static objArrayOop     new_objArray(klassOop klass, int length, TRAPS);
 114 
 115   // For compiled ICs
 116   static compiledICHolderOop new_compiledICHolder(methodHandle method, KlassHandle klass, TRAPS);
 117 };
 118 
 119 #endif // SHARE_VM_MEMORY_OOPFACTORY_HPP