< prev index next >

src/share/vm/oops/symbol.cpp

Print this page

*** 1,7 **** /* ! * Copyright (c) 1997, 2016, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 1997, 2017, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 25,34 **** --- 25,35 ---- #include "precompiled.hpp" #include "classfile/altHashing.hpp" #include "classfile/classLoaderData.hpp" #include "logging/log.hpp" + #include "logging/logStream.hpp" #include "memory/allocation.inline.hpp" #include "memory/resourceArea.hpp" #include "oops/symbol.hpp" #include "runtime/atomic.hpp" #include "runtime/os.hpp"
*** 229,242 **** } } void Symbol::metaspace_pointers_do(MetaspaceClosure* it) { if (log_is_enabled(Trace, cds)) { ! outputStream* log = Log(cds)::trace_stream(); ! log->print("Iter(Symbol): %p ", this); ! print_value_on(log); ! log->cr(); } } void Symbol::print_on(outputStream* st) const { if (this == NULL) { --- 230,243 ---- } } void Symbol::metaspace_pointers_do(MetaspaceClosure* it) { if (log_is_enabled(Trace, cds)) { ! LogStream trace_stream(Log(cds)::trace()); ! trace_stream.print("Iter(Symbol): %p ", this); ! print_value_on(&trace_stream); ! trace_stream.cr(); } } void Symbol::print_on(outputStream* st) const { if (this == NULL) {
< prev index next >