Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/arguments.cpp @ 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 | ea47136e6ea4 |
children | b5f3a471e646 58fdc4a7c328 |
comparison
equal
deleted
inserted
replaced
23461:dce765c2ff7d | 23462:f46ffa934a46 |
---|---|
3412 _java_class_path->set_value(copy); | 3412 _java_class_path->set_value(copy); |
3413 FreeHeap(copy); // a copy was made by set_value, so don't need this anymore | 3413 FreeHeap(copy); // a copy was made by set_value, so don't need this anymore |
3414 } | 3414 } |
3415 | 3415 |
3416 if (!PrintSharedArchiveAndExit) { | 3416 if (!PrintSharedArchiveAndExit) { |
3417 ClassLoader::trace_class_path("[classpath: ", _java_class_path->value()); | 3417 ClassLoader::trace_class_path(tty, "[classpath: ", _java_class_path->value()); |
3418 } | 3418 } |
3419 } | 3419 } |
3420 | 3420 |
3421 static bool has_jar_files(const char* directory) { | 3421 static bool has_jar_files(const char* directory) { |
3422 DIR* dir = os::opendir(directory); | 3422 DIR* dir = os::opendir(directory); |