8321594: NativeThreadSet should use placeholder for virtual threads

Reviewed-by: bpb
This commit is contained in:
Alan Bateman 2023-12-12 07:55:56 +00:00
parent 973bcdab81
commit b8c0b2fd8c
3 changed files with 52 additions and 56 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2002, 2023, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -52,14 +52,6 @@ public class NativeThread {
}
}
/**
* Returns the id of the current native thread if the platform can signal
* native threads, 0 if the platform can not signal native threads.
*/
static long currentNativeThread() {
return current0();
}
/**
* Signals the given native thread.
*