8276658: Clean up JNI local handles code

Reviewed-by: dholmes, pchilanomate
This commit is contained in:
Coleen Phillimore 2021-11-12 16:17:15 +00:00
parent aeba653034
commit 3b2585c02b
25 changed files with 123 additions and 350 deletions

View file

@ -234,7 +234,6 @@ int WatcherThread::sleep() const {
void WatcherThread::run() {
assert(this == watcher_thread(), "just checking");
this->set_active_handles(JNIHandleBlock::allocate_block());
while (true) {
assert(watcher_thread() == Thread::current(), "thread consistency check");
assert(watcher_thread() == this, "thread consistency check");