sermant-io / Sermant

CNCF sandbox project, a Cloud-Native Proxyless Service Mesh based on Java Bytecode Enhancement Technology
https://sermant.io/
Apache License 2.0
1.25k stars 164 forks source link

【feature】增加Class Load-实现Agent的Common lib与Plugin依赖的Common lib隔离 #995

Closed SoftwareKing closed 1 year ago

SoftwareKing commented 1 year ago

What would you like to be added?

增加Class Load-实现Agent的Common lib与Plugin依赖的Common lib隔离

Why is this needed?

增加Class Load-实现Agent的Common lib与Plugin依赖的Common lib隔离

lilai23 commented 1 year ago

您好,没理解您的issue的需求,是否可以再详细描述下呢?

目前Sermant的整体类隔离的现状为: 1、系统类加载器加载sermant-agentcore-core,sermant-agentcore-premain,插件服务接口定义等 2、FrameworkClassLoader破坏双亲委派机制,加载sermant-agentcore-implement(包含第三方依赖) 3、PluginClassLoader破坏双亲委派机制,加载各插件服务实现包的内容(包含第三方依赖)。各插件使用不同的PluginClassLoader进行加载 4、用户类自定义加载器加载各个插件拦截器interceptor的实现类

SoftwareKing commented 1 year ago

@lilai23 插件跟插件之间的common lib隔离

robotLJW commented 1 year ago

@SoftwareKing 见 https://github.com/huaweicloud/Sermant/pull/1006

github-actions[bot] commented 1 year ago

This issue seems to be Stale. We will close it in a few days.

github-actions[bot] commented 1 year ago

We close this issue because it hasn't been updated in a while. Remove Stale label if you want to reopen it.