equal
deleted
inserted
replaced
2769 |
2769 |
2770 static void do_method(methodOop m) { |
2770 static void do_method(methodOop m) { |
2771 nmethods++; |
2771 nmethods++; |
2772 method_size += m->size(); |
2772 method_size += m->size(); |
2773 // class loader uses same objArray for empty vectors, so don't count these |
2773 // class loader uses same objArray for empty vectors, so don't count these |
2774 if (m->exception_table()->length() != 0) method_size += m->exception_table()->size(); |
|
2775 if (m->has_stackmap_table()) { |
2774 if (m->has_stackmap_table()) { |
2776 method_size += m->stackmap_data()->size(); |
2775 method_size += m->stackmap_data()->size(); |
2777 } |
2776 } |
2778 |
2777 |
2779 methodDataOop mdo = m->method_data(); |
2778 methodDataOop mdo = m->method_data(); |