comparison src/share/vm/memory/oopFactory.hpp @ 6213:8150fa46d2ed

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
author jiangli
date Tue, 26 Jun 2012 19:08:44 -0400
parents 8bafad97cd26
children da91efe96a93
comparison
equal deleted inserted replaced
6177:06320b1578cb 6213:8150fa46d2ed
84 // Methods 84 // Methods
85 private: 85 private:
86 static constMethodOop new_constMethod(int byte_code_size, 86 static constMethodOop new_constMethod(int byte_code_size,
87 int compressed_line_number_size, 87 int compressed_line_number_size,
88 int localvariable_table_length, 88 int localvariable_table_length,
89 int exception_table_length,
89 int checked_exceptions_length, 90 int checked_exceptions_length,
90 bool is_conc_safe, 91 bool is_conc_safe,
91 TRAPS); 92 TRAPS);
92 public: 93 public:
93 // Set is_conc_safe for methods which cannot safely be 94 // Set is_conc_safe for methods which cannot safely be
95 // the method. 96 // the method.
96 static methodOop new_method(int byte_code_size, 97 static methodOop new_method(int byte_code_size,
97 AccessFlags access_flags, 98 AccessFlags access_flags,
98 int compressed_line_number_size, 99 int compressed_line_number_size,
99 int localvariable_table_length, 100 int localvariable_table_length,
101 int exception_table_length,
100 int checked_exceptions_length, 102 int checked_exceptions_length,
101 bool is_conc_safe, 103 bool is_conc_safe,
102 TRAPS); 104 TRAPS);
103 105
104 // Method Data containers 106 // Method Data containers