[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-serviceability-dev
Subject:    Integrated: 8241403: JavaThread::get_thread_name() should be ThreadSMR-aware
From:       Daniel D.Daugherty <dcubed () openjdk ! java ! net>
Date:       2021-02-26 15:44:00
Message-ID: oVFOf-PIDyUQbujv4upvUePoPhyFOGXd0GqYHLcgw-0=.33c4337c-07cc-4f22-95a0-1a84db84117f () github ! com
[Download RAW message or body]

On Thu, 11 Feb 2021 22:04:53 GMT, Daniel D. Daugherty <dcubed@openjdk.org> wrote:

> A minor fix to add a new function:
> 
>     bool Thread::is_JavaThread_protected(const JavaThread* p)
> 
> that returns true when the target JavaThread* is protected and false
> otherwise. Update JavaThread::get_thread_name() to create a
> ThreadsListHandle and use the new is_JavaThread_protected(). Also
> update JvmtiTrace::safe_get_thread_name() to use the new
> is_JavaThread_protected().
> 
> This fix is tested via a Mach5 Tier[1-8] run.

This pull request has now been integrated.

Changeset: 47a08426
Author:    Daniel D. Daugherty <dcubed@openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/47a08426
Stats:     70 lines in 4 files changed: 53 ins; 7 del; 10 mod

8241403: JavaThread::get_thread_name() should be ThreadSMR-aware

Reviewed-by: rehn, coleenp, dholmes

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

PR: https://git.openjdk.java.net/jdk/pull/2535
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic