JDK-8330849 : Add test to verify memory usage with recursive locking
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version:
    21,22,23,repo-lilliput-17,repo-lilliput-21 21,22,23,repo-lilliput-17,repo-lilliput-21
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-04-22
  • Updated: 2024-08-24
  • Resolved: 2024-04-24
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 21 JDK 23
21.0.5Fixed 23 b20Fixed
Related Reports
Relates :  
Description
Before recursive support has been added to lightweight locking, using recursive locking patterns would inflate lightweight locks to full monitors. In some scenarios (when churning lots of recursively locked objects), this could lead to excessive native memory usage. I'd like to add a test that verifies that this does not happen.
Comments
[jdk21u-fix-request] Approval Request from Elif Aslan Clean backport to add test to verify memory usage with recursive locking. GHA tested
18-06-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk21u-dev/pull/747 Date: 2024-06-18 18:06:22 +0000
18-06-2024

Moving from hotspot/test -> hotspot/runtime. We only use hotspot/test for test infrastructure like issues. Tests for functionality belong to the appropriate sub-team component.
14-05-2024

A pull request was submitted for review. URL: https://git.openjdk.org/lilliput-jdk21u/pull/32 Date: 2024-04-30 16:27:04 +0000
30-04-2024

Changeset: 7b2560b4 Author: Roman Kennke <rkennke@openjdk.org> Date: 2024-04-24 18:56:47 +0000 URL: https://git.openjdk.org/jdk/commit/7b2560b4904d80629d3f4f25c65d9b96eee9bdb6
24-04-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/18899 Date: 2024-04-22 18:33:11 +0000
22-04-2024