8159590: Remove deprecated methods from jdk.internal.misc.VM

Reviewed-by: chegar, dholmes
This commit is contained in:
Claes Redestad 2016-06-21 12:09:36 +02:00
parent 5ae683a18f
commit 038bf7d790
3 changed files with 0 additions and 11 deletions

View File

@ -1377,7 +1377,6 @@ int java_lang_ThreadGroup::_groups_offset = 0;
int java_lang_ThreadGroup::_maxPriority_offset = 0;
int java_lang_ThreadGroup::_destroyed_offset = 0;
int java_lang_ThreadGroup::_daemon_offset = 0;
int java_lang_ThreadGroup::_vmAllowSuspension_offset = 0;
int java_lang_ThreadGroup::_nthreads_offset = 0;
int java_lang_ThreadGroup::_ngroups_offset = 0;
@ -1435,11 +1434,6 @@ bool java_lang_ThreadGroup::is_daemon(oop java_thread_group) {
return java_thread_group->bool_field(_daemon_offset) != 0;
}
bool java_lang_ThreadGroup::is_vmAllowSuspension(oop java_thread_group) {
assert(java_thread_group->is_oop(), "thread group must be oop");
return java_thread_group->bool_field(_vmAllowSuspension_offset) != 0;
}
void java_lang_ThreadGroup::compute_offsets() {
assert(_parent_offset == 0, "offsets should be initialized only once");
@ -1452,7 +1446,6 @@ void java_lang_ThreadGroup::compute_offsets() {
compute_offset(_maxPriority_offset, k, vmSymbols::maxPriority_name(), vmSymbols::int_signature());
compute_offset(_destroyed_offset, k, vmSymbols::destroyed_name(), vmSymbols::bool_signature());
compute_offset(_daemon_offset, k, vmSymbols::daemon_name(), vmSymbols::bool_signature());
compute_offset(_vmAllowSuspension_offset, k, vmSymbols::vmAllowSuspension_name(), vmSymbols::bool_signature());
compute_offset(_nthreads_offset, k, vmSymbols::nthreads_name(), vmSymbols::int_signature());
compute_offset(_ngroups_offset, k, vmSymbols::ngroups_name(), vmSymbols::int_signature());
}

View File

@ -413,7 +413,6 @@ class java_lang_ThreadGroup : AllStatic {
static int _maxPriority_offset;
static int _destroyed_offset;
static int _daemon_offset;
static int _vmAllowSuspension_offset;
static int _nthreads_offset;
static int _ngroups_offset;
@ -439,8 +438,6 @@ class java_lang_ThreadGroup : AllStatic {
static bool is_destroyed(oop java_thread_group);
// Daemon
static bool is_daemon(oop java_thread_group);
// vmAllowSuspension
static bool is_vmAllowSuspension(oop java_thread_group);
// Debugging
friend class JavaClasses;
};

View File

@ -354,7 +354,6 @@
template(groups_name, "groups") \
template(maxPriority_name, "maxPriority") \
template(destroyed_name, "destroyed") \
template(vmAllowSuspension_name, "vmAllowSuspension") \
template(nthreads_name, "nthreads") \
template(ngroups_name, "ngroups") \
template(shutdown_method_name, "shutdown") \