8252406: Introduce Thread::as_Java_thread() convenience function

Reviewed-by: shade, coleenp, kbarrett, dcubed
This commit is contained in:
David Holmes 2020-09-11 01:31:32 +00:00
parent 488022689f
commit 976acddeb5
110 changed files with 360 additions and 456 deletions

View file

@ -176,7 +176,7 @@ void vframeArrayElement::unpack_on_stack(int caller_actual_parameters,
bool is_top_frame,
bool is_bottom_frame,
int exec_mode) {
JavaThread* thread = (JavaThread*) Thread::current();
JavaThread* thread = JavaThread::current();
bool realloc_failure_exception = thread->frames_to_pop_failed_realloc() > 0;