mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 01:24:33 +02:00
8297864: Dead code elimination
Reviewed-by: coleenp, pchilanomate
This commit is contained in:
parent
777fb52ef5
commit
d523d9d081
100 changed files with 11 additions and 1058 deletions
|
@ -368,14 +368,6 @@ bool Thread::is_JavaThread_protected_by_TLH(const JavaThread* target) {
|
|||
return false;
|
||||
}
|
||||
|
||||
ThreadPriority Thread::get_priority(const Thread* const thread) {
|
||||
ThreadPriority priority;
|
||||
// Can return an error!
|
||||
(void)os::get_priority(thread, priority);
|
||||
assert(MinPriority <= priority && priority <= MaxPriority, "non-Java priority found");
|
||||
return priority;
|
||||
}
|
||||
|
||||
void Thread::set_priority(Thread* thread, ThreadPriority priority) {
|
||||
debug_only(check_for_dangling_thread_pointer(thread);)
|
||||
// Can return an error!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue