Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[backport][multiTenant] support multi-tenant Heap throtting #882

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

yiiqian
Copy link

@yiiqian yiiqian commented Oct 31, 2024

基于tag:dragonwell-extended-11.0.18.14_jdk-11.0.18-ga版本
backport dragonwell8多租户内存隔离相关代码,并完成对dragonwell11的兼容,包括模块化、并行化fullgc的兼容

yiqian added 7 commits October 31, 2024 15:54
Summary: ported MultiTenant framework to Dragonwell8
         ported https://bugs.openjdk.org/browse/JDK-8204564 for more debuginfo when build failed
         LinkageError may failed when building jdk

Test Plan: jdk/test/multi-tenant

Issue: dragonwell-project/dragonwell8#84
Summary: ported heap isolation feature of MultiTenant to Dragonwell8

Test Plan: hotspot/test/multi-tenant/

Reviewed-by: luchsh, mmyxym

Issue: dragonwell-project/dragonwell8#90
Summary: ported heap throttling feature of MultiTenant to Dragonwell8

Test Plan: hotspot/test/multi-tenant/

Reviewed-by: luchsh, mmyxym

Issue: dragonwell-project/dragonwell8#91
@CLAassistant
Copy link

CLAassistant commented Oct 31, 2024

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
4 out of 13 committers have signed the CLA.

✅ zhengxiaolinX
✅ yuleil
✅ lingjun-cg
✅ kuaiwei
❌ Andrew Haley
❌ gnu-andrew
❌ RealCLanger
❌ Accelerator1996
❌ martinuy
❌ jerboaa
❌ GoeLin
❌ shipilev
❌ rgithubli


Andrew Haley seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@yiiqian yiiqian changed the base branch from master to dragonwell-11.0.15.11_jdk-11.0.15-ga-release November 1, 2024 02:41
@lingjun-cg
Copy link
Collaborator

租户的特性随着现在容器化技术的普遍,使用的场景较少,基于此考虑Dragonwell 11不再支持租户的特性。
如果有相关的需求,是否可以将需求详细的描述一下,看是否有其它的替代方案可以解决?

@yiiqian yiiqian changed the base branch from dragonwell-11.0.15.11_jdk-11.0.15-ga-release to master November 4, 2024 10:39
@yiiqian
Copy link
Author

yiiqian commented Nov 4, 2024

租户的特性随着现在容器化技术的普遍,使用的场景较少,基于此考虑Dragonwell 11不再支持租户的特性。 如果有相关的需求,是否可以将需求详细的描述一下,看是否有其它的替代方案可以解决?

感谢回复。之前了解到dragonwell8多租户特性会用于热部署,对类资源进行隔离和切换。目前dragonwell11通过什么技术支持热部署的

@lingjun-cg
Copy link
Collaborator

Dragonwell 11相对Dragonwell 8在热部署方面没有太大变化,提供了Redefine class的能力: https://docs.oracle.com/javase/8/docs/technotes/guides/jpda/enhancements1.4.html。

有了上面的Redefine的能力以后,三方框架就可以基于此来使热部署更易为使用,如https://hotswapagent.org/
https://www.jrebel.com/products/jrebel

总结一下即Dragonwell提供了Refine class的能力,但是借助第三方框架的让热部署更易于使用。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants