JDK-8317240 : Promptly free OopMapEntry after fail to insert the entry to OopMapCache
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 17,21,22
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-09-28
  • Updated: 2024-06-04
  • Resolved: 2023-10-05
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 22
21.0.5Fixed 22 b19Fixed
Related Reports
Relates :  
Description
In OopMapCache::lookup(), after fail to insert newly created OopMapEntry to the cache, the new entry can be free immediately, because it is not published, not accessible by other thread.
Comments
A pull request was submitted for review. URL: https://git.openjdk.org/jdk21u-dev/pull/655 Date: 2024-06-03 10:53:10 +0000
03-06-2024

[jdk21u-fix-request] Approval Request from Aleksey Shipilëv Improves OopMapCache performance, important for JDK-8331572 backport. Applies cleanly. All tests pass. Risk is on lower side: the change is simple, and there is no bug tail since original integration 8 months ago.
03-06-2024

Changeset: a8eacb31 Author: Zhengyu Gu <zgu@openjdk.org> Date: 2023-10-05 13:41:11 +0000 URL: https://git.openjdk.org/jdk/commit/a8eacb31ab8466f50a939d6748dbdd1560516878
05-10-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/15963 Date: 2023-09-28 12:27:52 +0000
28-09-2023