JDK-8320877 : Shenandoah: Remove ShenandoahUnloadClassesFrequency support
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 17,21,22
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-11-28
  • Updated: 2024-01-16
  • Resolved: 2023-11-29
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.3Fixed 22 b26Fixed
Related Reports
Relates :  
Relates :  
Description
ShenandoahUnloadClassesFrequency was added long time ago when Shenandoah did not support concurrent class unloading. We kept it in to simplify backports. At this point, most releases support concurrent class unloading, and there is no reason to keep the flag in. The default is "1" since JDK-8228720.
Comments
[jdk21u-fix-request] Approval Request from Aleksey Shipilëv Clean backport to improve Shenandoah maintainability and keep codebases in sync. Fix is contained in Shenandoah, eliminates unnecessary tunable. Risk is low.
09-01-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk17u-dev/pull/2115 Date: 2024-01-09 11:49:53 +0000
09-01-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk21u-dev/pull/147 Date: 2024-01-09 11:45:05 +0000
09-01-2024

Changeset: b65ccff3 Author: Aleksey Shipilev <shade@openjdk.org> Date: 2023-11-29 17:25:40 +0000 URL: https://git.openjdk.org/jdk/commit/b65ccff357e2e294b027f693ceb3d25410236a6b
29-11-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/16847 Date: 2023-11-28 12:05:16 +0000
28-11-2023