8143963: improve ClassLoader::trace_class_path to accept an additional outputStream* arg

For fixing a truncation problem on the output from -XX:+TraceClassPaths

Reviewed-by: coleenp, jiangli, cjplummer, minqi
This commit is contained in:
Calvin Cheung 2015-11-24 16:58:45 -08:00
parent 8549d3bb88
commit 6887844c72
5 changed files with 12 additions and 12 deletions

View file

@ -65,7 +65,7 @@ protected:
bool read(void* ptr, size_t size);
static void trace_class_path(const char* msg, const char* name = NULL) {
ClassLoader::trace_class_path(msg, name);
ClassLoader::trace_class_path(tty, msg, name);
}
protected:
static bool fail(const char* msg, const char* name = NULL);