apache / apache/gravitino

[Improvement] Reused Isolated class loader as much as possible

Open
#2,557 2 comments 0 reactions 1 assignee Claimed by @yuqi1129 View on GitHub
improvement
Dominant language
Java
Stars
3.2k
Forks
935
Avg merge
1d 15h
Merged PRs (30d)
315

Description

### What would you like to be improved?

Currently, if we alter or remove a catalog, we will drop and create a new isolated class loader instance, which may lead to resource leakage. We should try to reuse it as much as possible, in some cases where the configurations change and then the newly created classloader does not match the old one, we will not reuse it.

### How should we improve?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.