Skip to content

Commit da86029

Browse files
Fairoz MatteThomas Schatzl
Fairoz Matte
authored and
Thomas Schatzl
committedApr 21, 2021
8265326: Strange Characters in G1GC GC Log
Reviewed-by: tschatzl, sjohanss, kbarrett
1 parent 7879adb commit da86029

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎src/hotspot/share/gc/g1/g1ConcurrentMarkThread.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2001, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2001, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -139,8 +139,8 @@ void G1ConcurrentMarkThread::run_service() {
139139
assert(in_progress(), "must be");
140140

141141
GCIdMark gc_id_mark;
142-
GCTraceConcTime(Info, gc) tt(FormatBuffer<128>("Concurrent %s Cycle",
143-
_state == FullMark ? "Mark" : "Undo"));
142+
FormatBuffer<128> title("Concurrent %s Cycle", _state == FullMark ? "Mark" : "Undo");
143+
GCTraceConcTime(Info, gc) tt(title);
144144

145145
concurrent_cycle_start();
146146

1 commit comments

Comments
 (1)

openjdk-notifier[bot] commented on Apr 21, 2021

@openjdk-notifier[bot]
Please sign in to comment.