mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
6885993: Named Thread: introduce print() and print_on(outputStream* st) methods
Eliminating duplicated code by introducing print_on(outputStream* st) methods in NamedThread Reviewed-by: twisti, coleenp, dholmes
This commit is contained in:
parent
a792009a9f
commit
16a3e2f16d
14 changed files with 14 additions and 62 deletions
|
@ -69,8 +69,6 @@ private:
|
|||
void start();
|
||||
|
||||
void print_task_time_stamps();
|
||||
void print_on(outputStream* st) const;
|
||||
void print() const { print_on(tty); }
|
||||
|
||||
protected:
|
||||
// Constructor. Clients use factory, but there could be subclasses.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue