Currently, ClassLoader::trace_class_path always performs tty->print() for outputting the trace message. This is to add an outputStream* parameter to the function so that caller can specify the outputStream. This fix is needed for preventing the truncation of the output.