src/share/vm/memory/oopFactory.cpp

changeset 3917
8150fa46d2ed
parent 3741
8bafad97cd26
child 4037
da91efe96a93
     1.1 --- a/src/share/vm/memory/oopFactory.cpp	Mon Jun 25 15:34:06 2012 -0400
     1.2 +++ b/src/share/vm/memory/oopFactory.cpp	Tue Jun 26 19:08:44 2012 -0400
     1.3 @@ -140,14 +140,15 @@
     1.4  constMethodOop oopFactory::new_constMethod(int byte_code_size,
     1.5                                             int compressed_line_number_size,
     1.6                                             int localvariable_table_length,
     1.7 +                                           int exception_table_length,
     1.8                                             int checked_exceptions_length,
     1.9                                             bool is_conc_safe,
    1.10                                             TRAPS) {
    1.11    klassOop cmkObj = Universe::constMethodKlassObj();
    1.12    constMethodKlass* cmk = constMethodKlass::cast(cmkObj);
    1.13    return cmk->allocate(byte_code_size, compressed_line_number_size,
    1.14 -                       localvariable_table_length, checked_exceptions_length,
    1.15 -                       is_conc_safe,
    1.16 +                       localvariable_table_length, exception_table_length,
    1.17 +                       checked_exceptions_length, is_conc_safe,
    1.18                         CHECK_NULL);
    1.19  }
    1.20  
    1.21 @@ -155,6 +156,7 @@
    1.22  methodOop oopFactory::new_method(int byte_code_size, AccessFlags access_flags,
    1.23                                   int compressed_line_number_size,
    1.24                                   int localvariable_table_length,
    1.25 +                                 int exception_table_length,
    1.26                                   int checked_exceptions_length,
    1.27                                   bool is_conc_safe,
    1.28                                   TRAPS) {
    1.29 @@ -164,6 +166,7 @@
    1.30    constMethodOop cm = new_constMethod(byte_code_size,
    1.31                                        compressed_line_number_size,
    1.32                                        localvariable_table_length,
    1.33 +                                      exception_table_length,
    1.34                                        checked_exceptions_length,
    1.35                                        is_conc_safe, CHECK_NULL);
    1.36    constMethodHandle rw(THREAD, cm);

mercurial