Print this page


Split Close
Expand all
Collapse all
          --- old/src/share/vm/code/nmethod.cpp
          +++ new/src/share/vm/code/nmethod.cpp
↓ open down ↓ 182 lines elided ↑ open up ↑
 183  183                    / pc_desc_queries);
 184  184      tty->print_cr("  caches=%d queries=%d/%d, hits=%d+%d, tests=%d+%d, adds=%d",
 185  185                    pc_desc_resets,
 186  186                    pc_desc_queries, pc_desc_approx,
 187  187                    pc_desc_repeats, pc_desc_hits,
 188  188                    pc_desc_tests, pc_desc_searches, pc_desc_adds);
 189  189    }
 190  190  } nmethod_stats;
 191  191  #endif //PRODUCT
 192  192  
 193      -//---------------------------------------------------------------------------------
 194      -
 195  193  
 196      -// The _unwind_handler is a special marker address, which says that
 197      -// for given exception oop and address, the frame should be removed
 198      -// as the tuple cannot be caught in the nmethod
 199      -address ExceptionCache::_unwind_handler = (address) -1;
      194 +//---------------------------------------------------------------------------------
 200  195  
 201  196  
 202  197  ExceptionCache::ExceptionCache(Handle exception, address pc, address handler) {
 203  198    assert(pc != NULL, "Must be non null");
 204  199    assert(exception.not_null(), "Must be non null");
 205  200    assert(handler != NULL, "Must be non null");
 206  201  
 207  202    _count = 0;
 208  203    _exception_type = exception->klass();
 209  204    _next = NULL;
↓ open down ↓ 2614 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX