Skip to content
Permalink
Browse files
8278341: Liveness check for global scope is not as fast as it could be
Reviewed-by: shade, jvernee
  • Loading branch information
mcimadamore committed Dec 7, 2021
1 parent c609b5d commit bd7c54aee8d9795676087d6b34d4744031de1ef1
Showing 1 changed file with 5 additions and 0 deletions.
@@ -217,6 +217,11 @@ public void acquire0() {
void addInternal(ResourceList.ResourceCleanup resource) {
// do nothing
}

@Override
public boolean isAlive() {
return true;
}
}

public static final ResourceScopeImpl GLOBAL = new GlobalScopeImpl(null);

1 comment on commit bd7c54a

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on bd7c54a Dec 7, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.