diff src/share/vm/classfile/classLoader.hpp @ 23462:f46ffa934a46

8143963: improve ClassLoader::trace_class_path to accept an additional outputStream* arg Summary: for fixing a truncation problem on the output from -XX:+TraceClassPaths Reviewed-by: coleenp, jiangli, cjplummer, minqi
author ccheung
date Wed, 02 Dec 2015 17:48:20 -0800
parents 4cb90023bf2b
children b5f3a471e646
line wrap: on
line diff
--- a/src/share/vm/classfile/classLoader.hpp	Thu Mar 27 22:36:08 2014 +0100
+++ b/src/share/vm/classfile/classLoader.hpp	Wed Dec 02 17:48:20 2015 -0800
@@ -346,7 +346,7 @@
   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();