src/share/vm/oops/method.cpp

changeset 4406
18c3c3fa291b
parent 4398
ade95d680b42
parent 4405
0c8717a92b2d
child 4490
5daaddd917a1
child 4539
6a51fc70a15e
     1.1 --- a/src/share/vm/oops/method.cpp	Wed Jan 09 18:06:34 2013 -0500
     1.2 +++ b/src/share/vm/oops/method.cpp	Wed Jan 09 21:18:52 2013 -0500
     1.3 @@ -194,16 +194,16 @@
     1.4    return buf;
     1.5  }
     1.6  
     1.7 -int  Method::fast_exception_handler_bci_for(KlassHandle ex_klass, int throw_bci, TRAPS) {
     1.8 +int Method::fast_exception_handler_bci_for(methodHandle mh, KlassHandle ex_klass, int throw_bci, TRAPS) {
     1.9    // exception table holds quadruple entries of the form (beg_bci, end_bci, handler_bci, klass_index)
    1.10    // access exception table
    1.11 -  ExceptionTable table(this);
    1.12 +  ExceptionTable table(mh());
    1.13    int length = table.length();
    1.14    // iterate through all entries sequentially
    1.15 -  constantPoolHandle pool(THREAD, constants());
    1.16 +  constantPoolHandle pool(THREAD, mh->constants());
    1.17    for (int i = 0; i < length; i ++) {
    1.18      //reacquire the table in case a GC happened
    1.19 -    ExceptionTable table(this);
    1.20 +    ExceptionTable table(mh());
    1.21      int beg_bci = table.start_pc(i);
    1.22      int end_bci = table.end_pc(i);
    1.23      assert(beg_bci <= end_bci, "inconsistent exception table");

mercurial