Mercurial > hg > graal-jvmci-8
diff src/share/vm/classfile/sharedPathsMiscInfo.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 | bb239308be67 |
children |
line wrap: on
line diff
--- a/src/share/vm/classfile/sharedPathsMiscInfo.cpp Thu Mar 27 22:36:08 2014 +0100 +++ b/src/share/vm/classfile/sharedPathsMiscInfo.cpp Wed Dec 02 17:48:20 2015 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -67,7 +67,7 @@ } bool SharedPathsMiscInfo::fail(const char* msg, const char* name) { - ClassLoader::trace_class_path(msg, name); + ClassLoader::trace_class_path(tty, msg, name); MetaspaceShared::set_archive_loading_failed(); return false; }