8305936: JavaThread::create_system_thread_object has unused is_visible argument

Reviewed-by: alanb, kbarrett
This commit is contained in:
David Holmes 2023-04-13 23:10:18 +00:00
parent 76cda9f44a
commit 8a1639d49b
9 changed files with 15 additions and 17 deletions

View file

@ -2067,8 +2067,7 @@ void JavaThread::verify_cross_modify_fence_failure(JavaThread *thread) {
// Helper function to create the java.lang.Thread object for a
// VM-internal thread. The thread will have the given name, and be
// a member of the "system" ThreadGroup.
Handle JavaThread::create_system_thread_object(const char* name,
bool is_visible, TRAPS) {
Handle JavaThread::create_system_thread_object(const char* name, TRAPS) {
Handle string = java_lang_String::create_from_str(name, CHECK_NH);
// Initialize thread_oop to put it into the system threadGroup.