--- old/src/hotspot/share/runtime/sweeper.hpp 2018-03-01 18:10:02.083665000 +0100 +++ new/src/hotspot/share/runtime/sweeper.hpp 2018-03-01 18:10:01.833652000 +0100 @@ -125,7 +125,8 @@ static void report_state_change(nmethod* nm); static void possibly_enable_sweeper(); static void possibly_flush(nmethod* nm); - static void print(); // Printing/debugging + static void print(outputStream *st); // Printing/debugging + static void print() { print(tty); } }; #endif // SHARE_VM_RUNTIME_SWEEPER_HPP