[jdk19] Integrated: 8289091: move oop safety check from SharedRuntime::get_java_tid() to JavaThread::threadObj()

Daniel D. Daugherty dcubed at openjdk.org
Tue Jul 5 20:46:05 UTC 2022


On Fri, 24 Jun 2022 19:53:31 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:

> A trivial move of the oop safety check from SharedRuntime::get_java_tid() to
> JavaThread::threadObj(). Also made adjustments to the threadObj() calls in
> JavaThread::print_on_error() and JavaThread::get_thread_name_string() so
> that we don't get secondary crashes when a JavaThread crashes after it has
> detached the GC barrier.
> 
> Tested with Mach5 Tier[1-7]. A Mach5 Tier8 will be started this weekend.

This pull request has now been integrated.

Changeset: 30e134e9
Author:    Daniel D. Daugherty <dcubed at openjdk.org>
URL:       https://git.openjdk.org/jdk19/commit/30e134e909c53423acd1ec20c106f4200bc10285
Stats:     49 lines in 2 files changed: 32 ins; 5 del; 12 mod

8289091: move oop safety check from SharedRuntime::get_java_tid() to JavaThread::threadObj()

Reviewed-by: rehn, dholmes

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

PR: https://git.openjdk.org/jdk19/pull/69


More information about the hotspot-runtime-dev mailing list