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

@ -328,7 +328,7 @@ class ClassLoader: AllStatic {
static void exit_with_path_failure(const char* error, const char* message);
#endif
static void trace_class_path(const char* msg, const char* name = NULL);
static void trace_class_path(outputStream* out, const char* msg, const char* name = NULL);
// VM monitoring and management support
static jlong classloader_time_ms();