--- old/src/hotspot/share/oops/method.cpp 2018-02-27 10:50:38.292230000 +0100 +++ new/src/hotspot/share/oops/method.cpp 2018-02-27 10:50:37.929198000 +0100 @@ -176,15 +176,6 @@ return buf; } -// Helper routine: get modifier list as C string. The string has a -// trailing whitespace if not empty. The string is allocated -// in resource area. -char* Method::modifiers_as_C_string() const { - stringStream ss; - access_flags().print_on(&ss); - return ss.as_string(); -} - int Method::fast_exception_handler_bci_for(const methodHandle& mh, Klass* ex_klass, int throw_bci, TRAPS) { // exception table holds quadruple entries of the form (beg_bci, end_bci, handler_bci, klass_index) // access exception table