diff -r a64438a2b7e8 -r 126ea7725993 src/share/vm/runtime/stubCodeGenerator.hpp --- a/src/share/vm/runtime/stubCodeGenerator.hpp Wed Jul 28 17:57:43 2010 -0400 +++ b/src/share/vm/runtime/stubCodeGenerator.hpp Tue Aug 03 08:13:38 2010 -0400 @@ -79,7 +79,8 @@ address end() const { return _end; } int size_in_bytes() const { return _end - _begin; } bool contains(address pc) const { return _begin <= pc && pc < _end; } - void print(); + void print_on(outputStream* st) const; + void print() const { print_on(tty); } }; // The base class for all stub-generating code generators.