mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8296492: Remove ObjectLocker in JVMTI get_subgroups call
Reviewed-by: dholmes, alanb, sspitsyn
This commit is contained in:
parent
171553a611
commit
d8c809b196
7 changed files with 56 additions and 100 deletions
|
@ -479,13 +479,7 @@ class java_lang_ThreadGroup : AllStatic {
|
|||
static int _maxPriority_offset;
|
||||
static int _daemon_offset;
|
||||
|
||||
static int _ngroups_offset;
|
||||
static int _groups_offset;
|
||||
static int _nweaks_offset;
|
||||
static int _weaks_offset;
|
||||
|
||||
static void compute_offsets();
|
||||
|
||||
public:
|
||||
static void serialize_offsets(SerializeClosure* f) NOT_CDS_RETURN;
|
||||
|
||||
|
@ -498,15 +492,6 @@ class java_lang_ThreadGroup : AllStatic {
|
|||
// Daemon
|
||||
static bool is_daemon(oop java_thread_group);
|
||||
|
||||
// Number of strongly reachable thread groups
|
||||
static int ngroups(oop java_thread_group);
|
||||
// Strongly reachable thread groups
|
||||
static objArrayOop groups(oop java_thread_group);
|
||||
// Number of weakly reachable thread groups
|
||||
static int nweaks(oop java_thread_group);
|
||||
// Weakly reachable thread groups
|
||||
static objArrayOop weaks(oop java_thread_group);
|
||||
|
||||
// Debugging
|
||||
friend class JavaClasses;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue