JDK-8232056 : GetOwnedMonitorInfoWithEATest.java fails with ZGC: Heap too small
Type:Bug
Component:hotspot
Sub-Component:jvmti
Affected Version:14
Priority:P2
Status:Resolved
Resolution:Fixed
Submitted:2019-10-09
Updated:2022-06-27
Resolved:2019-10-09
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
The newly added:
GetOwnedMonitorInfoWithEATest.java
GetOwnedMonitorStackDepthInfoWithEATest.java
fail when run with ZGC as they set -Xms/-Xmx to 32M which is too small for ZGC.
Comments
Fix request (13u)
I'd like to backport it to 13u: at this moment, patch applies cleanly.
05-06-2020
Fix request (11u)
I would like to downport this for parity with 11.0.7-oracle. Applies clean on top of 8230677
Moving from hotspot/svc -> hotspot/jvmti. These two tests are
for JVM/TI. Although one could argue that this belongs in either
hotspot/gc because of ZGC or hotspot/compiler since that's
where the tests were introduced... So many choices...