8278341: Liveness check for global scope is not as fast as it could be
Reviewed-by: shade, jvernee
This commit is contained in:
parent
c609b5d3d7
commit
bd7c54aee8
@ -217,6 +217,11 @@ public abstract non-sealed class ResourceScopeImpl implements ResourceScope, Seg
|
||||
void addInternal(ResourceList.ResourceCleanup resource) {
|
||||
// do nothing
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isAlive() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
public static final ResourceScopeImpl GLOBAL = new GlobalScopeImpl(null);
|
||||
|
Loading…
x
Reference in New Issue
Block a user