Skip to content
Permalink
Browse files
8253881: Hotspot/Serviceability Terminology Refresh
Reviewed-by: kbarrett, tschatzl, dholmes, lfoltan, dcubed
  • Loading branch information
vidmik committed Dec 19, 2020
1 parent 6a78b2a commit 64644a10725abb4bea8a947508999be6c67c52ed
@@ -4227,7 +4227,6 @@ oop java_security_AccessControlContext::create(objArrayHandle context, bool isPr
result->obj_field_put(_context_offset, context());
result->obj_field_put(_privilegedContext_offset, privileged_context());
result->bool_field_put(_isPrivileged_offset, isPrivileged);
// whitelist AccessControlContexts created by the JVM
result->bool_field_put(_isAuthorized_offset, true);
return result;
}
@@ -140,7 +140,7 @@ class AbstractCompiler : public CHeapObj<mtCompiler> {
// the compiler provides the instructions necessary to generate
// the intrinsic code for method 'method'.
//
// The 'is_intrinsic_supported' method is a white list, that is,
// The 'is_intrinsic_supported' method is an allow-list, that is,
// by default no intrinsics are supported by a compiler except
// the ones listed in the method. Overriding methods should conform
// to this behavior.
@@ -263,7 +263,7 @@ static void do_unloading_klass(Klass* klass) {
* it is also filtered out so we don't accidentally
* trigger initialization.
*/
static bool is_classloader_klass_whitelisted(const Klass* k) {
static bool is_classloader_klass_allowed(const Klass* k) {
assert(k != NULL, "invariant");
return !(k->is_abstract() || k->should_be_initialized());
}
@@ -275,7 +275,7 @@ static void do_classloaders() {
while (!mark_stack.is_empty()) {
const Klass* const current = mark_stack.pop();
assert(current != NULL, "null element in stack!");
if (is_classloader_klass_whitelisted(current)) {
if (is_classloader_klass_allowed(current)) {
do_loader_klass(current);
}

@@ -70,7 +70,7 @@ static bool initialize(TRAPS) {
* it is also filtered out so we don't accidentally
* trigger initialization.
*/
static bool is_whitelisted(const Klass* k) {
static bool is_allowed(const Klass* k) {
assert(k != NULL, "invariant");
return !(k->is_abstract() || k->should_be_initialized());
}
@@ -87,7 +87,7 @@ static void fill_klasses(GrowableArray<const void*>& event_subklasses, const Kla
const Klass* const current = mark_stack.pop();
assert(current != NULL, "null element in stack!");

if (is_whitelisted(current)) {
if (is_allowed(current)) {
event_subklasses.append(current);
}

@@ -112,7 +112,7 @@ static void transform_klasses_to_local_jni_handles(GrowableArray<const void*>& e

for (int i = 0; i < event_subklasses.length(); ++i) {
const InstanceKlass* k = static_cast<const InstanceKlass*>(event_subklasses.at(i));
assert(is_whitelisted(k), "invariant");
assert(is_allowed(k), "invariant");
event_subklasses.at_put(i, JfrJavaSupport::local_jni_handle(k->java_mirror(), thread));
}
}
@@ -44936,11 +44936,6 @@ Blacklick
black-lidded
blacklight
black-lipped
blacklist
blacklisted
blacklister
blacklisting
blacklists
black-locked
black-looking
blackly
@@ -71937,7 +71932,6 @@ chopa
chopas
chopboat
chop-cherry
chop-chop
chop-church
chopdar
chop-fallen

1 comment on commit 64644a1

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 64644a1 Dec 19, 2020

Please sign in to comment.