mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 10:34:38 +02:00
8181917: Refactor UL LogStreams to avoid using resource area
Reviewed-by: ehelin, mlarsson
This commit is contained in:
parent
52ef49eef1
commit
d12604111c
63 changed files with 662 additions and 508 deletions
|
@ -33,6 +33,7 @@
|
|||
#include "gc/g1/g1CollectedHeap.hpp"
|
||||
#endif
|
||||
#include "logging/log.hpp"
|
||||
#include "logging/logStream.hpp"
|
||||
#include "logging/logMessage.hpp"
|
||||
#include "memory/filemap.hpp"
|
||||
#include "memory/metadataFactory.hpp"
|
||||
|
@ -104,9 +105,9 @@ void FileMapInfo::fail_continue(const char *msg, ...) {
|
|||
} else {
|
||||
if (log_is_enabled(Info, cds)) {
|
||||
ResourceMark rm;
|
||||
outputStream* logstream = Log(cds)::info_stream();
|
||||
logstream->print("UseSharedSpaces: ");
|
||||
logstream->vprint_cr(msg, ap);
|
||||
LogStream ls(Log(cds)::info());
|
||||
ls.print("UseSharedSpaces: ");
|
||||
ls.vprint_cr(msg, ap);
|
||||
}
|
||||
}
|
||||
UseSharedSpaces = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue