On Tue, 22 Jun 2021 10:21:45 GMT, Stefan Karlsson <stef...@openjdk.org> wrote:
>> Guoxiong Li has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Fix incorrect use of the method cast > > src/hotspot/share/runtime/thread.hpp line 1432: > >> 1430: assert(t->is_Java_thread(), "incorrect cast to const JavaThread"); >> 1431: return static_cast<const JavaThread*>(t); >> 1432: } > > Now that you've written the code in-place, you could remove the `inline` > specifier. Fixed. Thanks @stefank for your review. ------------- PR: https://git.openjdk.java.net/jdk/pull/4546