RFR: 8212107: VMThread issues and cleanup

Daniel D.Daugherty dcubed at openjdk.java.net
Fri Sep 18 21:40:41 UTC 2020


On Fri, 18 Sep 2020 09:14:32 GMT, Robbin Ehn <rehn at openjdk.org> wrote:

>> src/hotspot/share/runtime/vmThread.cpp line 222:
>> 
>>> 220: void VMThread::wait_for_vm_thread_exit() {
>>> 221:   assert(Thread::current()->is_Java_thread(), "Should be a JavaThread");
>>> 222:   assert(((JavaThread*)Thread::current())->is_terminated(), "Should be terminated");
>> 
>> Looks like just `assert(JavaThread::current()->is_terminated(), "Should be terminated")`.
>
> Fixing

And delete the assert on L221.

-------------

PR: https://git.openjdk.java.net/jdk/pull/228


More information about the hotspot-dev mailing list