Skip to content

Commit

Permalink
8253881: Hotspot/Serviceability Terminology Refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
vidmik committed Dec 16, 2020
1 parent 1e77896 commit 421dcc2
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 13 deletions.
1 change: 0 additions & 1 deletion src/hotspot/share/classfile/javaClasses.cpp
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion src/hotspot/share/compiler/abstractCompiler.hpp
Expand Up @@ -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.
Expand Down
Expand Up @@ -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());
}
Expand All @@ -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);
}

Expand Down
6 changes: 3 additions & 3 deletions src/hotspot/share/jfr/support/jfrJdkJfrEvent.cpp
Expand Up @@ -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());
}
Expand All @@ -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);
}

Expand All @@ -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));
}
}
Expand Down
6 changes: 0 additions & 6 deletions test/hotspot/jtreg/compiler/c2/stemmer/words
Expand Up @@ -44936,11 +44936,6 @@ Blacklick
black-lidded
blacklight
black-lipped
blacklist
blacklisted
blacklister
blacklisting
blacklists
black-locked
black-looking
blackly
Expand Down Expand Up @@ -71937,7 +71932,6 @@ chopa
chopas
chopboat
chop-cherry
chop-chop
chop-church
chopdar
chop-fallen
Expand Down

0 comments on commit 421dcc2

Please sign in to comment.