comparison src/share/vm/oops/constMethodKlass.hpp @ 3530: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 f95d63e2154a
children 8be26227e75b
comparison
equal deleted inserted replaced
6:eccbab590c73 8:18084da82e45
1 /* 1 /*
2 * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
44 44
45 // Allocation 45 // Allocation
46 DEFINE_ALLOCATE_PERMANENT(constMethodKlass); 46 DEFINE_ALLOCATE_PERMANENT(constMethodKlass);
47 constMethodOop allocate(int byte_code_size, int compressed_line_number_size, 47 constMethodOop allocate(int byte_code_size, int compressed_line_number_size,
48 int localvariable_table_length, 48 int localvariable_table_length,
49 int exception_table_length,
49 int checked_exceptions_length, 50 int checked_exceptions_length,
50 bool is_conc_safe, 51 bool is_conc_safe,
51 TRAPS); 52 TRAPS);
52 static klassOop create_klass(TRAPS); 53 static klassOop create_klass(TRAPS);
53 54