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.

To download the current JDK release, click here.
JDK 11 JDK 13 JDK 14
11.0.7-oracleFixed 13.0.4Fixed 14 b18Fixed
Related Reports
Relates :  
Description
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
03-01-2020

URL: https://hg.openjdk.java.net/jdk/jdk/rev/17a34e111667 User: pliden Date: 2019-10-09 18:15:41 +0000
09-10-2019

Per LIden, from GC team, is fixing this.
09-10-2019

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...
09-10-2019