-
Notifications
You must be signed in to change notification settings - Fork 113
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
[Bug] dragonwell11 standard版本在特定环境上UnsafeIntrinsicsTest.java用例报OOM #267
Comments
Summary: disable wisp testcase compiler/gcbarriers/UnsafeIntrinsicsTest.java#z by problemlist, which run OOM on specific machine Test Plan: CI pipeline Reviewed-by: lei.yul, lvfei.lv Issue: #267
ZGC heuristically reserves too many spaces(68% of the heap) for object relocation. There are insufficient spaces to accommodate objects. Object allocation rate is slightly faster than reclamation, which finally leads to OOME. The calculation of reserve space is based on num of concurrent GC threads and parallel GC threads(ZHeuristics::max_reserve), we can use fewer parallel GC threads to reserve more spaces for object allocation and avoid further OOME(e.g. -XX:ParallelGCThreads=5) |
Summary: fix test/hotspot/jtreg/compiler/gcbarriers/UnsafeIntrinsicsTest.java run OOM on same machine Test Plan: CI pipeline Reviewed-by: lei.yul, qingfeng.yy Issue: #267
…rt commit 9e37ea4 Summary: fix test/hotspot/jtreg/compiler/gcbarriers/UnsafeIntrinsicsTest.java run OOM on same machine, and revert commit 9e37ea4 Test Plan: CI pipeline Reviewed-by: kuaiwei.kw, lvfei.lv Issue: dragonwell-project#267
Description
dragonwell11 standard版本在特定环境上UnsafeIntrinsicsTest.java用例报OOM。extended版本运行正常
standard版本:
extended版本:
UnsafeIntrinsicsTest.java.txt
Steps to Reproduce
javac --add-exports java.base/jdk.internal.misc=ALL-UNNAMED UnsafeIntrinsicsTest.java && java -Xmx256M -XX:+UnlockExperimentalVMOptions -XX:+UseZGC --add-modules java.base --add-exports java.base/jdk.internal.misc=ALL-UNNAMED --add-opens java.base/jdk.internal.misc=ALL-UNNAMED UnsafeIntrinsicsTest
Execution environment
ESC实例IP:47.98.39.147
The text was updated successfully, but these errors were encountered: