mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-15 10:23:28 +00:00
8215954: [testbug] Remove unnecessary casts in test/hotspot/gtest/threadHelper.inline.hpp
Reviewed-by: dcubed
This commit is contained in:
parent
e4bc6e7ab9
commit
6c4ec86cea
@ -51,7 +51,7 @@ public:
|
||||
VMThreadBlocker() {}
|
||||
virtual ~VMThreadBlocker() {}
|
||||
const char* get_thread_name_string(char* buf, int buflen) const {
|
||||
return (char*) "VMThreadBlocker";
|
||||
return "VMThreadBlocker";
|
||||
}
|
||||
void run() {
|
||||
this->set_thread_state(_thread_in_vm);
|
||||
@ -95,7 +95,7 @@ public:
|
||||
virtual ~JavaTestThread() {}
|
||||
|
||||
const char* get_thread_name_string(char* buf, int buflen) const {
|
||||
return (char*) "JavaTestThread";
|
||||
return "JavaTestThread";
|
||||
}
|
||||
|
||||
void pre_run() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user